Advertisement
KingofAiming

Untitled

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