The Vanish command hides players from everyone who lacks the moderate permission and shows them again: /vanish on <target> and /vanish off <target>. Both need the vanish permission.

Summary

Subcommands

Shows the targeted players to everyone again.
Hides the targeted players from everyone without the 'moderate' permission.

Subcommands

off:on_run(actor, targets)

shared plugins/admin/plugin/commands/sh_vanish.lua:51

Shows the targeted players to everyone again.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • targets List<Player> players to show

on:on_run(actor, targets)

shared plugins/admin/plugin/commands/sh_vanish.lua:37

Hides the targeted players from everyone without the 'moderate' permission.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • targets List<Player> players to hide

Defined in