PhilPvP

Untitled

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