PhilPvP

Untitled

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