Commands
On this page(5)
The main command is /staff. Aliases of every root are set in config.yml, and the table names the config key. All roots take their bare name and aliases from other plugins through SnLib command priority.
/vanish, /sc, /ac, /freeze, /fc, /invsee and /follow exist only while their module is enabled. A disabled module never takes the command name from EssentialsX or another plugin, and the roots appear or disappear on /staff reload.
Player commands
| Command | Permission | Description |
|---|---|---|
/staff | snstaff.staffmode | Toggle staff mode. It is refused while you are frozen or when the items on your cursor or in the crafting grid have no room. Everyone else sees the help menu. Aliases: command.aliases. |
/staff help | - | Help menu, provided by SnLib. |
/staff stats [staff] [total|week|month] | snstaff.stats (own), snstaff.admin.stats (others) | Logins, playtime, active time, messages and commands. |
/vanish | snstaff.vanish | Toggle vanish. It is always SnStaff's own. Aliases: vanish.aliases (default none). |
/sc [message] | snstaff.staffchat | Staff chat. With no message it toggles the channel mode. Aliases: staff-chat.aliases. |
/ac [message] | snstaff.adminchat | Admin chat. With no message it toggles the channel mode. Aliases: admin-chat.aliases. |
/freeze <player> | snstaff.freeze | Freeze a player, or unfreeze them when they are already frozen. Aliases: freeze.aliases. |
/fc | snstaff.freeze | Toggle talk mode of your freeze chat. Aliases: freeze.chat-aliases. |
/fc <player> [message] | snstaff.freeze | Join the freeze chat of a frozen player. With a message it sends once, without one it turns talk mode on. |
/fc <message> | snstaff.freeze | Send a message to your freeze chat when you are in exactly one room. |
/invsee <player> | snstaff.invsee | Read-only live view of a player's inventory. It is always SnStaff's own. Aliases: invsee.aliases. |
/follow [player] | snstaff.follow | Spectate a player. With no player it stops the follow. Aliases: follow.aliases. |
Admin commands
| Command | Permission | Description |
|---|---|---|
/staff reload | snstaff.admin.reload | Reload configuration, lang, GUIs and items. |
/staff debug | snstaff.admin.debug | Toggle runtime debug output. |
/staff admin logs <staff> [page] | snstaff.admin.logs | Paged action log with hover details and clickable previous and next. |
/staff admin rank add <player> | snstaff.admin.rank | Register a player at the lowest staff rank. |
/staff admin rank promote <player> | snstaff.admin.rank | Move a staff member one rank up. |
/staff admin rank demote <player> | snstaff.admin.rank | Move a staff member one rank down. |
/staff admin rank remove <player> | snstaff.admin.rank | Take a player out of staff. |
/staff admin rank set <player> <rank> | snstaff.admin.rank | Set the rank to one of ranks.order. |
/staff admin rank list | snstaff.admin.rank | List the registered staff. |
/staff admin pin reset <player> | snstaff.admin.pin | Delete a staff PIN and its sessions. Required for a PIN that contains a 0. |
/staff admin sync [player] | snstaff.admin.sync | Re-apply the staff ranks to LuckPerms, for one player or everyone. |
Follow notes
/follow <player>needssnstaff.follow, a child ofsnstaff.admin. Give it to your staff ranks if they are not admins.- In staff mode it does the same as the follow tool. Outside staff mode you switch to spectator.
- Outside staff mode, when the follow ends you return to your gamemode and location. A bare
/followstops it. /follow <other>while following switches the target and keeps your first return point.
Freeze chat notes
- Every freeze has a chat room. The staff member who froze is in it and starts with talk mode on.
- While talk mode is on, everything you type in chat goes to the frozen player. The
#and@staff and admin chat prefixes still reach their own chat. - A bare
/fctoggles talk mode./fc <player>joins that room with talk mode on./fc <player> <message>joins and sends once. /fc <message>sends to your room when you are in exactly one.- Only members of a room talk. With no members, the frozen player's chat goes to the local holders of
snstaff.freeze. - Holders of
snstaff.freeze.spysee every freeze chat of the network.
Chat notes
- Only one chat channel mode is active at a time. Turning
/acon switches the/scmode off. Freeze chat talk mode wins over both. - SnLib reserves
help,reloadanddebugas the first word of/sc,/acand/fc. To send a message that starts with one of them, use/sc send help meor/fc send help me. - The prefix shortcut (
staff-chat.prefix, default#, andadmin-chat.prefix, default@) sends a chat line to the channel. An empty prefix disables it.
These commands are destructive and cannot be undone: /staff admin rank remove and /staff admin pin reset.