SHARE
TWEET

Untitled

TNSabi Aug 19th, 2019 (edited) 128 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. mycmd_colors:
  43.   command: /mycmd-colors
  44.   type: TEXT
  45.   text:
  46.   - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
  47.   - "&nn&r &mm&r &ll&r &oo&r $random_color :D"
  48.   permission-required: false
  49. delay_example:
  50.   command: /mycmd-countdown
  51.   type: RUN_COMMAND
  52.   runcmd:
  53.   - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
  54.   - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
  55.   - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
  56.   - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
  57.   cost: 0
  58.   delaytimer: 1
  59.   delaytimer_format: SECONDS
  60. some_placeholders:
  61.   command: /mycmd-playerinfo
  62.   type: TEXT
  63.   text:
  64.   - '&2Player name : &a$player'
  65.   - '&2World : &a$world'
  66.   - '&2Health : &a$health &2Food : &a$food'
  67.   - '&2Exp : &a$exp &2Level : &a$level'
  68.   - '&2Gamemode : &a$gamemode'
  69.   - '&2LastDamage : &a$lastdamage'
  70. mycmd_list_command:
  71.   command: /mycmd-online
  72.   type: TEXT
  73.   text:
  74.   - '&2There are &a$online &2players online.'
  75.   - '&a $ponline'
  76. clear_chat:
  77.   command: /clearchat
  78.   type: BROADCAST_TEXT
  79.   text:
  80.   - '%Repeat%100% '
  81.   - '&0[&eMyCommand&0]&b Chat cleared :D'
  82. iconmenu_page1:
  83.   command: /iconmenu
  84.   type: ICON_MENU
  85.   text:
  86.   - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
  87.   - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
  88.   iconmenu_title: '&cMyCommand &4ItemMenu'
  89.   iconmenu_size: 27
  90.   iconmenu_commands:
  91.   - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
  92.   - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
  93.   - 9:EMERALD:0:/list:Player List:&bShow online players
  94.   - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
  95.   - 11:PLAYER_HEAD%$player:0:/command:Title:Description
  96.   - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
  97.   cost: 0
  98.   delaytimer: 5
  99. iconmenu_page2:
  100.   command: /iconmenu2
  101.   type: ICON_MENU
  102.   iconmenu_title: 'Page 2'
  103.   iconmenu_size: 9
  104.   iconmenu_commands:
  105.   - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
  106.   - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
  107.   cost: 0
  108.   delaytimer: 5
  109. help_page_0:
  110.   command: /mycmd-help
  111.   type: TEXT
  112.   text:
  113.   - '&a ---- &6MyCommand Help &eMain Page &a----'
  114.   - '&e This is the Main page of the help '
  115.   - '&e Type &6/mycmd-help 2 &efor see the second page'
  116. help_page_1:
  117.   command: /mycmd-help 2
  118.   type: TEXT
  119.   text:
  120.   - '&a ---- &6MyCommand Help &ePage two &a----'
  121.   - '&e And this is the page two of the help'
  122. itemcost_example:
  123.   command: /itemcostexample
  124.   type: TEXT
  125.   text:
  126.   - '$random_colorYou have spent 5 Cobblestone for see this message.'
  127.   itemcost: 'COBBLESTONE:5'
  128. world_guard_example:
  129.   command: /checkregion
  130.   type: TEXT
  131.   text:
  132.   - 'You are in $wgregionname region!'
  133.   allowed_wg_region:
  134.   - 'region_name_here'
  135. script_example_420:
  136.   command: /example420
  137.   type: RUN_COMMAND
  138.   runcmd:
  139.   - $Script$%if%$arg1==password
  140.   - $text$&eRight!
  141.   - $Script$%if%$arg1==420
  142.   - $text$&aBLAZE IT
  143.   - $Script$%else%
  144.   - $text$Password not correct
  145. rawmessage_example:
  146.   command: /raw-example
  147.   type: RAW_TEXT
  148.   text:
  149.   - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
  150.   - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
  151.   - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
  152.   - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
  153. dynamiciconmenu:
  154.   command: /dynamiciconmenu
  155.   type: ICON_MENU
  156.   iconmenu_size: 36
  157.   iconmenu_mode: DYNAMIC
  158.   permission-required: true
  159.   iconmenu_commands:
  160.   - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  161.   - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  162.   - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  163.   - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  164.   - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  165.   - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  166.   - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  167.   - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  168.   - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  169.   - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  170.   - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
  171.   - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
  172.   - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
  173.   - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
  174.   - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
  175.   - "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"
  176.   - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
  177.   - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
  178.   - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  179.   - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  180.   - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  181.   - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  182.   - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  183.   - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  184.   - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  185.   - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  186.   - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
  187.   - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
  188.   delaytimer: 2
  189. merchant_example:
  190.   command: /mymerchant
  191.   type: MERCHANT
  192.   merchant_title: '&3Hello &b$player'
  193.   merchant_items:
  194.   - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
  195.   - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
  196.   - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
  197.   - GOLD_BLOCK:1<cost>IRON_INGOT:10
  198.   - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
  199.   - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
  200.   - LEVER:1
  201.   - COBBLESTONE:1
  202. #------------------------------#
  203. #           MY CMDS            #
  204. #------------------------------#
  205. #----------------------#
  206. #       User CMDS       #
  207. #----------------------#
  208. tp_spawn:
  209.   command: /spawn
  210.   type: RUN_CONSOLE
  211.   runcmd:
  212.   - /tp $player 51 78 17
  213.   register: true
  214.   permission-required: true
  215. redmsg:
  216.   command: /redmsg
  217.   type: BROADCAST_TEXT
  218.   text:
  219.   - '&4&l $multiargs'
  220.   register: true
  221.   required_args: 1
  222.   itemcost: 'GOLD_INGOT:10'
  223.   permission-required: false
  224. buy_gold1:
  225.   command: /buygold1
  226.   type: RUN_CONSOLE
  227.   runcmd:
  228.   - /give $player minecraft:gold_nugget 1
  229.   itemcost: 'ROTTEN_FLESH:15'
  230.   register: true
  231.   permission-required: false
  232.   error-message: '&4&lZu wenig verdorbenes Fleisch!'
  233. buy_gold5:
  234.   command: /buygold5
  235.   type: RUN_CONSOLE
  236.   runcmd:
  237.   - /give $player minecraft:gold_nugget 5
  238.   error-message: '&4&lZu wenig verdorbenes Fleisch!'
  239.   itemcost: 'ROTTEN_FLESH:64'
  240.   register: true
  241.   permission-required: false
  242. regeln:
  243.   command: /regeln
  244.   type: TEXT
  245.   text:
  246.   - '&8~&4&lREGELN&8~'
  247.   - '&11. &a&lNicht Cheaten(ClientModifikationen)'
  248.   - '&12. &a&lNicht Spammen/Beleidigen'
  249.   - '&13. &a&lKonstruktive Kritik ist erlaubt'
  250.   - '&14. &a&lAuf das Team höhren'
  251.   - '&15. &a&lTeamMitglieder belästigen ist verboten!'
  252.   - '&16. &a&lSpaß haben'
  253.   register: true
  254.   permission-required: false
  255. commands:
  256.   command: /commands
  257.   type: TEXT
  258.   text:
  259.   - '&a&lAlle Commands für User&0&l:'
  260.   - '&4&l/Regeln &8➡ &a&lZeigt dir die Regeln'
  261.   - '&4&l/Spawn &8➡ &a&lTeleportiert dich zu Spawn'
  262.   - '&4&l/redmsg &8➡ &a&lSchreib eine &c&lRote &a&lNachricht in den Chat             &e&lKosten 10 GoldIngots'
  263.   - '&4&l/buygold1 &8➡ &a&lKaufe 1 GoldNugget für 15 verdorbenes Fleisch'
  264.   - '&4&l/buygold5 &8➡ &a&lKaufe 5 GoldNugget für 64 verdorbenes Fleisch'
  265.   - '&4&l/Commands &8➡ &a&lZeigt diese liste'
  266.   - '&4&l/JoinEvent &8➡ &a&lBeim aktivem Event mitmachen'
  267.   register: true
  268.   permission-required: false
  269. joinevent:
  270.   command: /joinevent
  271.   type: RUN_CONSOLE
  272.   runcmd:
  273.   - '/scoreboard players set $player Event 1'
  274.   - '$broadcasttext$&c&l$player &a&list dem Event beigetreten!'
  275.   register: true
  276.   permission-required: true
  277. mymenu:
  278.   command: /myhelp
  279.   type: ICON_MENU
  280.   iconmenu_title: '&cMyHelp'
  281.   iconmenu_size: 27
  282.   iconmenu_commands:
  283.   - '4:WOOL:14:%stayopen%/Regeln:&4Regeln:Regeln'
  284.   - '9:GOLD_NUGGET:0:%stayopen%/buygold1:&cBuy Gold 1:Kaufe 1 GoldNugget:Für 15 verdorbenes Fleisch'
  285.   - '12:PAPER:0:%stayopen%/commands:&cCommands:Commands'
  286.   - '13:DIAMOND_BLOCK:0:/spawn:&4Spawn:Spawn'
  287.   - '14:BEACON:0:%stayopen%/joinevent:&cJoin Event:&2Dem Event beitreten'
  288.   - '18:GOLD_INGOT:0:%stayopen%/buygold5:&cBuy Gold 5:Kaufe 5 GoldNugget:Für 64 verdorbenes Fleisch'
  289.   register: true
  290.   cost: 0
  291.   permission-required: false
  292. #----------------------#
  293. #      Team CMDS       #
  294. #----------------------#
  295. startevent:
  296.   command: /startevent
  297.   type: RUN_CONSOLE
  298.   required_args: 3
  299.   runcmd:
  300.   - '$broadcasttext$&e&lDas EVENT startet!'
  301.   - '/tp @a[score_Event_min=1] $multiargs'
  302.   register: true
  303.   permission-required: true
  304. #----------------------#
  305. #      Give Rang       #
  306. #----------------------#
  307. rang_menu:
  308.   command: /rang
  309.   type: ICON_MENU
  310.   iconmenu_title: '&cRang $player'
  311.   iconmenu_size: 27
  312.   iconmenu_commands:
  313.   - '4:PUMPKIN:0:%stayopen%:$player:$player'
  314.   - '11:wool:2:%stayopen%/gmaster $arg1:&dMaster:$player'
  315.   - '12:wool:5:%stayopen%/gvip $arg1:&aVIP:$player'
  316.   - '13:wool:14:%stayopen%/glegendary $arg1:&4&lLegendary:$player'
  317.   register: true
  318.   required_args: 1
  319.   cost: 0
  320.   delaytimer: 5
  321.   permission-node: rang.menu
  322.   permission-required: true
  323. rang_master:
  324.   command: /gmaster
  325.   required_args: 1
  326.   type: RUN_COMMAND
  327.   runcmd:
  328.   - '/pex user $arg1 group add master'
  329.   permission-node: rang.master
  330.   permission-required: true
  331. rang_vip:
  332.   command: /gvip
  333.   required_args: 1
  334.   type: RUN_COMMAND
  335.   runcmd:
  336.   - '/pex user $arg1 group add legendary'
  337.   permission-node: rang.vip
  338.   permission-required: true
  339. rang_legendary:
  340.   command: /glegendary
  341.   required_args: 1
  342.   type: RUN_COMMAND
  343.   runcmd:
  344.   - '/pex user $arg1 group add legendary'
  345.   permission-node: rang.legendary
  346.   permission-required: true
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