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 184 commands...
NameSit
Syntaxsit (<location>)
Short DescriptionCauses the NPC to sit. To make them stand, see Command:Stand.
Full DescriptionMakes the linked NPC sit at the specified location.
Use Command:Stand to make the NPC stand up again.
Related Tags<NPCTag.is_sitting> Returns true if the NPC is sitting. Relates to Command:sit.
Usage Example
# Make the linked NPC sit at the player's cursor location.
- sit <player.cursor_on>
Groupnpc
RequiresCitizens
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/SitCommand.java#L23