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...
NameReload
Syntaxreload ({scripts}/scripts_now/config/saves/notes)
Short DescriptionReloads all Denizen scripts. Primarily for use as an in-game command.
Full DescriptionReloads all Denizen scripts.
Primarily for use as an in-game command, like "/ex reload".

By default, reloads scripts in a way that may delay a few ticks to avoid interrupting the server on large reloads.

Optionally, specify "scripts_now" to force a locked reload (server freezes until reloaded).

You can specify "config", "saves", or "notes" to reload that data instead of scripts.

When using 'scripts' (default), the reload command is ~waitable. Refer to Language:~waitable.
Related TagsNone
Usage Example
# Use to reload scripts automatically
- reload
Groupcore
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/core/ReloadCommand.java#L25