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
- tp_spawn:
- command: /spawn
- type: RUN_CONSOLE
- runcmd:
- - /tp @p 51 78 17
- shoutout:
- command: /shoutout
- type: TEXT
- text:
- - '&4&l $arg1'
- itemcost: 'GOLD_INGOT:10'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement