Advertisement
KingofAiming

Untitled

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