Advertisement
KingofAiming

Untitled

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