KingofAiming

Untitled

Aug 15th, 2019
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.11 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. clear_chat:
  30. command: /cc
  31. type: BROADCAST_TEXT
  32. text:
  33. - '%Repeat%100% '
  34. - '&2FreeBuild &8โ”ƒ &7Der &6Chat &7wurde &6geleert!'
  35. error-message: '&cยป &7Das ist nicht erlaubt!'
  36. permission-required: true
  37. permission-node: cc.admin
  38. iconmenu_page1:
  39. command: /iconmenu
  40. type: ICON_MENU
  41. text:
  42. - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  43. - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  44. iconmenu_title: '&cMyCommand &4ItemMenu'
  45. iconmenu_size: 27
  46. iconmenu_commands:
  47. - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
  48. - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
  49. - 9:EMERALD:0:/list:Player List:&bShow online players
  50. - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
  51. - 11:PLAYER_HEAD%$player:0:/command:Title:Description
  52. - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
  53. cost: 0
  54. delaytimer: 5
  55. iconmenu_page2:
  56. command: /iconmenu2
  57. type: ICON_MENU
  58. iconmenu_title: 'Page 2'
  59. iconmenu_size: 9
  60. iconmenu_commands:
  61. - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
  62. - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  63. cost: 0
  64. delaytimer: 5
  65. help_page_0:
  66. command: /mycmd-help
  67. type: TEXT
  68. text:
  69. - '&a ---- &6MyCommand Help &eMain Page &a----'
  70. - '&e This is the Main page of the help '
  71. - '&e Type &6/mycmd-help 2 &efor see the second page'
  72. help_page_1:
  73. command: /mycmd-help 2
  74. type: TEXT
  75. text:
  76. - '&a ---- &6MyCommand Help &ePage two &a----'
  77. - '&e And this is the page two of the help'
  78. itemcost_example:
  79. command: /itemcostexample
  80. type: TEXT
  81. text:
  82. - '$random_colorYou have spent 5 Cobblestone for see this message.'
  83. itemcost: 'COBBLESTONE:5'
  84. scoreboard_example:
  85. command: /sbexample
  86. type: SCOREBOARD
  87. text:
  88. - The Scoreboard will get removed after DelayTimer(sec). If 0 don't remove
  89. - Use $marquee$ as a prefix of the scoreboard name for scroll the text.
  90. - Use scoreboard_refresh_ticks, for determinate how frequent the plugin have to update the scoreboard.
  91. scoreboard_name: "$marquee$&1M&2y&3C&4o&5m&6m&7a&8n&9d &aS&bc&co&dr&ee&fb&0o&1a&2r&3d &nExample&r "
  92. scoreboard_text:
  93. - "4;&c&lCoordinates:"
  94. - "3;&6X:&e $locX &6Y:&e $locY &6Z:&e $locZ "
  95. - "2;&c&lPlayer Info:"
  96. - "1;&6Health: &e$health"
  97. - "0;&6Food: &e$food"
  98. scoreboard_refresh_ticks: 5
  99. delaytimer: 10
  100. bungeecord_example:
  101. command: /bungeetest
  102. type: BUNGEE_TP
  103. server_name: hub
  104. allowed_worlds_example:
  105. command: /onlynether
  106. type: TEXT
  107. text:
  108. - "&cYea,The Nether!"
  109. allowed_worlds:
  110. - world_nether
  111. per_world_commands:
  112. command: /perworldcommand
  113. type: RUN_COMMAND
  114. runcmd:
  115. - "$world=%world%/me This command will be performed only if you are in the world"
  116. - "$world=%world_nether%/me And this only if you are in the nether"
  117. permission-required: false
  118. executefor_example:
  119. command: /executeforall
  120. type: RUN_CONSOLE
  121. executefor: ONLINE_PLAYERS
  122. runcmd:
  123. - "/tp $player 0 64 0"
  124. permission-required: false
  125. ouch:
  126. command: /ouch
  127. type: RUN_COMMAND
  128. runcmd:
  129. - '%PlayerOptions%damage: 1'
  130. - '$text$&c<3'
  131. permission-required: false
  132. heal_me:
  133. command: /mycmd-heal
  134. type: RUN_COMMAND
  135. runcmd:
  136. - '%PlayerOptions%setHealth: 20'
  137. - '%PlayerOptions%setFoodLevel: 20'
  138. - '%PlayerOptions%sendMessage: &aHealed!'
  139. permission-required: false
  140. world_guard_example:
  141. command: /checkregion
  142. type: TEXT
  143. text:
  144. - 'You are in $wgregionname region!'
  145. allowed_wg_region:
  146. - 'region_name_here'
  147. custom_cmd_cooldown:
  148. command: /cooldown-example
  149. type: TEXT
  150. text:
  151. - '&aBla bla bla, type the command again for see the cooldown effect.'
  152. cooldown: 5
  153. custom_cmd_warmup:
  154. command: /warmup-example
  155. type: TEXT
  156. text:
  157. - '&aYou have waited 5 second for see this command performed'
  158. warmup: 5
  159. call_url:
  160. command: /call-url
  161. type: CALL_URL
  162. url: 'http://localhost/yourscript.php?variable=$arg1&player=$player'
  163. get_output : true
  164. show_output_ingame : true
  165. save_output_as : httpResponse
  166. script_example_420:
  167. command: /example420
  168. type: RUN_COMMAND
  169. runcmd:
  170. - $Script$%if%$arg1==password
  171. - $text$&eRight!
  172. - $Script$%if%$arg1==420
  173. - $text$&aBLAZE IT
  174. - $Script$%else%
  175. - $text$Password not correct
  176. bar_text:
  177. command: /bar_example
  178. type: BAR_API_TEXT
  179. text:
  180. - '&aHello $random_color$player'
  181. bar_seconds: 5
  182. bar_percentage: 8
  183. bar_style: SEGMENTED_20
  184. bar_flag: DARKEN_SKY
  185. bar_color: PINK
  186. rawmessage_example:
  187. command: /raw-example
  188. type: RAW_TEXT
  189. text:
  190. - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  191. - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  192. - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  193. - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
  194. lottery_example:
  195. command: /lottery_example
  196. type: RUN_COMMAND
  197. runcmd:
  198. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  199. - '$text$&6Welcome to &eMyCommand &6Lottery!'
  200. - '$delay$'
  201. - '$text$&b+------------------------------------'
  202. - '$text$&b| &2Prize of today :'
  203. - '$text$&b| &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
  204. - '$text$&b+------------------------------------'
  205. - '$text$&ePlease wait for the results!'
  206. - '$delay$$delay$$delay$'
  207. - '$delay$$text$&0[$random_colorLottery&0] &65...'
  208. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  209. - '$delay$$text$&0[$random_colorLottery&0] &64...'
  210. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  211. - '$delay$$text$&0[$random_colorLottery&0] &63...'
  212. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  213. - '$delay$$text$&0[$random_colorLottery&0] &62...'
  214. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  215. - '$delay$$text$&0[$random_colorLottery&0] &61...'
  216. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  217. - '$delay$'
  218. - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  219. - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%'
  220. - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  221. - '$delay$'
  222. - '$text$&b+------------------------------------'
  223. - '$text$&b| &6Congratulation! You won : &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
  224. - '$text$&b+------------------------------------'
  225. - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  226. delaytimer: 1
  227. dailybonus:
  228. command: /dailybonus
  229. type: RUN_COMMAND
  230. runcmd:
  231. - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  232. - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
  233. - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  234. - "%PlayerOptions%addItem: DIAMOND:1"
  235. - "$Script$%PlayerData%DailyBonus=$todaydate"
  236. - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
  237. - "$Script$%else%"
  238. - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
  239. permission-required: false
  240. broadcast_message_with_perm:
  241. command: /brmsgwithperm
  242. type: BROADCAST_TEXT
  243. text:
  244. - "Only the player with the correct permission can see this message"
  245. broadcast_message_permission_node: permission.for.see.this.message
  246. dynamiciconmenu:
  247. command: /dynamiciconmenu
  248. type: ICON_MENU
  249. iconmenu_size: 36
  250. iconmenu_mode: DYNAMIC
  251. permission-required: false
  252. iconmenu_commands:
  253. - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  254. - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  255. - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  256. - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  257. - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  258. - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  259. - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  260. - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  261. - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  262. - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  263. - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
  264. - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
  265. - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
  266. - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
  267. - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
  268. - "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"
  269. - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
  270. - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
  271. - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  272. - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  273. - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  274. - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  275. - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  276. - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  277. - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  278. - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  279. - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  280. - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  281. delaytimer: 2
  282. holographic_example:
  283. command: /holoexample
  284. type: HOLOGRAPHIC_TEXT
  285. text:
  286. - "&eHello $player, how are you?"
  287. - "$random_coloryeah, i'm fineeeee thanks!"
  288. - "&dCurrent time &5$time"
  289. delaytimer: 3
  290. merchant_example:
  291. command: /mymerchant
  292. type: MERCHANT
  293. merchant_title: '&3Hello &b$player'
  294. merchant_items:
  295. - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
  296. - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
  297. - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
  298. - GOLD_BLOCK:1<cost>IRON_INGOT:10
  299. - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
  300. - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
  301. - LEVER:1
  302. - COBBLESTONE:1
Add Comment
Please, Sign In to add comment