Advertisement
KingofAiming

Untitled

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