Staff Mode
Staff mode is one of the biggest features in Staff+ & Staff++. It allows a staff member to enter a mode in which he gets extra privileges so that he/she can go patrolling around. Staff++ introduced the option of multiple staff modes.
Permissions
View permissions page
Commands
Command | Description | Example |
| Turns on/off Staff mode for the current user.
If the user has the specific permission, the parameter |
|
| Turn on/off flight. Only available if the current mode has set flight to true. |
|
All staff modes are configured inside theconfiguration/staffmode/modes.yml
config file.
Basic configuration
The part below contains the basic settings for the staff mode. Be default there is only one staff mode called "default". You're allowed to change this mode but you can not delete it. All other staff modes that you might configure extend from the default mode.
Enable/Disable commands
Moved to Command hooks
Mode Options
option | type | description |
permission | String | Which permission is needed to enable the staff mode. This is mandatory except for the |
weight | int | Determines which priority a staff mode gets during mode calculation. The higher the weight the higher the priority. This is mandatory except for the Configure this to |
damage | boolean | Can the player damage other entities while in staff mode |
invincible | boolean | Can the player take damage while in staff mode |
block-manipulation | boolean | Can the player place/break blocks while in staff mode |
item-drop | boolean | Allow dropping items |
item-pickup | boolean | Allow picking up items |
hunger-loss | boolean | Will hunger be enabled while in staff mode |
vanish-type | TOTAL|LIST|NONE | The vanish type to enable when entering staff mode |
staff-see-staff-in-mode | boolean | Can staff members see other staff members while in vanish |
enable-commands | List | A list of commands that will be executed when the player enters staff mode |
disable-commands | List | A list of commands that will be executed when the player exits staff mode |
enable-on-login | boolean | Enable this staff mode automatically when the player logs in |
disable-on-logout | boolean | Disable this staff mode automatically when the player logs out |
disable-on-world-change | boolean | Should staff mode disable automatically when the staff members switches worlds. Keep in mind that if a staff members switches to a world in which his staff mode is not allowed, it will also be disabled automatically. |
creative | boolean | Give the player creative mode while in staff mode |
night-vision | boolean | Gives the player night vision while in staff mode |
flight | boolean | Give the player flight while in staff mode. |
inventory-interaction | boolean | Whether or not a player is allowed to interact with their inventory while in staff mode. |
silent-chest-interaction | boolean | Is the player allowed to open ches |
original-location | boolean | When enabled the staff members will be teleported to his original location where he entered staff mode, when exiting staff mode. |
GUI | List | All staff-modules which should be included in the staff mode gui. |
allowed-worlds | List | This is optional. If you don't define it inside the default config and don't overwrite it in any of the underlying modes, all worlds will be enabled. If defined this staff mode can only be used in the defined worlds |
Last updated