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 183 commands...
NamePause
Syntaxpause [waypoints/activity] (<duration>)
Short DescriptionPauses an NPC's waypoint navigation or goal activity temporarily or indefinitely.
Full DescriptionThe pause command pauses an NPC's waypoint navigation or goal activity temporarily or indefinitely.
This works along side Command:resume.

"Waypoints" refers to the NPC's path navigation, usually set via "/npc path".

"Activity" refers to the Citizens AI Goal system, which may be used by some plugins but usually is not.

If no duration is specified, the resume command must be used to unpause it.
Related Tags<NPCTag.is_navigating> Returns whether the NPC is currently navigating.
Usage Example
#Use to pause an NPC's waypoint navigation indefinitely.
- pause waypoints
Usage Example
#Use to pause an NPC's goal activity temporarily.
- pause activity 1m
Usage Example
#Use to pause an NPC's waypoint navigation and then resume it.
- pause waypoints
- resume waypoints
Groupnpc
RequiresCitizens
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/PauseCommand.java#L35