Staff++
Search…
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

permission
Description
staff.mode
Allow usage of the /staff command. And entering staff mode in general
staff.mode.specific
Allow usage of the -mode= parameter of the /staff command.
This allows you to switch to any staff mode.
staff.mode.silent-chest-interaction
Allow entering chest silently while in staff mode, if enabled.

Commands

Command
Description
Example
staff
Turns on/off Staff mode for the current user. If the user has the specific permission, the parameter -mode= can be used
/staff /staff -mode=Helper
sfly
Turn on/off flight. Only available if the current mode has set flight to true.
/sfly
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.
1
modes:
2
default:
3
block-manipulation: false
4
inventory-interaction: true
5
silent-chest-interaction: false
6
item-drop: false
7
item-pickup: false
8
vanish-type: TOTAL
9
invincible: true
10
damage: false
11
hunger-loss: false
12
flight: true
13
creative: false
14
night-vision: false
15
original-location: false
16
enable-on-login: false
17
disable-on-logout: false
18
enable-commands:
19
- command: 'example1 %player%'
20
- command: 'example2 %player%'
21
disable-commands:
22
- command: 'example1 %player%'
23
- command: 'example2 %player%'
24
disable-on-world-change: false
25
gui:
26
- compass-module:1
27
- random-teleport-module:2
28
- vanish-module:3
29
- gui-module:4
30
- counter-module:5
31
- freeze-module:6
32
- cps-module:7
33
- examine-module:8
34
- follow-module:9
Copied!

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 default mode.
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 default mode.
Configure this to -1 to exclude this mode from mode calculation.
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 modified 18d ago