SHARE
TWEET

Untitled

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