ATStaffMode

Vanish

Hiding staff from players, and handing vanish over to PremiumVanish or SuperVanish

Vanish hides a staff member from the players on the server so they can watch without being seen.

Who can see a vanished staff member under built in vanish, the config conditions that pick between built in vanish and the PremiumVanish or SuperVanish hook, and the two states of the vanish toolbar item

Using it

CommandAliasPermission
/vanish/vatstaffmode.vanish

The command toggles your vanish state. If you are in staff mode, the vanish item in your toolbar updates to match.

atstaffmode.vanish is checked by the command but is not declared in plugin.yml, so it has no default value. Grant it explicitly in your permissions plugin. Operators still pass the check, because operators pass every permission check.

You can also right click the vanish item in the staff toolbar, see Staff Tools.

Built in vanish

By default the plugin handles vanish itself. When you vanish, you are hidden from every online player who does not hold atstaffmode.use, so other staff can still see you. When you unvanish, you are shown to everyone again.

Handing vanish to another plugin

If you already run PremiumVanish or SuperVanish, you can let that plugin own vanish instead.

use-premium-vanish: true

Two things have to be true for the hook to activate.

The setting is on

use-premium-vanish is set to true in config.yml.

The plugin is installed

Either PremiumVanish or SuperVanish is installed and enabled.

Both conditions are checked once, while the server is starting. Changing the setting needs a full server restart to take effect, a reload is not enough.

When the hook is active you will see this line in the console during startup.

Hooked into PremiumVanish/SuperVanish successfully!

Vanish and staff mode

If the vanish feature is enabled, vanish is switched on automatically when a player enters staff mode, and switched off again when they leave it. See Staff Mode for the feature switches.

The vanish toolbar item

The vanish item is the only tool that changes appearance. After each toggle it is rebuilt from either the enabled or the disabled block under inventory-items.vanish, picking up that block material, name and lore.

Placeholders

PlaceholderReturns
%atstaffmode_vanished%True or False for the viewing player
%atstaffmode_vanished_count%How many online players are currently vanished

See Placeholders for the full list.

On this page