Guest User

Untitled

a guest
Aug 6th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 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.
  12. # Custom error-message for invalid args ,put "error-message:" line in a command.
  13. # http://dev.bukkit.org/server-mods/mycommand/pages/configuration-and-example
  14. options:
  15. commandsnumber: 20
  16. '1':
  17. command: /surowce
  18. type: text
  19. text:
  20. - '% Wypadania Surowcow ze &8Stone'
  21. - '&bDiament &f- 0.5% od poziomu 21 w dol'
  22. - '&aSzmaragd &f- 0.5% od poziomu 21 w dol na biomie &4Extreme Hills'
  23. - '&eZloto &f- 1.0% od poziomu 30 w dol'
  24. - '&7Zelazo &f- 1.0% od poziomu 55 w dol'
  25. - '&fEXP leci wszedzie ze &8Stone'
  26. - '&6Enchant Fortune'
  27. - '&8Fortune I &f- 1-2 Surowce'
  28. - '&7Fortune II &f- 1-3 Surowce'
  29. - '&fFortune III - 2-3 Surowce'
  30. runcmd:
  31. - '/sample'
  32. cost: 0
  33. delaytimer: 5
  34. '2':
  35. command: /vip
  36. type: text
  37. text:
  38. - '&fCo daje &eVip&f?'
  39. - '- Dostep do VipRoomu za pomoca /Warp VipRoom'
  40. - '- Moze miec czapke z klocka za pomoca /Hat'
  41. - '- Moze miec dzialke &eVip &fi zwykla'
  42. - '- Moze sie teleportowac do Graczy pod ich zgoda za pomoca /tpa'
  43. - '- Latajacy dywan za pomoca /MC'
  44. - '&eVip'a &fmozesz kupic na tej stronie &3===> &fhttps://craftserve.pl/s/220293/shop'
  45. runcmd:
  46. - '/sample'
  47. cost: 0
  48. delaytimer: 5
  49. permission-node: customperm.custom
  50. '3':
  51. command: /mycmd-runcommand
  52. type: runcommand
  53. text:
  54. - '$red Text of command $black3'
  55. runcmd:
  56. - '/list'
  57. cost: 0
  58. delaytimer: 5
  59. '4':
  60. command: /mycmd-args
  61. type: runcommand
  62. text:
  63. - '$red Text of command $black4'
  64. runcmd:
  65. - '/time $arg1 $arg2'
  66. cost: 0
  67. delaytimer: 5
  68. error-message: 'Type /time day world'
  69. '5':
  70. command: /mycmd-runcmdtimer
  71. type: runcommand
  72. text:
  73. - '$red Text of command $black5'
  74. runcmd:
  75. - '$delay$/say 3..'
  76. - '$delay$/say 2..'
  77. - '$delay$/say 1..'
  78. cost: 0
  79. delaytimer: 1
  80. '6':
  81. command: /mycmd-broadcast
  82. type: broadcast-text
  83. text:
  84. - '$blue MyCommand Broadcast Test'
  85. runcmd:
  86. - '/sample'
  87. cost: 0
  88. delaytimer: 5
  89. '7':
  90. command: /mycmd-spoutsample
  91. type: spout-text
  92. text:
  93. - '$darkgreen -Spout Text-'
  94. - '$red MyCommand!'
  95. runcmd:
  96. - '/sample'
  97. cost: 0
  98. delaytimer: 5
  99. '8':
  100. command: /mycmd-runconsole
  101. type: runconsole
  102. text:
  103. - '$red Text of command $black8'
  104. runcmd:
  105. - /say This /say it's performed by console.
  106. cost: 0
  107. delaytimer: 5
  108. '9':
  109. command: /mycmd-addtimer
  110. type: text
  111. text:
  112. - '$gold Put your command over /mycmd-addtimer'
  113. - '$gold And change type : from text to addtimer'
  114. runcmd:
  115. - '/sample'
  116. cost: 0
  117. delaytimer: 5
  118. '10':
  119. command: /mycmd-addpermission
  120. type: text
  121. text:
  122. - '$gold Put your command over /mycmd-addpermission'
  123. - '$gold And change type : from text to addpermission'
  124. runcmd:
  125. - '/sample'
  126. cost: 0
  127. delaytimer: 5
  128. '11':
  129. command: /mycmd-textargs
  130. type: text
  131. text:
  132. - 'Player Name : $player'
  133. - 'World : $world'
  134. - 'Health : $health Food : $food'
  135. - 'Exp : $exp Level : $level'
  136. - 'Gamemode : $gamemode'
  137. - 'LastDamage : $lastdamage'
  138. runcmd:
  139. - '/sample'
  140. cost: 0
  141. delaytimer: 5
  142. '12':
  143. command: /mycmd-online
  144. type: text
  145. text:
  146. - '$red There are $online players online.'
  147. runcmd:
  148. - '/sample'
  149. cost: 0
  150. delaytimer: 5
  151. '13':
  152. command: /mycmd-clearchat
  153. type: broadcast-text
  154. text:
  155. - ''
  156. - ''
  157. - ''
  158. - ''
  159. - ''
  160. - ''
  161. - ''
  162. - ''
  163. - ''
  164. - ''
  165. runcmd:
  166. - '/sample'
  167. cost: 0
  168. delaytimer: 5
  169. '14':
  170. command: /mycmd-shortcut
  171. type: runcommand
  172. text:
  173. - '$red Text of command $black14'
  174. runcmd:
  175. - '/say $multiargs'
  176. cost: 0
  177. delaytimer: 5
  178. '15':
  179. command: /mycmd-random
  180. type: runcommand-random
  181. text:
  182. - '$red Text of command $black15'
  183. runcmd:
  184. - '/say 1 $multiargs'
  185. - '/say 2 $multiargs'
  186. - '/say 3 $multiargs'
  187. cost: 0
  188. delaytimer: 5
  189. '16':
  190. command: /mycmd-help 2
  191. type: text
  192. text:
  193. - '$brightgreen ---- MyCommand Help Page Two ---'
  194. - '$gold Test Help 2'
  195. runcmd:
  196. - '/sample'
  197. cost: 0
  198. delaytimer: 5
  199. '17':
  200. command: /mycmd-help 1
  201. type: text
  202. text:
  203. - '$brightgreen ---- MyCommand Help Page One ---'
  204. - '$gold Test Help 1'
  205. runcmd:
  206. - '/sample'
  207. cost: 0
  208. delaytimer: 5
  209. '18':
  210. command: /mycmd-help
  211. type: text
  212. text:
  213. - '$brightgreen ---- MyCommand Help Main Page---'
  214. - '$gold Test Help '
  215. runcmd:
  216. - '/sample'
  217. cost: 0
  218. delaytimer: 5
  219. '19':
  220. command: /scriptexample
  221. type: text
  222. text:
  223. - 'Example'
  224. runcmd:
  225. - '$Script$HasPermission==custompermission.test'
  226. - '$Script$SetInteger=1'
  227. - '$Script$Integer==1'
  228. - '$Script$SetString=ciao'
  229. - '$Script$String!=lol'
  230. - '$Script$Integer>10'
  231. - '/dosomething'
  232. cost: 0
  233. delaytimer: 5
  234. '20':
  235. command: /mycmdsample20
  236. type: text
  237. text:
  238. - '$red Text of command $black20'
  239. runcmd:
  240. - '/sample'
  241. cost: 0
  242. delaytimer: 5
Advertisement
Add Comment
Please, Sign In to add comment