Advertisement
KingofAiming

Untitled

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