Denizen Script Commands

Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.

Showing 1 out of 175 commands...
Syntaxvulnerable (state:{true}/false/toggle)
Short DescriptionSets whether an NPC is vulnerable.
Full DescriptionToggles whether an NPC can be hurt or not.
Related Tags<NPCTag.invulnerable> Returns whether the NPC is currently invulnerable. (...)
Usage Example
#Makes an NPC vulnerable.
- vulnerable state:true
Usage Example
#Makes an NPC vulnerable if it is not, and invulnerable if it is.
- vulnerable