Advertisement
Guest User

Untitled

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