aliases : - myalias - mycommand # The permission node to check for permissions plugins. # | Some command scripts might have this key, but it's optional. ![]() These will be used as alternative ways to trigger the command, and will show in the '/help' command. # | All command scripts MUST have this key! usage : /mycmd myArg1 # A list of aliases for the command. # This is NOT the name of the command, and it is NOT used to control input parsing. # | All command scripts MUST have this key! description : My command. # Multiple lines are acceptable, via (the tag for a new line), but you should # make the first line a brief summary of what your command does. This will be shown in the '/help' command. # | All command scripts MUST have this key! name : mycmd # The description of the command. This will be the default method for running the command, and will show in '/help'. Command_Script_Name : type : command # The name of the command. # The name of the script doesn't matter, and will not affect the command in any way. These two options should almost always show the same name.Ĭommand scripts can be automatically disabled by adding "enabled: false" as a root key (supports any load-time-parseable tags). Please note that 'name:' is the true name of the command (written by users),Īnd 'usage:' is for documentation in the '/help' command. Strongly recommended that you simply not include them at all. If you are not intentionally setting a specific value for the other keys, it is The required keys are 'name:', 'description:', 'usage:', and 'script:'Īll other keys can be excluded if unneeded. The following is the format for the container. If you want to run a script at the same time as an existing command, see Event: on command. Note that existing names or aliases from other plugins will be overridden. This also allows the command to show up in the '/help' command, with some info on the command. NameĬommand script containers allow you to register your own custom commands to the server. Showing 1 out of 78 language explanations. ![]() Language Explanations explain components of Denizen in a more direct and technical way than The Beginner's Guide.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |