Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #-----------------------------------------------------------------------------------------------------------#
  2. # MyCommand Commands config file (last update v5.5.0) #
  3. # #
  4. # BukkitDev Help page : https://dev.bukkit.org/projects/mycommand/pages/getstarted #
  5. # #
  6. # How to make a command : (See an example command below) #
  7. # For first, put your command name on first line #
  8. # Now put your command_line name after the "command:" line. Don't forget the '/' before your command. #
  9. # So, now select your command type from a predefined list putting it after "type" line #
  10. # COMMAND TYPE LIST : #
  11. # TEXT , ALIAS , RUN_COMMAND , BROADCAST_TEXT , RUN_COMMAND_TEXT , RUN_COMMAND_BROADCAST_TEXT #
  12. # ADD_PERMISSION , WARMUP , COOLDOWN , RUN_CONSOLE , RUN_CONSOLE_RANDOM , SPOUT_TEXT #
  13. # RUN_COMMAND_RANDOM , RUN_ASOPERATOR , ICON_MENU , SCOREBOARD , BUNGEE_TP , SPOUT_NOTIFICATION #
  14. # BAR_API_TEXT , BAR_API_BROADCAST_TEXT , CALL_URL, TITLE, BROADCAST_TITLE, ACTION_BAR #
  15. # #
  16. # If your command is "TEXT" type, you can put multiple line of text below this parameter #
  17. # You can do the same thing with the "RUNCOMMAND" type, but instead of text, puts commands in this list #
  18. # For delayed command(s) add $delay$ before the command in runcmd Example : - $delay$/list #
  19. # Set delay time with delaytimer: 5 (5 = seconds) | #
  20. # If you are using the Vault plugin, you can put the "cost: 123.0" with this line. #
  21. # You can customize your permission node by placing "permission-node:" field in a command #
  22. # Also,you can change the permission error message with "permission-error:" #
  23. # Custom error-message for invalid args ,put "error-message:" line in a command. #
  24. # You can use itemcost : 'ID:AMOUNT' for set a cost with items. #
  25. # Register REAL commands putting "register: true" below the command. #
  26. # With register commands you can use the "tab_completer: - Hi - Hello!" #
  27. # For Scripts and more features, find more on the bukkitdev page #
  28. #-----------------------------------------------------------------------------------------------------------#
  29. gamemode_alias:
  30. command: /gm
  31. type: ALIAS
  32. alias: /gamemode
  33. permission-required: true
  34. simple_dice:
  35. command: /mycmd-dice
  36. type: TEXT
  37. text:
  38. - '&0[&6Dice&0] &eYou got &6$rnd6 !'
  39. permission-required: true
  40. permission-node: mycommand.cmd.dice
  41. permission-error: "&a$player! , &2You can't use this command!"
  42. mycmd_colors:
  43. command: /mycmd-colors
  44. type: TEXT
  45. text:
  46. - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
  47. - "&nn&r &mm&r &ll&r &oo&r $random_color :D"
  48. permission-required: false
  49. delay_example:
  50. command: /mycmd-countdown
  51. type: RUN_COMMAND
  52. runcmd:
  53. - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
  54. - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
  55. - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
  56. - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
  57. cost: 0
  58. delaytimer: 1
  59. delaytimer_format: SECONDS
  60. some_placeholders:
  61. command: /mycmd-playerinfo
  62. type: TEXT
  63. text:
  64. - '&2Player name : &a$player'
  65. - '&2World : &a$world'
  66. - '&2Health : &a$health &2Food : &a$food'
  67. - '&2Exp : &a$exp &2Level : &a$level'
  68. - '&2Gamemode : &a$gamemode'
  69. - '&2LastDamage : &a$lastdamage'
  70. mycmd_list_command:
  71. command: /mycmd-online
  72. type: TEXT
  73. text:
  74. - '&2There are &a$online &2players online.'
  75. - '&a $ponline'
  76. clear_chat:
  77. command: /clearchat
  78. type: BROADCAST_TEXT
  79. text:
  80. - '%Repeat%100% '
  81. - '&0[&eMyCommand&0]&b Chat cleared :D'
  82. iconmenu_page1:
  83. command: /iconmenu
  84. type: ICON_MENU
  85. text:
  86. - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  87. - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  88. iconmenu_title: '&cMyCommand &4ItemMenu'
  89. iconmenu_size: 27
  90. iconmenu_commands:
  91. - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
  92. - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
  93. - 9:EMERALD:0:/list:Player List:&bShow online players
  94. - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
  95. - 11:PLAYER_HEAD%$player:0:/command:Title:Description
  96. - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
  97. cost: 0
  98. delaytimer: 5
  99. iconmenu_page2:
  100. command: /iconmenu2
  101. type: ICON_MENU
  102. iconmenu_title: 'Page 2'
  103. iconmenu_size: 9
  104. iconmenu_commands:
  105. - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
  106. - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  107. cost: 0
  108. delaytimer: 5
  109. help_page_0:
  110. command: /mycmd-help
  111. type: TEXT
  112. text:
  113. - '&a ---- &6MyCommand Help &eMain Page &a----'
  114. - '&e This is the Main page of the help '
  115. - '&e Type &6/mycmd-help 2 &efor see the second page'
  116. help_page_1:
  117. command: /mycmd-help 2
  118. type: TEXT
  119. text:
  120. - '&a ---- &6MyCommand Help &ePage two &a----'
  121. - '&e And this is the page two of the help'
  122. itemcost_example:
  123. command: /itemcostexample
  124. type: TEXT
  125. text:
  126. - '$random_colorYou have spent 5 Cobblestone for see this message.'
  127. itemcost: 'COBBLESTONE:5'
  128. world_guard_example:
  129. command: /checkregion
  130. type: TEXT
  131. text:
  132. - 'You are in $wgregionname region!'
  133. allowed_wg_region:
  134. - 'region_name_here'
  135. script_example_420:
  136. command: /example420
  137. type: RUN_COMMAND
  138. runcmd:
  139. - $Script$%if%$arg1==password
  140. - $text$&eRight!
  141. - $Script$%if%$arg1==420
  142. - $text$&aBLAZE IT
  143. - $Script$%else%
  144. - $text$Password not correct
  145. rawmessage_example:
  146. command: /raw-example
  147. type: RAW_TEXT
  148. text:
  149. - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  150. - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  151. - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  152. - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
  153. dynamiciconmenu:
  154. command: /dynamiciconmenu
  155. type: ICON_MENU
  156. iconmenu_size: 36
  157. iconmenu_mode: DYNAMIC
  158. permission-required: true
  159. iconmenu_commands:
  160. - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  161. - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  162. - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  163. - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  164. - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  165. - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  166. - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  167. - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  168. - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  169. - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  170. - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
  171. - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
  172. - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
  173. - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
  174. - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
  175. - "19:BOOK<next>2,BOOK<next>3,BOOK:0:%stayopen%:$random_colorPage 1<next>$random_colorPage 2<next>$random_colorPage 3:1<next>2<next>3"
  176. - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
  177. - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
  178. - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  179. - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  180. - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  181. - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  182. - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  183. - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  184. - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  185. - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  186. - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  187. - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  188. delaytimer: 2
  189. merchant_example:
  190. command: /mymerchant
  191. type: MERCHANT
  192. merchant_title: '&3Hello &b$player'
  193. merchant_items:
  194. - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
  195. - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
  196. - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
  197. - GOLD_BLOCK:1<cost>IRON_INGOT:10
  198. - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
  199. - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
  200. - LEVER:1
  201. - COBBLESTONE:1
  202. tp_spawn:
  203. command: /spawn
  204. type: RUN_CONSOLE
  205. runcmd:
  206. - /tp @p 51 78 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement