Advertisement
Guest User

MyCommand - config.yml (ap1922)

a guest
Jul 15th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.30 KB | None | 0 0
  1. # MyCommand  Commands Config File
  2. # commandsnumber (default 20) it's number of command you want make
  3. # Don't forget the '/' on runcmd line , example command: /myhelp
  4. # type accept = text , runcommand , broadcast-text , runcommand-text , runcommand-broadcast-text , perm-broadcast-text , addpermission , addtimer , runconsole , runcommand-perm-broadcast-text , runcommand-random , runasoperator
  5. # Additional type accept if you use Spoutplugin = spout-text , spout-notification.n" +
  6. # runcommand type example -> If command: /l and runcmd: /list,when you type /l mycommand execute /list
  7. # runcmd support custom argument in game.($arg1,$arg2,$arg3,$arg4,$arg5,$multiargs) Example - runcmd : /time $arg1
  8. # For Delayed command add $delay$ before the command in runcmd Example : - $delay$/list
  9. # Set delay time with delaytimer: 5 (5 = seconds)
  10. # Use the dot . for decimal cost Example = cost : 5.5
  11. # You can use a custom permission node by placing "permission-node:" field in a command,you also can change the permission error message with "permission-error:"
  12. # Custom error-message for invalid args ,put "error-message:" line in a command.
  13. # You can use itemcost : 'ID:AMOUNT' for set a cost with items.
  14. # http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
  15. options:
  16.   commandsnumber: 7
  17. '1':
  18.   command: /back
  19.   type: runcommand
  20.   text:
  21.  - ''
  22.   runcmd:
  23.  - '/return'
  24.   cost: 0
  25.   delaytimer: 5
  26. '2':
  27.   command: /donate
  28.   type: text
  29.   text:
  30.  - '&3Go to &4http://blacknightgaming.tk to donate!'
  31.   runcmd:
  32.  - ''
  33.   cost: 0
  34.   delaytimer: 5
  35. '3':
  36.   command: /players
  37.   type: runcommand
  38.   text:
  39.  - ''
  40.   runcmd:
  41.  - '/list'
  42.   cost: 0
  43.   delaytimer: 5
  44. '4':
  45.   command: /ranking
  46.   type: runcommand-text
  47.   text:
  48.  - '&3To turn stats off, wait 5 seconds.'
  49.   runcmd:
  50.  - '/stats'
  51.   cost: 0
  52.   delaytimer: 5
  53. '5':
  54.   command: /WhereAmI
  55.   type: text
  56.   text:
  57.  - '&3You are in &4Modded Survival &3on the BlackNight Network'
  58.   runcmd:
  59.  - ''
  60.   cost: 0
  61.   delaytimer: 1
  62. '6':
  63.   command: /DontUseThisCommand
  64.   type: runcommand-text
  65.   text:
  66.  - '&3I said not to use it.'
  67.   runcmd:
  68.  - '/kill'
  69.   cost: 0
  70.   delaytimer: 0
  71. '7':
  72.   command: /911
  73.   type: text
  74.   text:
  75.  - '&3Something not working? Sorry! Let us know!
  76.   runcmd:
  77.  - ''
  78.   cost: 0
  79.   delaytimer: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement