Advertisement
KingofAiming

Untitled

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