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...
NameClientRun
Syntaxclientrun [<script>] (path:<name>) (def.<name>:<value>) (defmap:<map>)
Short DescriptionRuns a client script on a Clientizen client.
Full DescriptionRuns a client script on the linked player's client, if they are using Clientizen.

You must specify a client script name to run.

Optionally, use the "path:" argument to choose a specific sub-path within a script.

Optionally, use "def.<name>:<value>" to pass one or more definitions to the client.
Alternately, use "defmap:<map>" to specify definitions to pass as a MapTag, where the keys will be definition names and the values will of course be definition values.
Related TagsNone
Usage Example
# Use to run a task script named 'MyTask' on the linked player's client.
- clientrun MyTask
Usage Example
# Use to run the sub-script under 'sub_path' in a task script named 'MyTask' on the linked player's client.
- clientrun MyTask path:sub_path
Usage Example
# Use to run 'MyTask' on the linked player's client and pass 2 definitions to it.
- clientrun MyTask def.amount:42 def.location:<server.flag[spawn_location]>
Usage Example
# Use to run 'MyTask' on a specific Clientizen player's client.
- clientrun MyTask player:<[clientizenPlayer]>
GroupDepenizen
RequiresDepenizen, Clientizen
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/clientizen/commands/ClientRunCommand.java#L24