PhilPvP

Untitled

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