Whispers88
Allows players with permission to become truly invisible

Supported Games

Vanish allows players with permission to become completely invisible. Players, turrets, helicopters, NPCs, etc. will not be able to see, hear, or touch you!

Note: While vanished, you can hear players but they will be unable to hear you. You are invisible to them and essentially do not exist to them. Even if they walk right through you they DO NOT know of your existence. With the exception of you making sounds such as shooting a gun, they will hear the bullet - hit effect.

Permissions

  • vanish.allow -- Required to go invisible
  • vanish.unlock -- Allows an invisible playe to unlock all locks
  • vanish.damage -- Allows an invisible player to damage other entities. Requires "Use OnEntityTakeDamage hook" config option to be set to true.
  • vanish.permanent -- Permanently forces a player to be vanished

Commands

This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash: /.

  • vanish -- Toggle invisibility on/off for self

Configuration

{
  "NoClip on Vanish (runs noclip command)": true,
  "Use OnEntityTakeDamage hook (Set to true to enable use of vanish.damage perm. Set to false for better performance)": false,
  "Use CanUseLockedEntity hook (Allows vanished players with the perm vanish.unlock to bypass locks. Set to false for better performance)": true,
  "Hide an invisible players body under the terrain after disconnect": false,
  "If a player was vanished on disconnection keep them vanished on reconnect": true,
  "Turn off fly hack detection for players in vanish": true,
  "Disable metabolism in vanish": true,
  "Reset hydration and health on un-vanishing (resets to pre-vanished state)": true,
  "Enable vanishing and reappearing sound effects": true,
  "Make sound effects public": false,
  "Enable chat notifications": true,
  "Sound effect to use when vanishing": "assets/prefabs/npc/patrol helicopter/effects/rocket_fire.prefab",
  "Sound effect to use when reappearing": "assets/prefabs/npc/patrol helicopter/effects/rocket_fire.prefab",
  "Enable GUI": true,
  "Icon URL (.png or .jpg)": "http://i.imgur.com/Gr5G3YI.png",
  "Image Color": "1 1 1 0.3",
  "Image AnchorMin": "0.175 0.017",
  "Image AnchorMax": "0.22 0.08"
}

Localization

For Developers

API

void Disappear(BasePlayer player)
void Reappear(BasePlayer player)
bool IsInvisible(BasePlayer player)

Hooks

void OnVanishReappear(BasePlayer player)
void OnVanishDisappear(BasePlayer player)

Credits

  • Wulf, the original author of this plugin
  • Nogrod, for all the help along the way. Cheers!
  • Jake_Rich and nivex, for helping maintain the plugin
  • dcode, for the awesome icon

MIT License


Copyright (c) 2019 Wulf


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.