Advertisement
arthurmaker

UltimateCommands - Custom Commands Example

Nov 13th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.83 KB | None | 0 0
  1. {
  2.     "customCmd": "It sends a one-line message to this player.",
  3.     "infoMsg": [
  4.         "This is a multiple-line message.",
  5.         "&aYou &2can &6also &euse &7colors &rand",
  6.         "placeholders. Hello, %player%! :D"
  7.     ],
  8.     "advancedCmd": {
  9.         "sendMessage": "&7You can create &aadvanced custom commands&7 with UltimateCommands.",
  10.         "execute": "/infoMsg"
  11.     },
  12.     "advancedCmd %args1% %args2%": {
  13.         "sendMessage": [
  14.             "&7You can create &aadvanced custom commands&7 with UltimateCommands.",
  15.             "&7And you can use arguments with your command as well: &r%args1%, %args2%"
  16.         ],
  17.         "execute": "/infoMsg",
  18.         "usage": "/%label% <arg1> <arg2>",
  19.         "permission": "ultimatecommands.custom.advancedcmd",
  20.         "allArguments": false,
  21.         "executeFirst": true
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement