Commands
On this page(8)
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, /follow, /rollback, /helpop and /report 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 (default staffchat). |
/ac [message] | snstaff.adminchat | Admin chat. With no message it toggles the channel mode. Aliases: admin-chat.aliases (default adminchat). |
/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. A player without snstaff.invsee who holds essentials.invsee gets the EssentialsX invsee instead (invsee.hand-off); a bare /invsee with no name gets SnStaff's usage line (1.12.2+). Aliases: invsee.aliases. |
/follow [player] | snstaff.follow | Spectate a player. With no player it stops the follow. Aliases: follow.aliases. |
/helpop <message> | snstaff.helpop (default true) | Ask the staff of the whole network for help. Aliases: reports.helpop.aliases. |
/report <player> <reason> | snstaff.report (default true) | Report a player to the staff of the whole network. Aliases: reports.report.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 link add <player> <rank> [duration|permanent] | snstaff.admin.link | Link a rank of ranks.linked to a player. Durations look like 30d, 12h or 1w2d. It is permanent by default, and adding again replaces the expiry. |
/staff admin link remove <player> <rank> | snstaff.admin.link | Unlink a linked rank from a player. Tab suggests only the players who hold a linked rank. |
/staff admin link list [rank|player] | snstaff.admin.link | List every linked rank, the holders of one rank, or one player's ranks, with the remaining time. Tab suggests the linked ranks. |
/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 and linked ranks to LuckPerms, for one player or everyone. |
/rollback | snstaff.rollback.view | Open the online players menu of the inventory rollback. Aliases: rollback.aliases (default ir, inventoryrollback). |
/rollback restore [player] | snstaff.rollback.view | Open the backups of a player, by name or UUID. Any player ever seen works. With no player it opens the online players menu. |
/rollback forcebackup all | snstaff.rollback.forcebackup | Back up every online player now. |
/rollback forcebackup player <name> | snstaff.rollback.forcebackup | Back up one online player now. |
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.- The target can be anywhere: you are moved next to them and the camera attaches once your client has them loaded.
- A far teleport, a world change or a death and respawn of the target does not end the follow; the camera re-attaches on its own. It ends on sneak, a bare
/follow, the target leaving the server, a teleport of your own away from the target, or when the camera cannot attach withinfollow.attach-timeout-seconds.
Inventory rollback notes
/rollbackreplaces InventoryRollbackPlus and follows the same menu flow. Pick a player, then a backup type (death, join, quit, world change, forced or before a rollback), then a backup, newest first.- A backup stores the inventory, armor, offhand, ender chest, experience, health, hunger and location. Backups are kept in the database, tagged with the server id.
- From a backup you can restore the inventory or the ender chest. Each needs a second click within
rollback.confirm-seconds. This needssnstaff.rollback.restore. - Before an overwrite, the current state is stored as a "Before a rollback" undo point. If that fails, nothing is overwritten.
- You can also restore health, hunger and experience, and teleport to the backup location (
snstaff.rollback.teleport). Exporting the backup as two shulker boxes and taking single items needsnstaff.rollback.take. - A restore needs the player online on this server, out of staff mode and alive. Backups of other servers show under the Servers button and are read-only.
- Players in staff mode or following someone are never backed up. Vanished players are not listed to staff who cannot see them.
- Every action is written to the staff log (
Rollbacktype) and posted to therollback.webhookDiscord webhook with an attached HTML file. Hover an item in that file to see its name, lore, enchantments, durability, custom model data, attributes, plugin data, container contents and raw item data. - Not ported from InventoryRollbackPlus: the
enable,disable,versionandimportsubcommands. Userollback.enabledand/staff reloadinstead. Old IRP backups are not imported.
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.
Help request and report notes
/helpop <message>and/report <player> <reason>are open to everyone by default (snstaff.helpop,snstaff.report). Everything after the command is the text, whatever its first word. These two roots have nohelp,reloadordebugsubcommand.- The notice appears on every server, the origin included, with the label of the server it came from. It goes to online holders of
snstaff.helpop.seeorsnstaff.report.seewhose staff PIN is unlocked. - The text a player types is shown as plain text and never styled. Mentions in it are neutralized, so a report can never ping anyone on Discord.
- You cannot report yourself. The target must be a player the network has seen: online here, registered staff, or any name stored by SnStaff. A vanished player resolves like everyone else, so a report never reveals who is vanished.
- Each command has its own cooldown (
reports.helpop.cooldown-secondsandreports.report.cooldown-seconds, default 300,0off). It is counted across the whole network from the database. Holders ofsnstaff.reports.bypass-cooldownskip it. - Requests are stored in the database and purged after
reports.retention-days(default 30,0keeps them forever).
Linked rank notes
- A linked rank is a non-staff global LuckPerms group listed in
ranks.linked, for example[okiplus, media, famoso]. It is stored in the shared database and synced to every backend. - A linked rank never counts as staff: there is no staff PIN gate and no staff logging. Do not list a group of
ranks.orderthere. - Durations accept the units
s,m,h,dandw, and can be combined (1w2d). A temporary rank becomes a temporary LuckPerms parent and is removed when it expires. - The database is the source of truth. A linked group held in LuckPerms without a stored row is removed. With
ranks.luckperms-protectionon, an/lpchange to a linked group is reverted andsnstaff.admin.rankandsnstaff.admin.linkholders get an alert. A natural expiry is not reverted. - Linked ranks are active only while
ranks.enabledis on. Other LuckPerms groups are never touched.
These commands are destructive and cannot be undone: /staff admin rank remove, /staff admin link remove and /staff admin pin reset.