Advertisement
TNSabi

Untitled

Sep 16th, 2019
128
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. #------------------------------#
  203. # MY CMDS #
  204. #------------------------------#
  205. #----------------------#
  206. # User CMDS #
  207. #----------------------#
  208. tp_spawn:
  209. command: /spawn
  210. type: RUN_CONSOLE
  211. runcmd:
  212. - /tp $player 169 75 489
  213. register: true
  214. permission-node: tp.spawn
  215. permission-required: true
  216. redmsg:
  217. command: /redmsg
  218. type: BROADCAST_TEXT
  219. text:
  220. - '&4&l $multiargs'
  221. register: true
  222. required_args: 1
  223. itemcost: 'GOLD_INGOT:10'
  224. permission-required: false
  225. buy_gold1:
  226. command: /buygold1
  227. type: RUN_CONSOLE
  228. runcmd:
  229. - /give $player minecraft:gold_nugget 1
  230. itemcost: 'ROTTEN_FLESH:15'
  231. register: true
  232. permission-required: false
  233. error-message: '&4&lZu wenig verdorbenes Fleisch!'
  234. buy_gold5:
  235. command: /buygold5
  236. type: RUN_CONSOLE
  237. runcmd:
  238. - /give $player minecraft:gold_nugget 5
  239. error-message: '&4&lZu wenig verdorbenes Fleisch!'
  240. itemcost: 'ROTTEN_FLESH:64'
  241. register: true
  242. permission-required: false
  243. regeln:
  244. command: /regeln
  245. type: TEXT
  246. text:
  247. - '&8~&4&lREGELN&8~'
  248. - '&11. &a&lNicht Cheaten(ClientModifikationen)'
  249. - '&12. &a&lNicht Spammen/Beleidigen'
  250. - '&13. &a&lKonstruktive Kritik ist erlaubt'
  251. - '&14. &a&lAuf das Team höhren'
  252. - '&15. &a&lTeamMitglieder belästigen ist verboten!'
  253. - '&16. &a&lSpaß haben'
  254. register: true
  255. permission-required: false
  256. commands:
  257. command: /commands
  258. type: TEXT
  259. text:
  260. - '&a&lAlle Commands für User&0&l:'
  261. - '&4&l/Regeln &8➡ &a&lZeigt dir die Regeln'
  262. - '&4&l/Spawn &8➡ &a&lTeleportiert dich zu Spawn'
  263. - '&4&l/redmsg &8➡ &a&lSchreib eine &c&lRote &a&lNachricht in den Chat &e&lKosten 10 GoldIngots'
  264. - '&4&l/buygold1 &8➡ &a&lKaufe 1 GoldNugget für 15 verdorbenes Fleisch'
  265. - '&4&l/buygold5 &8➡ &a&lKaufe 5 GoldNugget für 64 verdorbenes Fleisch'
  266. - '&4&l/Commands &8➡ &a&lZeigt diese liste'
  267. - '&4&l/JoinEvent &8➡ &a&lBeim aktivem Event mitmachen'
  268. register: true
  269. permission-required: false
  270. joinevent:
  271. command: /joinevent
  272. type: RUN_CONSOLE
  273. runcmd:
  274. - '/scoreboard players set $player Event 1'
  275. - '$broadcasttext$&c&l$player &a&list dem Event beigetreten!'
  276. register: true
  277. permission-node: event.join
  278. permission-required: true
  279. mymenu:
  280. command: /myhelp
  281. type: ICON_MENU
  282. iconmenu_title: '&cMyHelp'
  283. iconmenu_size: 27
  284. iconmenu_commands:
  285. - '4:WOOL:14:%stayopen%/Regeln:&4Regeln:Regeln'
  286. - '9:GOLD_NUGGET:0:%stayopen%/buygold1:&cBuy Gold 1:Kaufe 1 GoldNugget:Für 15 verdorbenes Fleisch'
  287. - '12:PAPER:0:%stayopen%/commands:&cCommands:Commands'
  288. - '13:DIAMOND_BLOCK:0:/spawn:&4Spawn:Spawn'
  289. - '14:BEACON:0:%stayopen%/joinevent:&cJoin Event:&2Dem Event beitreten'
  290. - '18:GOLD_INGOT:0:%stayopen%/buygold5:&cBuy Gold 5:Kaufe 5 GoldNugget:Für 64 verdorbenes Fleisch'
  291. register: true
  292. cost: 0
  293. permission-required: false
  294. #----------------------#
  295. # Team CMDS #
  296. #----------------------#
  297. fly:
  298. command: /fly
  299. type: RUN_CONSOLE
  300. runcmd:
  301. - '%PlayerOptions%setFlying: true'
  302. - '$text$&4&lHacker'
  303. permission-required: true
  304. permission-node: fly
  305. register: true
  306. killmob:
  307. command: /killmob
  308. type: RUN_CONSOLE
  309. runcmd:
  310. - '/kill @e[type=!Player]'
  311. - '$text$&eAlle Entitys Deinstalliert!'
  312. permission-required: true
  313. permission-node: mob.kill
  314. register: true
  315. sun:
  316. command: /sun
  317. type: RUN_CONSOLE
  318. runcmd:
  319. - '/weather clear'
  320. - '/time set day'
  321. - '$text$&eMoin Servus Moin'
  322. permission-required: true
  323. permission-node: weather.sun
  324. register: true
  325. startevent:
  326. command: /startevent
  327. type: RUN_CONSOLE
  328. required_args: 3
  329. runcmd:
  330. - '$broadcasttext$&e&lDas EVENT startet!'
  331. - '/tp @a[score_Event_min=1] $multiargs'
  332. register: true
  333. permission-node: event.start
  334. permission-required: true
  335. #----------------------#
  336. # Give Rang #
  337. #----------------------#
  338. rang_menu:
  339. command: /rang
  340. type: ICON_MENU
  341. iconmenu_title: '&cRang $arg1'
  342. iconmenu_size: 27
  343. iconmenu_commands:
  344. - '4:PUMPKIN:0:%stayopen%:$player:$arg1'
  345. - '12:WOOL:2:%stayopen%/gmaster $arg1:&dMaster:$player'
  346. - '13:WOOL:5:%stayopen%/gvip $arg1:&aVIP:$player'
  347. - '14:WOOL:14:%stayopen%/glegendary $arg1:&4&lLegendary:$player'
  348. register: true
  349. required_args: 1
  350. cost: 0
  351. delaytimer: 5
  352. permission-node: rang.menu
  353. permission-required: true
  354. rang_master:
  355. command: /gmaster
  356. required_args: 1
  357. type: RUN_COMMAND
  358. runcmd:
  359. - '/pex user $arg1 group add master'
  360. permission-node: rang.master
  361. permission-required: true
  362. rang_vip:
  363. command: /gvip
  364. required_args: 1
  365. type: RUN_COMMAND
  366. runcmd:
  367. - '/pex user $arg1 group add legendary'
  368. permission-node: rang.vip
  369. permission-required: true
  370. rang_legendary:
  371. command: /glegendary
  372. required_args: 1
  373. type: RUN_COMMAND
  374. runcmd:
  375. - '/pex user $arg1 group add legendary'
  376. permission-node: rang.legendary
  377. permission-required: true
  378. #----------------------#
  379. # Punish #
  380. #----------------------#
  381. punish_menu:
  382. command: /punish
  383. type: ICON_MENU
  384. iconmenu_title: '&cPunish $arg1'
  385. iconmenu_size: 27
  386. iconmenu_commands:
  387. - '4:PUMPKIN:0:%stayopen%:&c$arg1:$arg1'
  388. - '12:STONE_AXE:0:%stayopen%/mykick $arg1:&cMyKick:$arg1'
  389. - '14:PACKED_ICE:0:%stayopen%/freeze $arg1:&3Freeze:$arg1'
  390. - '13:IRON_AXE:0:%stayopen%/myban $arg1:&cMyBan:$arg1'
  391. - '22:LAVA_BUCKET:0:%stayopen%/unfreeze $arg1:&3UnFreeze:$arg1'
  392. register: true
  393. required_args: 1
  394. cost: 0
  395. delaytimer: 5
  396. permission-node: punish.menu
  397. permission-required: true
  398. mykick:
  399. command: /mykick
  400. type: RUN_CONSOLE
  401. runcmd:
  402. - '/minecraft:kick $arg1'
  403. - '$text$&c$arg1 &ewurde gekickt!'
  404. required_args: 1
  405. permission-node: punish.kick
  406. permission-required: true
  407. myban:
  408. command: /myban
  409. type: RUN_CONSOLE
  410. runcmd:
  411. - '/minecraft:ban $arg1'
  412. - '$text$&c$player &ewurde gebannt!'
  413. - '$broadcasttext$&c$arg1 &ewurde gebannt!'
  414. required_args: 1
  415. permission-node: punish.ban
  416. permission-required: true
  417. freeze:
  418. command: /freeze
  419. type: RUN_CONSOLE
  420. runcmd:
  421. - '/effect $arg1 minecraft:jump_boost 1000000 200'
  422. - '/effect $arg1 minecraft:blindness 1000000 20'
  423. - '/effect $arg1 minecraft:slowness 1000000 100'
  424. required_args: 1
  425. permission-required: true
  426. permission-node: punish.freeze
  427. unfreeze:
  428. command: /unfreeze
  429. type: RUN_CONSOLE
  430. runcmd:
  431. - '/effect $arg1 clear'
  432. required_args: 1
  433. permission-required: true
  434. permission-node: punish.unfreeze
  435. #---------------#
  436. # Kits #
  437. #---------------#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement