Name | Invisible Trait |
Description | The invisible trait will allow a NPC to remain invisible, even after a server restart.
It permanently applies the invisible potion effect. Use '/npc invisible' or the 'invisible' script command to toggle this trait. Note that player-type NPCs must have '/npc playerlist' toggled to be turned invisible. Once invisible, the player-type NPCs can be taken off the playerlist. This only applies specifically to player-type NPCs. Playerlist will be enabled automatically if not set in advance, but not automatically removed. |
Group | NPC Traits |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/npc/traits/InvisibleTrait.java#L20 |