Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------------------------------------------------------------------------------------------------------#
- # MyCommand Commands config file (last update v5.5.0) #
- # #
- # BukkitDev Help page : https://dev.bukkit.org/projects/mycommand/pages/getstarted #
- # #
- # How to make a command : (See an example command below) #
- # For first, put your command name on first line #
- # Now put your command_line name after the "command:" line. Don't forget the '/' before your command. #
- # So, now select your command type from a predefined list putting it after "type" line #
- # COMMAND TYPE LIST : #
- # TEXT , ALIAS , RUN_COMMAND , BROADCAST_TEXT , RUN_COMMAND_TEXT , RUN_COMMAND_BROADCAST_TEXT #
- # ADD_PERMISSION , WARMUP , COOLDOWN , RUN_CONSOLE , RUN_CONSOLE_RANDOM , SPOUT_TEXT #
- # RUN_COMMAND_RANDOM , RUN_ASOPERATOR , ICON_MENU , SCOREBOARD , BUNGEE_TP , SPOUT_NOTIFICATION #
- # BAR_API_TEXT , BAR_API_BROADCAST_TEXT , CALL_URL, TITLE, BROADCAST_TITLE, ACTION_BAR #
- # #
- # If your command is "TEXT" type, you can put multiple line of text below this parameter #
- # You can do the same thing with the "RUNCOMMAND" type, but instead of text, puts commands in this list #
- # For delayed command(s) add $delay$ before the command in runcmd Example : - $delay$/list #
- # Set delay time with delaytimer: 5 (5 = seconds) | #
- # If you are using the Vault plugin, you can put the "cost: 123.0" with this line. #
- # You can customize your permission node by placing "permission-node:" field in a command #
- # Also,you can change the permission error message with "permission-error:" #
- # Custom error-message for invalid args ,put "error-message:" line in a command. #
- # You can use itemcost : 'ID:AMOUNT' for set a cost with items. #
- # Register REAL commands putting "register: true" below the command. #
- # With register commands you can use the "tab_completer: - Hi - Hello!" #
- # For Scripts and more features, find more on the bukkitdev page #
- #-----------------------------------------------------------------------------------------------------------#
- gamemode_alias:
- command: /gm
- type: ALIAS
- alias: /gamemode
- permission-required: true
- simple_dice:
- command: /mycmd-dice
- type: TEXT
- text:
- - '&0[&6Dice&0] &eYou got &6$rnd6 !'
- permission-required: true
- permission-node: mycommand.cmd.dice
- permission-error: "&a$player! , &2You can't use this command!"
- mycmd_colors:
- command: /mycmd-colors
- type: TEXT
- text:
- - "&11 &22 &33 &44 &55 &66 &77 &88 &99 &00 &aa &bb &cc &dd &ee &ff"
- - "&nn&r &mm&r &ll&r &oo&r $random_color :D"
- permission-required: false
- delay_example:
- command: /mycmd-countdown
- type: RUN_COMMAND
- runcmd:
- - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
- - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
- - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
- - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
- cost: 0
- delaytimer: 1
- delaytimer_format: SECONDS
- some_placeholders:
- command: /mycmd-playerinfo
- type: TEXT
- text:
- - '&2Player name : &a$player'
- - '&2World : &a$world'
- - '&2Health : &a$health &2Food : &a$food'
- - '&2Exp : &a$exp &2Level : &a$level'
- - '&2Gamemode : &a$gamemode'
- - '&2LastDamage : &a$lastdamage'
- mycmd_list_command:
- command: /mycmd-online
- type: TEXT
- text:
- - '&2There are &a$online &2players online.'
- - '&a $ponline'
- clear_chat:
- command: /clearchat
- type: BROADCAST_TEXT
- text:
- - '%Repeat%100% '
- - '&0[&eMyCommand&0]&b Chat cleared :D'
- iconmenu_page1:
- command: /iconmenu
- type: ICON_MENU
- text:
- - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
- - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
- iconmenu_title: '&cMyCommand &4ItemMenu'
- iconmenu_size: 27
- iconmenu_commands:
- - 0:GOLDEN_APPLE:0:/help:&2Help:&aOpen the help menu
- - 1:COMPASS;DAMAGE_ALL;1:0:/mycmd:Menu:MyCommand menu
- - 9:EMERALD:0:/list:Player List:&bShow online players
- - 10:LEGACY_WATCH:0:/time set 0:Day:Turn day
- - 11:PLAYER_HEAD%$player:0:/command:Title:Description
- - 26:LEGACY_WOOL:11:%openiconmenu%/iconmenu2:Next Page:&cChange IconMenu Page;&a--------->
- cost: 0
- delaytimer: 5
- iconmenu_page2:
- command: /iconmenu2
- type: ICON_MENU
- iconmenu_title: 'Page 2'
- iconmenu_size: 9
- iconmenu_commands:
- - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
- - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
- cost: 0
- delaytimer: 5
- help_page_0:
- command: /mycmd-help
- type: TEXT
- text:
- - '&a ---- &6MyCommand Help &eMain Page &a----'
- - '&e This is the Main page of the help '
- - '&e Type &6/mycmd-help 2 &efor see the second page'
- help_page_1:
- command: /mycmd-help 2
- type: TEXT
- text:
- - '&a ---- &6MyCommand Help &ePage two &a----'
- - '&e And this is the page two of the help'
- itemcost_example:
- command: /itemcostexample
- type: TEXT
- text:
- - '$random_colorYou have spent 5 Cobblestone for see this message.'
- itemcost: 'COBBLESTONE:5'
- world_guard_example:
- command: /checkregion
- type: TEXT
- text:
- - 'You are in $wgregionname region!'
- allowed_wg_region:
- - 'region_name_here'
- script_example_420:
- command: /example420
- type: RUN_COMMAND
- runcmd:
- - $Script$%if%$arg1==password
- - $text$&eRight!
- - $Script$%if%$arg1==420
- - $text$&aBLAZE IT
- - $Script$%else%
- - $text$Password not correct
- rawmessage_example:
- command: /raw-example
- type: RAW_TEXT
- text:
- - '&aHello &b$player! &aHover your mouse over me!; &dMAGIC'
- - '&0[&d*&0]&e Click me; &eClick Here for suggest the command &d/mycmd;/mycmd'
- - '$RUN_COMMAND$&0[&e*&0]&c Set the time to day; &eClick for Execute;/time set day'
- - '$OPEN_URL$&0[&e*&0]$random_color Open Google.com; &eClick for open;http://www.google.com'
- dynamiciconmenu:
- command: /dynamiciconmenu
- type: ICON_MENU
- iconmenu_size: 36
- iconmenu_mode: DYNAMIC
- permission-required: true
- iconmenu_commands:
- - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
- - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
- - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
- - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
- - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
- - "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"
- - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
- - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
- - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
- - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
- delaytimer: 2
- merchant_example:
- command: /mymerchant
- type: MERCHANT
- merchant_title: '&3Hello &b$player'
- merchant_items:
- - STONE_SWORD:1:0:DAMAGE_ALL;1;FIRE_ASPECT;1:&3Old Sword:&bA very old sword<cost>GOLD_INGOT:20<max_uses>2
- - STONE_SWORD:1<cost>EMERALD:5<max_uses>4
- - IRON_BLOCK:1<cost>EMERALD:1<cost>GOLD_INGOT:1
- - GOLD_BLOCK:1<cost>IRON_INGOT:10
- - EMERALD_BLOCK:1<cost>GOLD_INGOT:50
- - DIAMOND_BLOCK:1<cost>GOLD_INGOT:50<cost>EMERALD:50
- - LEVER:1
- - COBBLESTONE:1
- #------------------------------#
- # MY CMDS #
- #------------------------------#
- #----------------------#
- # User CMDS #
- #----------------------#
- tp_spawn:
- command: /spawn
- type: RUN_CONSOLE
- runcmd:
- - /tp $player 169 75 489
- register: true
- permission-node: tp.spawn
- permission-required: true
- redmsg:
- command: /redmsg
- type: BROADCAST_TEXT
- text:
- - '&4&l $multiargs'
- register: true
- required_args: 1
- itemcost: 'GOLD_INGOT:10'
- permission-required: false
- buy_gold1:
- command: /buygold1
- type: RUN_CONSOLE
- runcmd:
- - /give $player minecraft:gold_nugget 1
- itemcost: 'ROTTEN_FLESH:15'
- register: true
- permission-required: false
- error-message: '&4&lZu wenig verdorbenes Fleisch!'
- buy_gold5:
- command: /buygold5
- type: RUN_CONSOLE
- runcmd:
- - /give $player minecraft:gold_nugget 5
- error-message: '&4&lZu wenig verdorbenes Fleisch!'
- itemcost: 'ROTTEN_FLESH:64'
- register: true
- permission-required: false
- regeln:
- command: /regeln
- type: TEXT
- text:
- - '&8~&4&lREGELN&8~'
- - '&11. &a&lNicht Cheaten(ClientModifikationen)'
- - '&12. &a&lNicht Spammen/Beleidigen'
- - '&13. &a&lKonstruktive Kritik ist erlaubt'
- - '&14. &a&lAuf das Team höhren'
- - '&15. &a&lTeamMitglieder belästigen ist verboten!'
- - '&16. &a&lSpaß haben'
- register: true
- permission-required: false
- commands:
- command: /commands
- type: TEXT
- text:
- - '&a&lAlle Commands für User&0&l:'
- - '&4&l/Regeln &8➡ &a&lZeigt dir die Regeln'
- - '&4&l/Spawn &8➡ &a&lTeleportiert dich zu Spawn'
- - '&4&l/redmsg &8➡ &a&lSchreib eine &c&lRote &a&lNachricht in den Chat &e&lKosten 10 GoldIngots'
- - '&4&l/buygold1 &8➡ &a&lKaufe 1 GoldNugget für 15 verdorbenes Fleisch'
- - '&4&l/buygold5 &8➡ &a&lKaufe 5 GoldNugget für 64 verdorbenes Fleisch'
- - '&4&l/Commands &8➡ &a&lZeigt diese liste'
- - '&4&l/JoinEvent &8➡ &a&lBeim aktivem Event mitmachen'
- register: true
- permission-required: false
- joinevent:
- command: /joinevent
- type: RUN_CONSOLE
- runcmd:
- - '/scoreboard players set $player Event 1'
- - '$broadcasttext$&c&l$player &a&list dem Event beigetreten!'
- register: true
- permission-node: event.join
- permission-required: true
- mymenu:
- command: /myhelp
- type: ICON_MENU
- iconmenu_title: '&cMyHelp'
- iconmenu_size: 27
- iconmenu_commands:
- - '4:WOOL:14:%stayopen%/Regeln:&4Regeln:Regeln'
- - '9:GOLD_NUGGET:0:%stayopen%/buygold1:&cBuy Gold 1:Kaufe 1 GoldNugget:Für 15 verdorbenes Fleisch'
- - '12:PAPER:0:%stayopen%/commands:&cCommands:Commands'
- - '13:DIAMOND_BLOCK:0:/spawn:&4Spawn:Spawn'
- - '14:BEACON:0:%stayopen%/joinevent:&cJoin Event:&2Dem Event beitreten'
- - '18:GOLD_INGOT:0:%stayopen%/buygold5:&cBuy Gold 5:Kaufe 5 GoldNugget:Für 64 verdorbenes Fleisch'
- register: true
- cost: 0
- permission-required: false
- #----------------------#
- # Team CMDS #
- #----------------------#
- cc:
- command: /cc
- type: RUN_COMMAND
- runcmd:
- - '/tellraw @p ["",{"text":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"},{"text":"Der Chat wurde von ","color":"green"},{"selector":"@p","color":"dark_purple","bold":true},{"text":"gecleart!","color":"green","bold":false}]'
- permission-required: true
- permission-node: cc
- register: true
- fly:
- command: /fly
- type: RUN_CONSOLE
- runcmd:
- - '%PlayerOptions%setFlying: true'
- - '$text$&4&lHacker'
- permission-required: true
- permission-node: fly
- register: true
- killmob:
- command: /killmob
- type: RUN_CONSOLE
- runcmd:
- - '/kill @e[type=!Player]'
- - '$text$&eAlle Entitys Deinstalliert!'
- permission-required: true
- permission-node: mob.kill
- register: true
- sun:
- command: /sun
- type: RUN_CONSOLE
- runcmd:
- - '/weather clear'
- - '/time set day'
- - '$text$&eMoin Servus Moin'
- permission-required: true
- permission-node: weather.sun
- register: true
- startevent:
- command: /startevent
- type: RUN_CONSOLE
- required_args: 3
- runcmd:
- - '$broadcasttext$&e&lDas EVENT startet!'
- - '/tp @a[score_Event_min=1] $multiargs'
- register: true
- permission-node: event.start
- permission-required: true
- #----------------------#
- # Give Rang #
- #----------------------#
- rang_menu:
- command: /rang
- type: ICON_MENU
- iconmenu_title: '&cRang $arg1'
- iconmenu_size: 27
- iconmenu_commands:
- - '4:PUMPKIN:0:%stayopen%:$player:$arg1'
- - '12:WOOL:2:%stayopen%/gmaster $arg1:&dMaster:$player'
- - '13:WOOL:5:%stayopen%/gvip $arg1:&aVIP:$player'
- - '14:WOOL:14:%stayopen%/glegendary $arg1:&4&lLegendary:$player'
- register: true
- required_args: 1
- cost: 0
- delaytimer: 5
- permission-node: rang.menu
- permission-required: true
- rang_master:
- command: /gmaster
- required_args: 1
- type: RUN_COMMAND
- runcmd:
- - '/pex user $arg1 group add master'
- permission-node: rang.master
- permission-required: true
- rang_vip:
- command: /gvip
- required_args: 1
- type: RUN_COMMAND
- runcmd:
- - '/pex user $arg1 group add legendary'
- permission-node: rang.vip
- permission-required: true
- rang_legendary:
- command: /glegendary
- required_args: 1
- type: RUN_COMMAND
- runcmd:
- - '/pex user $arg1 group add legendary'
- permission-node: rang.legendary
- permission-required: true
- #----------------------#
- # Punish #
- #----------------------#
- punish_menu:
- command: /punish
- type: ICON_MENU
- iconmenu_title: '&cPunish $arg1'
- iconmenu_size: 27
- iconmenu_commands:
- - '4:PUMPKIN:0:%stayopen%:&c$arg1:$arg1'
- - '12:STONE_AXE:0:%stayopen%/mykick $arg1:&cMyKick:$arg1'
- - '14:PACKED_ICE:0:%stayopen%/freeze $arg1:&3Freeze:$arg1'
- - '13:IRON_AXE:0:%stayopen%/myban $arg1:&cMyBan:$arg1'
- - '22:LAVA_BUCKET:0:%stayopen%/unfreeze $arg1:&3UnFreeze:$arg1'
- register: true
- required_args: 1
- cost: 0
- delaytimer: 5
- permission-node: punish.menu
- permission-required: true
- mykick:
- command: /mykick
- type: RUN_CONSOLE
- runcmd:
- - '/minecraft:kick $arg1'
- - '$text$&c$arg1 &ewurde gekickt!'
- required_args: 1
- permission-node: punish.kick
- permission-required: true
- myban:
- command: /myban
- type: RUN_CONSOLE
- runcmd:
- - '/minecraft:ban $arg1'
- - '$text$&c$player &ewurde gebannt!'
- - '$broadcasttext$&c$arg1 &ewurde gebannt!'
- required_args: 1
- permission-node: punish.ban
- permission-required: true
- freeze:
- command: /freeze
- type: RUN_CONSOLE
- runcmd:
- - '/effect $arg1 minecraft:jump_boost 1000000 200'
- - '/effect $arg1 minecraft:blindness 1000000 20'
- - '/effect $arg1 minecraft:slowness 1000000 100'
- required_args: 1
- permission-required: true
- permission-node: punish.freeze
- unfreeze:
- command: /unfreeze
- type: RUN_CONSOLE
- runcmd:
- - '/effect $arg1 clear'
- required_args: 1
- permission-required: true
- permission-node: punish.unfreeze
- #---------------#
- # Kits #
- #---------------#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement