FAQ
On this page(43)
How do I update SnStaff?
Download the newer release from SnDevelopment and replace the jar. Configs auto-merge on restart, so your edits stay. New keys are added but old values are kept, so check the upgrade notes for the values to edit by hand.
Does it support Folia?
No, SnStaff is not Folia-compatible. It targets Paper 1.20.4 and newer, including 1.21.x.
Do I need a proxy plugin?
No. SnStaff is backend-only. Put every backend on the same MySQL database and the network features work. With SQLite everything runs locally on one server.
Do I need LuckPerms?
No. The ranks module is optional and ships disabled (ranks.enabled: false), so a fresh install never touches LuckPerms groups. Turn it on and fill ranks.order when you want SnStaff to manage staff groups.
Why did a staff member's picked-up item vanish when they left staff mode?
Leaving staff mode overwrites the inventory from the saved snapshot. Items picked up or taken from a real container while in staff mode are lost. Keep staff-mode.protections.block-item-pickup and silent-containers on to avoid it. Turning either off is an explicit opt-out.
With staff-mode.return-to-start, leaving staff mode by quitting or by a server restart still sends you back to the entry point: the point is stored on your player data and applied at your next join (1.8.1+).
Can I use it with per-world inventory plugins?
No. Multiverse-Inventories, PerWorldInventory and inventory-sync plugins conflict with the per-server staff mode backups.
A staff member forgot their PIN. What now?
Run /staff admin pin reset <player>. If they are online they set a new PIN at once. A PIN that contains a 0 must be reset the same way, because the keypad has only the digits 1 to 9.
The PIN keypad closes or ignores clicks
Update to 1.6.0. Before it, a locked player who was falling or being pushed was moved back on every movement, and that teleport closed the keypad, so clicks were lost. Since 1.6.0 movement is only blocked while the keypad is not on screen.
How do I stop logging a command's arguments?
Add the command to logs.sensitive-commands. Its arguments are masked before anything is stored, so the database, the in-game viewer and Discord never see them.
How do I stop logging a specific staff member or rank?
List the player (name or UUID) in logs.excluded-players, or their staff rank in logs.excluded-ranks. Their actions are neither stored nor sent to Discord from then on; entries already stored are kept. The rank is the registered staff rank, or the LuckPerms primary group when the ranks module has none.
Why does a duplicated server id matter?
Staff mode backups and presence are keyed on network.server-id. Never copy data/server-id.yml to another backend. Give every backend its own network.server-id.
How do I change the Active / Inactive wording of the placeholders?
In lang/messages_en.yml, under the status: section. The same words are used wherever a state is shown.
Does the inventory rollback replace InventoryRollbackPlus?
Yes. /rollback keeps the IRP names as aliases (rollback.aliases) and the menus follow the same flow, so remove InventoryRollbackPlus. The enable, disable, version and import subcommands were not ported: use rollback.enabled and /staff reload. Old IRP backups are not imported.
When is a player backed up?
On join, quit, death and world change, on /rollback forcebackup, and right before a staff member overwrites an inventory or ender chest (the "Before a rollback" undo point). Negate snstaff.rollback.save.<join|quit|death|world-change> to exclude a player. Players in staff mode or following someone are never backed up.
Why can I not restore a backup?
A restore needs the player online on this server, out of staff mode and alive, and a backup taken on this server. Backups of other servers are read-only. You also need snstaff.rollback.restore.
How do I keep the rollback table small?
Set rollback.max-saves.<type> to keep the newest N backups per player, server and type, and rollback.retention-days to delete old backups once a day. 0 keeps everything.
Where do I see what staff restored?
Every restore, teleport, export and item take is written to the staff log (Rollback type). Set rollback.webhook.url and rollback.webhook.enabled: true to also post it to Discord with an HTML file that recreates the inventory.
Does it work with EssentialsX?
SnStaff can run next to EssentialsX, which only decides the load order. /vanish and /invsee are SnStaff's own, with snstaff.vanish and snstaff.invsee. The one hand-over: a player without snstaff.invsee who holds essentials.invsee is let through to the EssentialsX /invsee (invsee.hand-off in config.yml).
Why does /v not work?
vanish.aliases is empty by default, so /v stays with EssentialsX when it is installed. Add v to vanish.aliases to use it for SnStaff, then run /staff reload.
Where did /unfreeze go?
/freeze <player> toggles. It freezes the player, or unfreezes them when they are already frozen. The freeze tool does the same.
How do I talk to a frozen player?
The staff member who froze is in the freeze chat with talk mode on, so everything they type goes to the player. A bare /fc toggles talk mode. Other staff join with /fc <player>.
Why can't I enter staff mode?
You are refused while frozen, or while the items on your cursor or in the crafting grid have no room in your inventory. Free some slots, then run /staff again.
Can staff in staff mode break or place things?
No. Staff mode blocks damage, PvP, block breaking and every placement (blocks, item frames, paintings, armor stands, boats and minecarts). PvP is controlled by staff-mode.protections.block-pvp.
Does SnStaff take /tp away from Essentials?
No. SnStaff registers no /tp command. Only a /tp <player> typed in staff mode by a holder of snstaff.staffmode.tp is handled by SnStaff; every other case (outside staff mode, no permission, /tp <a> <b>, coordinates) reaches Essentials or vanilla as before (1.10.0+). Toggle it with staff-mode.teleport.enabled. While you are in staff mode, /tp and the bare /fly are added to your command list, so /tp is not shown red and tab-completes the players you can see, even without the Essentials permission (1.12.1+).
Vanished staff show as a plain white name to other staff
Update to 1.12.1+: snstaff.vanish.see grants TAB's tab.seevanished, which TAB requires before it formats a vanished player. On older versions, give tab.seevanished to the staff groups.
Can staff turn off the staff mode flight?
Yes. A holder of snstaff.staffmode.fly who types a bare /fly in staff mode turns the staff mode flight off, and back on with the next /fly, until they leave staff mode (1.11.0+). SnStaff registers no /fly command: outside staff mode, without the permission, or with /fly <player> the command reaches Essentials as before. Toggle it with staff-mode.fly.enabled.
Do staff keep flying after leaving staff mode?
No. Leaving staff mode in SURVIVAL or ADVENTURE always removes flight, even an Essentials /fly that was on at entry (1.11.0+). Set staff-mode.restore-flight: true to give that saved flight back. Before 1.11.0, freezing a staff member in staff mode could leak the staff mode flight out of it; staff who still have it lose it at their next staff mode exit.
How do I block commands in staff mode?
List them in staff-mode.command-filter.commands with mode: BLACKLIST, or use mode: WHITELIST to allow only the listed ones. Aliases are covered (gamemode also blocks /gmc), /staff always runs so nobody gets stuck, and snstaff.staffmode.bypass-commands skips the filter (1.10.0+).
How do I show the LuckPerms prefix in staff chat?
Use {rank-prefix} in messages.staff-chat.format (and messages.admin-chat.format), for example {rank-prefix}&f{player}. It is the sender's LuckPerms prefix with its colors, resolved on the server where the line is read: that server's prefix of the group that gives the sender their prefix. So a resource-pack glyph prefix (for example <rank_founder>) shows as the glyph on servers with the pack and as that server's own prefix elsewhere, as long as the group exists on every server. {rank} is the plain staff group name.
Who gets the staff notices?
Staff with snstaff.notify.see are told when staff join, switch or leave. Staff with snstaff.staffmode (the /staff permission) or snstaff.notify.see are told when staff enter or leave staff mode, and who froze or unfroze whom, even though entering staff mode vanishes you. Each type has a toggle under notify. Only an explicit snstaff.notify.hidden grant or a rank in notify.hidden-ranks keeps someone out; a * wildcard does not. Notices about a vanished staff member reach only holders of snstaff.vanish.see by default; set notify.vanished-only-to-seers: false (1.8.0+) to show them to every notice receiver.
My nametag shows without its rank for a moment after unvanishing
That is TAB: it checks the vanish state about once a second and puts your nametag team (the prefix) back on its next check. EssentialsX vanish shows the same brief frame. It fixes itself within a second.
Vanish misbehaves: a body without a TAB entry, or invisible after unvanish
Vanish relies on the Bukkit visibility API (hidePlayer/showPlayer), like every vanish plugin. On UniverseSpigot set disableBukkitVanishAPI: false in universespigot.yml (SnStaff warns at startup when it is true). Its asynchronous tracker and packet-sending options can also break visibility for any vanish plugin; turn them off if the problem stays.
How do I spectate a player?
Run /follow <player> (needs snstaff.follow). Outside staff mode you return to your gamemode and location when it ends. A bare /follow stops it.
What is the difference between a linked rank and a staff rank?
A staff rank is in ranks.order, belongs to staff, and carries the PIN gate and staff logging. A linked rank is a non-staff global LuckPerms group listed in ranks.linked (for example okiplus, media or famoso). Both are stored in the shared database and synced to LuckPerms on every backend, but a linked rank never counts as staff. Never list a group of ranks.order in ranks.linked: it is ignored there with a warning.
How do I give a donor or media rank on every server?
List the LuckPerms group in ranks.linked, run /staff reload, then use /staff admin link add <player> <rank> [duration|permanent]. Durations look like 30d, 12h or 1w2d, and the default is permanent. The rank is applied at join, over the network bus and by the safety sync. A temporary rank is removed when it expires.
A linked rank I removed in LuckPerms came back. Why?
The database is the source of truth. SnStaff re-applies the stored linked ranks, and with ranks.luckperms-protection on it reverts an /lp change to a linked group and alerts snstaff.admin.rank and snstaff.admin.link holders. Use /staff admin link remove <player> <rank> instead. Another plugin can read the table snstaff_linked_ranks (uuid, rank_name, expires_at where 0 is permanent, updated_at, updated_by).
How does /helpop or /report reach staff on other servers?
Every request is stored in the shared database and delivered over the same bus as the staff chat. Each backend shows the notice to its online holders of snstaff.helpop.see or snstaff.report.see whose staff PIN is unlocked, with the label of the server it came from. It needs every backend on the same MySQL database. With SQLite only the staff of that one server see it.
Why can a player not use /helpop or /report again right away?
Each command has a cooldown (reports.helpop.cooldown-seconds and reports.report.cooldown-seconds, default 300). It is counted from the database, so switching server or restarting does not reset it. Holders of snstaff.reports.bypass-cooldown skip it, and 0 turns it off.
Does /helpop replace the SnStaffLink proxy plugin commands?
Yes. SnStaff handles /helpop and /report on every backend, so remove those commands from the proxy plugin. Discord is posted once, from the server where the command ran, and only when the matching webhook under reports.webhooks is enabled with a URL.
How do I turn on the account protection safely?
First add yourself and every trusted operator under security.protected-users, with your UUID and allow-op: true. Use the UUID your server uses for you. Then set security.enabled: true and run /staff reload. While protected-users is empty the protection stays inactive and logs a warning. Any operator you did not list loses op.
Why was a player punished for a permission they only get through a wildcard?
They were not: blacklisted permissions are compared literally. essentials.* matches only a granted essentials.* node, not essentials.fly, and * matches only a granted *. A protected player is never checked for permissions.
Why does lp user {player} clear only clean one server?
LuckPerms with a local database (H2 or SQLite) keeps each server's data apart. The punishment runs as the console on the server where the detection happened. Your ban plugin decides whether the ban covers the network.
The IP lock refuses me behind my proxy. Why?
The backend must see your real address. Use Velocity modern forwarding or BungeeCord IP forwarding. Otherwise every player appears with the proxy address and allowed-ips never matches.