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...
NameDefineMap
Related Guide Pagehttps://guide.denizenscript.com/guides/basics/definitions.html
Syntaxdefinemap [<name>] [<key>:<value> ...]
Short DescriptionCreates a MapTag definition with key/value pairs constructed from the input arguments.
Full DescriptionCreates a MapTag definition with key/value pairs constructed from the input arguments.
Related Tags<[<id>]> to get the value assigned to an ID
Usage Example
# Use to make a MapTag definition with three inputs.
- definemap my_map count:5 type:Taco smell:Tasty
Usage Example
# Use to make a MapTag definition with complex input.
- definemap my_map:
    count: 5
    some_list:
    - a
    - b
    some_submap:
        some_subkey: taco
Groupqueue
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/scripts/commands/queue/DefineMapCommand.java#L26