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...
NameChunkLoad
Syntaxchunkload ({add}/remove/removeall) [<chunk>|...] (duration:<value>)
Short DescriptionKeeps a chunk actively loaded and allowing activity.
Full DescriptionForces a chunk to load and stay loaded in the world for the duration specified or until removed.
This will not persist over server restarts.
If no duration is specified it defaults to 0 (forever).
While a chunk is loaded all normal activity such as crop growth and npc activity continues,
other than activity that requires a nearby player.
Related Tags<WorldTag.loaded_chunks> Returns a list of all the currently loaded chunks.
<ChunkTag.is_loaded> Returns true if the chunk is currently loaded into memory.
<ChunkTag.force_loaded> Returns whether the chunk is forced to stay loaded at all times.
Usage Example
# Use to load a chunk.
- chunkload <[some_chunk]>
Usage Example
# Use to temporarily load a chunk.
- chunkload <player.location.add[5000,0,0].chunk> duration:5m
Usage Example
# Use to stop loading a chunk.
- chunkload remove <[some_chunk]>
Usage Example
# Use to stop loading all chunks.
- chunkload removeall
Groupworld
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/ChunkLoadCommand.java#L41