Advertisement
illllooovveesufff

Untitled

Jul 29th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.51 KB | None | 0 0
  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. mycmd_colors:
  35. command: /mycmd-colors
  36. type: TEXT
  37. text:
  38. - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
  39. - "&nn&r &mm&r &ll&r &oo&r $random_color :D"
  40. permission-required: false
  41. shortcut_with_arguments:
  42. command: /t
  43. type: RUN_COMMAND
  44. runcmd:
  45. - '/time $arg1 $arg2'
  46. cost: 0
  47. error-message: '&cType &e/t set day'
  48. require_all_arguments: true
  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. - '&2Health : &a$health &2Food : &a$food'
  66. - '&2Exp : &a$exp &2Level : &a$level'
  67. - '&2Gamemode : &a$gamemode'
  68. - '&2LastDamage : &a$lastdamage'
  69. mycmd_list_command:
  70. command: /mycmd-online
  71. type: TEXT
  72. text:
  73. - '&2There are &a$online &2players online.'
  74. - '&a $ponline'
  75. clear_chat:
  76. command: /clearchat
  77. type: BROADCAST_TEXT
  78. text:
  79. - '%Repeat%100% '
  80. - '&0[&eMyCommand&0]&b Chat clared :D'
  81. iconmenu_page1:
  82. command: /iconmenu
  83. type: ICON_MENU
  84. text:
  85. - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  86. - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  87. iconmenu_title: '&cMyCommand &4ItemMenu'
  88. iconmenu_size: 27
  89. iconmenu_commands:
  90. - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
  91. - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
  92. - 9:EMERALD:0:/list:Player List:&bShow online players
  93. - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
  94. - 11:PLAYER_HEAD%$player:0:/command:Title:Description
  95. - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
  96. cost: 0
  97. delaytimer: 5
  98. itemcost_example:
  99. command: /itemcostexample
  100. type: TEXT
  101. text:
  102. - '$random_colorYou have spent 5 Cobblestone for see this message.'
  103. itemcost: 'COBBLESTONE:5'
  104. ouch:
  105. command: /ouch
  106. type: RUN_COMMAND
  107. runcmd:
  108. - '%PlayerOptions%damage: 1'
  109. - '$text$&c<3'
  110. permission-required: false
  111. heal_me:
  112. command: /mycmd-heal
  113. type: RUN_COMMAND
  114. runcmd:
  115. - '%PlayerOptions%setHealth: 20'
  116. - '%PlayerOptions%setFoodLevel: 20'
  117. - '%PlayerOptions%sendMessage: &aHealed!'
  118. permission-required: false
  119. custom_cmd_cooldown:
  120. command: /cooldown-example
  121. type: TEXT
  122. text:
  123. - '&aBla bla bla, type the command again for see the cooldown effect.'
  124. cooldown: 5
  125. custom_cmd_warmup:
  126. command: /warmup-example
  127. type: TEXT
  128. text:
  129. - '&aYou have waited 5 second for see this command performed'
  130. warmup: 5
  131. rawmessage_example:
  132. command: /raw-example
  133. type: RAW_TEXT
  134. text:
  135. - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  136. - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  137. - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  138. - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
  139. lottery:
  140. command: /lottery
  141. type: RUN_COMMAND
  142. runcmd:
  143. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  144. - '$text$&6Wilkommen bei &eder &6Lottery!'
  145. - '$delay$'
  146. - '$text$&b+------------------------------------'
  147. - '$text$&b| &2Preise:'
  148. - '$text$&b| &aBruchstein, Brot, Apfel, Gold, Diamant und Rüstung/Schwerter! '
  149. - '$text$&b+------------------------------------'
  150. - '$text$&eBitte warten Sie auf die Ergebnisse!''
  151. - '$delay$$delay$$delay$'
  152. - '$delay$$text$&0[$random_colorLottery&0] &65...'
  153. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  154. - '$delay$$text$&0[$random_colorLottery&0] &64...'
  155. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  156. - '$delay$$text$&0[$random_colorLottery&0] &63...'
  157. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  158. - '$delay$$text$&0[$random_colorLottery&0] &62...'
  159. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  160. - '$delay$$text$&0[$random_colorLottery&0] &61...'
  161. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  162. - '$delay$'
  163. - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  164. - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;DIAMOND_SWORD;DIAMOND_HELMET;DIAMOND_CHESTPLATE;DIAMOND_LEGGINGS;DIAMOND_BOOTS;DIAMOND_SWORD;GOLDEN_APPLE;GOLD_INGOT;BREAD;APPLE%'
  165. - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  166. - '$delay$'
  167. - '$text$&b+------------------------------------'
  168. - '$text$&b| &6Glückwunsch! Das haben sie gewonnen: &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
  169. - '$text$&b+------------------------------------'
  170. - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  171. delaytimer: 3600
  172. dailybonus:
  173. command: /dailybonus
  174. type: RUN_COMMAND
  175. runcmd:
  176. - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  177. - "$text$&0[&6Daily&eBonus&0]&b Hallo $player! Hier ist deine tägliche Belohnung!"
  178. - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  179. - "%PlayerOptions%addItem: DIAMOND:16"
  180. - "%PlayerOptions%addItem: BREAD:32"
  181. - "%PlayerOptions%addItem: EXPERIENCE_BOTTLE:32"
  182. - "$Script$%PlayerData%DailyBonus=$todaydate"
  183. - "$text$&0[&6Daily&eBonus&0]&b Komm morgen zurück!"
  184. - "$Script$%else%"
  185. - "$text$&0[&6Daily&eBonus&0]&b Das reicht für heute! Komm morgen zurück!""
  186. permission-required: false
  187. delaytimer: 86400
  188. dynamiciconmenu:
  189. command: /dynamiciconmenu
  190. type: ICON_MENU
  191. iconmenu_size: 36
  192. iconmenu_mode: DYNAMIC
  193. permission-required: false
  194. iconmenu_commands:
  195. - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  196. - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  197. - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  198. - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  199. - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  200. - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  201. - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  202. - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  203. - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  204. - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  205. - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
  206. - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
  207. - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
  208. - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
  209. - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
  210. - "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"
  211. - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
  212. - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
  213. - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  214. - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  215. - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  216. - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  217. - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  218. - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  219. - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  220. - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  221. - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  222. - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  223. delaytimer: 2
  224. holographic_example:
  225. command: /holoexample
  226. type: HOLOGRAPHIC_TEXT
  227. text:
  228. - "&eHello $player, how are you?"
  229. - "$random_coloryeah, i'm fineeeee thanks!"
  230. - "&dCurrent time &5$time"
  231. delaytimer: 3
  232. merchant_example:
  233. command: /mymerchant
  234. type: MERCHANT
  235. merchant_title: '&3Hello &b$player'
  236. merchant_items:
  237. - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
  238. - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
  239. - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
  240. - GOLD_BLOCK:1<cost>IRON_INGOT:10
  241. - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
  242. - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
  243. - LEVER:1
  244. - COBBLESTONE:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement