PhilPvP

Untitled

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