Advertisement
Guest User

Untitled

a guest
Sep 18th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 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 , iconmenu , scoreboard
  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: 21
  17. 'PvP':
  18. command: /pvp
  19. type: RUN_COMMAND
  20. runcmd:
  21. - '/warp pvp'
  22. permission-required: false
  23. 'Mine':
  24. command: /mine
  25. type: RUN_COMMAND
  26. runcmd:
  27. - '/warp mine'
  28. permission-required: false
  29. 'trade':
  30. command: /boss
  31. type: RUN_COMMAND
  32. runcmd:
  33. - '/warp trade'
  34. '4':
  35. command: /mycmd-args
  36. type: runcommand
  37. text:
  38. - '$red Text of command $black4'
  39. runcmd:
  40. - '/time $arg1 $arg2'
  41. cost: 0
  42. delaytimer: 5
  43. error-message: 'Type /time day world'
  44. '5':
  45. command: /mycmd-runcmdtimer
  46. type: runcommand
  47. text:
  48. - '$red Text of command $black5'
  49. runcmd:
  50. - '$delay$/say 3..'
  51. - '$delay$/say 2..'
  52. - '$delay$/say 1..'
  53. cost: 0
  54. delaytimer: 1
  55. '6':
  56. command: /mycmd-broadcast
  57. type: broadcast-text
  58. text:
  59. - '$blue MyCommand Broadcast Test'
  60. runcmd:
  61. - '/sample'
  62. cost: 0
  63. delaytimer: 5
  64. '7':
  65. command: /mycmd-spoutsample
  66. type: spout-text
  67. text:
  68. - '$darkgreen -Spout Text-'
  69. - '$red MyCommand!'
  70. runcmd:
  71. - '/sample'
  72. cost: 0
  73. delaytimer: 5
  74. '8':
  75. command: /mycmd-runconsole
  76. type: runconsole
  77. text:
  78. - '$red Text of command $black8'
  79. runcmd:
  80. - /say This /say it's performed by console.
  81. cost: 0
  82. delaytimer: 5
  83. '9':
  84. command: /mycmd-addtimer
  85. type: text
  86. text:
  87. - '$gold Put your command over /mycmd-addtimer'
  88. - '$gold And change type : from text to addtimer'
  89. runcmd:
  90. - '/sample'
  91. cost: 0
  92. delaytimer: 5
  93. '10':
  94. command: /mycmd-addpermission
  95. type: text
  96. text:
  97. - '$gold Put your command over /mycmd-addpermission'
  98. - '$gold And change type : from text to addpermission'
  99. runcmd:
  100. - '/sample'
  101. cost: 0
  102. delaytimer: 5
  103. '11':
  104. command: /mycmd-textargs
  105. type: text
  106. text:
  107. - 'Player Name : $player'
  108. - 'World : $world'
  109. - 'Health : $health Food : $food'
  110. - 'Exp : $exp Level : $level'
  111. - 'Gamemode : $gamemode'
  112. - 'LastDamage : $lastdamage'
  113. runcmd:
  114. - '/sample'
  115. cost: 0
  116. delaytimer: 5
  117. '12':
  118. command: /mycmd-online
  119. type: text
  120. text:
  121. - '$red There are $online players online.'
  122. - '$gold $ponline'
  123. runcmd:
  124. - '/sample'
  125. cost: 0
  126. delaytimer: 5
  127. '13':
  128. command: /mycmd-clearchat
  129. type: broadcast-text
  130. text:
  131. - ''
  132. - ''
  133. - ''
  134. - ''
  135. - ''
  136. - ''
  137. - ''
  138. - ''
  139. - ''
  140. - ''
  141. runcmd:
  142. - '/sample'
  143. cost: 0
  144. delaytimer: 5
  145. '14':
  146. command: /mycmd-shortcut
  147. type: runcommand
  148. text:
  149. - '$red Text of command $black14'
  150. runcmd:
  151. - '/say $multiargs'
  152. cost: 0
  153. delaytimer: 5
  154. '15':
  155. command: /mycmd-random
  156. type: runcommand-random
  157. text:
  158. - '$red Text of command $black15'
  159. runcmd:
  160. - '/say 1 $multiargs'
  161. - '/say 2 $multiargs'
  162. - '/say 3 $multiargs'
  163. cost: 0
  164. delaytimer: 5
  165. '16':
  166. command: /iconmenu
  167. type: iconmenu
  168. text:
  169. - 'POSITION:ITEMID:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  170. iconmenu_title: '&cMyCommand &4ItemMenu'
  171. iconmenu_size: 27
  172. iconmenu_commands:
  173. - '0:322:0:/help:&2Help:&aOpen the help menu'
  174. - '1:345:0:/mycmd:Menu:MyCommand menu'
  175. - '9:388:0:/list:Player List:&bShow online players'
  176. - '10:347:0:/time set 0:Day:Turn day'
  177. - '26:35:11:/rules:Rules:&cSee the server rules;Read all!'
  178. cost: 0
  179. delaytimer: 5
  180. '17':
  181. command: /mycmd-help 1
  182. type: text
  183. text:
  184. - '$brightgreen ---- MyCommand Help Page One ---'
  185. - '$gold Test Help 1'
  186. runcmd:
  187. - '/sample'
  188. cost: 0
  189. delaytimer: 5
  190. '18':
  191. command: /mycmd-help
  192. type: text
  193. text:
  194. - '$brightgreen ---- MyCommand Help Main Page---'
  195. - '$gold Test Help '
  196. runcmd:
  197. - '/sample'
  198. cost: 0
  199. delaytimer: 5
  200. '19':
  201. command: /scriptexample
  202. type: text
  203. text:
  204. - 'Example'
  205. runcmd:
  206. - '$Script$HasPermission==custompermission.test'
  207. - '$Script$SetInteger=1'
  208. - '$Script$Integer==1'
  209. - '$Script$SetString=ciao'
  210. - '$Script$String!=lol'
  211. - '$Script$Integer>10'
  212. - '/dosomething'
  213. cost: 0
  214. delaytimer: 5
  215. '20':
  216. command: /itemcostexample
  217. type: text
  218. text:
  219. - 'This command cost 5 cobblestone. 4=ID 5 = AMOUNT'
  220. runcmd:
  221. - '/sample'
  222. cost: 0
  223. itemcost: '4:5'
  224. delaytimer: 5
  225. '21':
  226. command: /sbtest
  227. type: scoreboard
  228. text:
  229. - 'Remove scoreboard after DelayTimer(sec) - 0 = never'
  230. scoreboard_name: '&bTest'
  231. scoreboard_text:
  232. - '$randomnumber%1000%:Lucky'
  233. - '$exp:Exp'
  234. - '$level:Level'
  235. cost: 0
  236. delaytimer: 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement