Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.03 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. clearchat:
  30. command: /cc
  31. type: BROADCAST_TEXT
  32. text:
  33. - '%Repeat%1000% '
  34. - '&8[&cClearChat&8] &7Der Chat wurde geleert&8.'
  35. permission-required: true
  36. permission-node: wellmc.clearchat
  37. permission-error: "&cDu hast nicht genügend Berechtigungen!"
  38. simple_dice:
  39. command: /mycmd-dice
  40. type: TEXT
  41. text:
  42. - '&0[&6Dice&0] &eYou got &6$rnd6 !'
  43. permission-required: true
  44. permission-node: mycommand.cmd.dice
  45. permission-error: "&a$player! , &2You can't use this command!"
  46. tab_completer:
  47. command: /greets
  48. type: RUN_COMMAND
  49. runcmd:
  50. - '$broadcasttext$&0[&e$player&0]&r $multiargs'
  51. required_args: 1
  52. register: true
  53. tab_completer:
  54. - Hi
  55. - Hello!
  56. - Well Met!
  57. shortcut:
  58. command: /l
  59. type: RUN_COMMAND
  60. runcmd:
  61. - '/list'
  62. cost: 0
  63. report:
  64. command: /meldung
  65. type: RUN_COMMAND
  66. runcmd:
  67. - '/rpsend $arg1 $arg2'
  68. - '/rpsendstaff $arg1 $arg2'
  69. required_args: 2
  70. mycmd_colors:
  71. command: /mycmd-colors
  72. type: TEXT
  73. text:
  74. - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
  75. - "&nn&r &mm&r &ll&r &oo&r $random_color :D"
  76. permission-required: false
  77. shortcut_with_arguments:
  78. command: /t
  79. type: RUN_COMMAND
  80. runcmd:
  81. - '/time $arg1 $arg2'
  82. cost: 0
  83. error-message: '&cType &e/t set day'
  84. require_all_arguments: true
  85. delay_example:
  86. command: /mycmd-countdown
  87. type: RUN_COMMAND
  88. runcmd:
  89. - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
  90. - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
  91. - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
  92. - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
  93. cost: 0
  94. delaytimer: 1
  95. delaytimer_format: SECONDS
  96. bcast:
  97. command: /bc
  98. type: BROADCAST_TEXT
  99. text:
  100. - '&8[&b&lWell&3&lMC&8] &7$multiargs'
  101. permission-required: true
  102. permission-node: wellmc.broadcast
  103. permission-error: "&cDazu hast du keine Rechte!"
  104. required_args: 1
  105. broadcast_example:
  106. command: /mycmd-broadcast
  107. type: BROADCAST_TEXT
  108. text:
  109. - '&0[&e$player&0]&r $multiargs'
  110. required_args: 1
  111. run_by_console:
  112. command: /mycmd-runconsole
  113. type: RUN_CONSOLE
  114. runcmd:
  115. - /say This message is getting performed by the console.
  116. cost: 0
  117. warmups_cooldowns_info:
  118. command: /warmupsandcooldowns
  119. type: TEXT
  120. text:
  121. - 'Put your command over /warmupsandcooldowns'
  122. - 'And change type : from text to WARMUP for Warmups and COOLDOWN for Cooldowns'
  123. - 'adjust the warmup and cooldowns time with delaytimer'
  124. delaytimer: 5
  125. add_permission:
  126. command: /command-to-override
  127. type: ADD_PERMISSION
  128. text:
  129. - '$6Add an extra permission to another existing command'
  130. permission-node: permission.name
  131. cost: 0
  132. some_placeholders:
  133. command: /mycmd-playerinfo
  134. type: TEXT
  135. text:
  136. - '&2Player name : &a$player'
  137. - '&2World : &a$world'
  138. - '&2Health : &a$health &2Food : &a$food'
  139. - '&2Exp : &a$exp &2Level : &a$level'
  140. - '&2Gamemode : &a$gamemode'
  141. - '&2LastDamage : &a$lastdamage'
  142. mycmd_list_command:
  143. command: /mycmd-online
  144. type: TEXT
  145. text:
  146. - '&2There are &a$online &2players online.'
  147. - '&a $ponline'
  148. clear_chat:
  149. command: /clearchat
  150. type: BROADCAST_TEXT
  151. text:
  152. - '%Repeat%100% '
  153. - '&0[&eMyCommand&0]&b Chat clared :D'
  154. shortcut_with_multiargs:
  155. command: /mycmd-shortcut
  156. type: RUN_COMMAND
  157. runcmd:
  158. - '/say $multiargs'
  159. random_example:
  160. command: /rockpaperscissors
  161. type: RUN_COMMAND_RANDOM
  162. runcmd:
  163. - '/me Rock!'
  164. - '/me Paper!'
  165. - '/me Scissors!'
  166. iconmenu_page1:
  167. command: /iconmenu
  168. type: ICON_MENU
  169. text:
  170. - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  171. - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  172. iconmenu_title: '&cMyCommand &4ItemMenu'
  173. iconmenu_size: 27
  174. iconmenu_commands:
  175. - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
  176. - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
  177. - 9:EMERALD:0:/list:Player List:&bShow online players
  178. - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
  179. - 11:PLAYER_HEAD%$player:0:/command:Title:Description
  180. - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
  181. cost: 0
  182. delaytimer: 5
  183. iconmenu_page2:
  184. command: /iconmenu2
  185. type: ICON_MENU
  186. iconmenu_title: 'Page 2'
  187. iconmenu_size: 9
  188. iconmenu_commands:
  189. - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
  190. - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  191. cost: 0
  192. delaytimer: 5
  193. help_page_0:
  194. command: /mycmd-help
  195. type: TEXT
  196. text:
  197. - '&a ---- &6MyCommand Help &eMain Page &a----'
  198. - '&e This is the Main page of the help '
  199. - '&e Type &6/mycmd-help 2 &efor see the second page'
  200. help_page_1:
  201. command: /mycmd-help 2
  202. type: TEXT
  203. text:
  204. - '&a ---- &6MyCommand Help &ePage two &a----'
  205. - '&e And this is the page two of the help'
  206. itemcost_example:
  207. command: /itemcostexample
  208. type: TEXT
  209. text:
  210. - '$random_colorYou have spent 5 Cobblestone for see this message.'
  211. itemcost: 'COBBLESTONE:5'
  212. scoreboard_example:
  213. command: /sbexample
  214. type: SCOREBOARD
  215. text:
  216. - The Scoreboard will get removed after DelayTimer(sec). If 0 don't remove
  217. - Use $marquee$ as a prefix of the scoreboard name for scroll the text.
  218. - Use scoreboard_refresh_ticks, for determinate how frequent the plugin have to update the scoreboard.
  219. scoreboard_name: "$marquee$&1M&2y&3C&4o&5m&6m&7a&8n&9d &aS&bc&co&dr&ee&fb&0o&1a&2r&3d &nExample&r "
  220. scoreboard_text:
  221. - "4;&c&lCoordinates:"
  222. - "3;&6X:&e $locX &6Y:&e $locY &6Z:&e $locZ "
  223. - "2;&c&lPlayer Info:"
  224. - "1;&6Health: &e$health"
  225. - "0;&6Food: &e$food"
  226. scoreboard_refresh_ticks: 5
  227. delaytimer: 10
  228. bungeecord_example:
  229. command: /bungeetest
  230. type: BUNGEE_TP
  231. server_name: hub
  232. allowed_worlds_example:
  233. command: /onlynether
  234. type: TEXT
  235. text:
  236. - "&cYea,The Nether!"
  237. allowed_worlds:
  238. - world_nether
  239. per_world_commands:
  240. command: /perworldcommand
  241. type: RUN_COMMAND
  242. runcmd:
  243. - "$world=%world%/me This command will be performed only if you are in the world"
  244. - "$world=%world_nether%/me And this only if you are in the nether"
  245. permission-required: false
  246. executefor_example:
  247. command: /executeforall
  248. type: RUN_CONSOLE
  249. executefor: ONLINE_PLAYERS
  250. runcmd:
  251. - "/tp $player 0 64 0"
  252. permission-required: false
  253. ouch:
  254. command: /ouch
  255. type: RUN_COMMAND
  256. runcmd:
  257. - '%PlayerOptions%damage: 1'
  258. - '$text$&c<3'
  259. permission-required: false
  260. heal_me:
  261. command: /mycmd-heal
  262. type: RUN_COMMAND
  263. runcmd:
  264. - '%PlayerOptions%setHealth: 20'
  265. - '%PlayerOptions%setFoodLevel: 20'
  266. - '%PlayerOptions%sendMessage: &aHealed!'
  267. permission-required: false
  268. world_guard_example:
  269. command: /checkregion
  270. type: TEXT
  271. text:
  272. - 'You are in $wgregionname region!'
  273. allowed_wg_region:
  274. - 'region_name_here'
  275. custom_cmd_cooldown:
  276. command: /cooldown-example
  277. type: TEXT
  278. text:
  279. - '&aBla bla bla, type the command again for see the cooldown effect.'
  280. cooldown: 5
  281. custom_cmd_warmup:
  282. command: /warmup-example
  283. type: TEXT
  284. text:
  285. - '&aYou have waited 5 second for see this command performed'
  286. warmup: 5
  287. call_url:
  288. command: /call-url
  289. type: CALL_URL
  290. url: 'http://localhost/yourscript.php?variable=$arg1&player=$player'
  291. get_output : true
  292. show_output_ingame : true
  293. save_output_as : httpResponse
  294. script_example_420:
  295. command: /example420
  296. type: RUN_COMMAND
  297. runcmd:
  298. - $Script$%if%$arg1==password
  299. - $text$&eRight!
  300. - $Script$%if%$arg1==420
  301. - $text$&aBLAZE IT
  302. - $Script$%else%
  303. - $text$Password not correct
  304. bar_text:
  305. command: /bar_example
  306. type: BAR_API_TEXT
  307. text:
  308. - '&aHello $random_color$player'
  309. bar_seconds: 5
  310. bar_percentage: 8
  311. bar_style: SEGMENTED_20
  312. bar_flag: DARKEN_SKY
  313. bar_color: PINK
  314. rawmessage_example:
  315. command: /raw-example
  316. type: RAW_TEXT
  317. text:
  318. - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  319. - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  320. - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  321. - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
  322. lottery_example:
  323. command: /lottery_example
  324. type: RUN_COMMAND
  325. runcmd:
  326. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  327. - '$text$&6Welcome to &eMyCommand &6Lottery!'
  328. - '$delay$'
  329. - '$text$&b+------------------------------------'
  330. - '$text$&b| &2Prize of today :'
  331. - '$text$&b| &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
  332. - '$text$&b+------------------------------------'
  333. - '$text$&ePlease wait for the results!'
  334. - '$delay$$delay$$delay$'
  335. - '$delay$$text$&0[$random_colorLottery&0] &65...'
  336. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  337. - '$delay$$text$&0[$random_colorLottery&0] &64...'
  338. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  339. - '$delay$$text$&0[$random_colorLottery&0] &63...'
  340. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  341. - '$delay$$text$&0[$random_colorLottery&0] &62...'
  342. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  343. - '$delay$$text$&0[$random_colorLottery&0] &61...'
  344. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  345. - '$delay$'
  346. - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  347. - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%'
  348. - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  349. - '$delay$'
  350. - '$text$&b+------------------------------------'
  351. - '$text$&b| &6Congratulation! You won : &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
  352. - '$text$&b+------------------------------------'
  353. - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  354. delaytimer: 1
  355. dailybonus:
  356. command: /dailybonus
  357. type: RUN_COMMAND
  358. runcmd:
  359. - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  360. - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
  361. - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  362. - "%PlayerOptions%addItem: DIAMOND:1"
  363. - "$Script$%PlayerData%DailyBonus=$todaydate"
  364. - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
  365. - "$Script$%else%"
  366. - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
  367. permission-required: false
  368. broadcast_message_with_perm:
  369. command: /brmsgwithperm
  370. type: BROADCAST_TEXT
  371. text:
  372. - "Only the player with the correct permission can see this message"
  373. broadcast_message_permission_node: permission.for.see.this.message
  374. rpsend:
  375. command: /rpsend
  376. type: TEXT
  377. text:
  378. - "&7"
  379. - "&8[&cREPORT&8] &7Du hast &c$arg1 &7wegen &e$arg2 &7gemeldet&8."
  380. - "&7"
  381. rpsendstaff:
  382. command: /rpsendstaff
  383. type: BROADCAST_TEXT
  384. text:
  385. - "&7"
  386. - "&8[&cREPORT&8] &c$arg1 &7wurde von &a$player &7gemeldet&8."
  387. - "&8[&cREPORT&8] &7Grund&8: &c$arg2"
  388. - "&7"
  389. broadcast_message_permission_node: wellsky.reports.see
  390. sup:
  391. command: /sup
  392. type: TEXT
  393. text:
  394. - "&8[&b&lWell&3&lMC&8] &7Ich habe gehört du willst &9Supporter &7werden&8?"
  395. - "&8[&b&lWell&3&lMC&8] &7Du bist mindestens 12, teamfähig, hast Freude am helfen und besitzt TeamSpeak&8?"
  396. - "&8[&b&lWell&3&lMC&8] &7Dann bewerbe dich noch heute und werde &9Supporter &7bei uns&8!"
  397. dynamiciconmenu:
  398. command: /dynamiciconmenu
  399. type: ICON_MENU
  400. iconmenu_size: 36
  401. iconmenu_mode: DYNAMIC
  402. permission-required: false
  403. iconmenu_commands:
  404. - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  405. - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  406. - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  407. - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  408. - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  409. - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  410. - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  411. - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  412. - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  413. - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  414. - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
  415. - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
  416. - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
  417. - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
  418. - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
  419. - "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"
  420. - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
  421. - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
  422. - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  423. - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  424. - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  425. - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  426. - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  427. - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  428. - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  429. - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  430. - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  431. - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  432. delaytimer: 2
  433. holographic_example:
  434. command: /holoexample
  435. type: HOLOGRAPHIC_TEXT
  436. text:
  437. - "&eHello $player, how are you?"
  438. - "$random_coloryeah, i'm fineeeee thanks!"
  439. - "&dCurrent time &5$time"
  440. delaytimer: 3
  441. merchant_example:
  442. command: /mymerchant
  443. type: MERCHANT
  444. merchant_title: '&3Hello &b$player'
  445. merchant_items:
  446. - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
  447. - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
  448. - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
  449. - GOLD_BLOCK:1<cost>IRON_INGOT:10
  450. - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
  451. - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
  452. - LEVER:1
  453. - COBBLESTONE:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement