SHOW:
|
|
- or go back to the newest paste.
| 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 | shortcut_with_arguments: | |
| 35 | event: | |
| 36 | command: /Event | |
| 37 | type: RUN_COMMAND | |
| 38 | runcmd: | |
| 39 | - '$delay$$broadcasttext$&eEvent &8» $random_color3' | |
| 40 | - '$delay$$broadcasttext$&eEvent &8» $random_color2' | |
| 41 | - '$delay$$broadcasttext$&eEvent &8» $random_color1' | |
| 42 | - '$delay$$broadcasttext$&eEvent &8» &bDas Event startet!' | |
| 43 | cost: 0 | |
| 44 | delaytimer: 1 | |
| 45 | delaytimer_format: SECONDS | |
| 46 | permission-required: true | |
| 47 | permission-node: system.event | |
| 48 | broadcast_example: | |
| 49 | command: /bc | |
| 50 | type: BROADCAST_TEXT | |
| 51 | text: | |
| 52 | - '&cInfo &8» &b$multiargs' | |
| 53 | required_args: 1 | |
| 54 | clear_chat: | |
| 55 | command: /cc | |
| 56 | type: BROADCAST_TEXT | |
| 57 | text: | |
| 58 | - '%Repeat%100% ' | |
| 59 | - '&cInfo &8» &eDer Chat wurde von &b$player &egeleert.' | |
| 60 | permission-required: false | |
| 61 | permission-node: system.cc | |
| 62 | dailybonus: | |
| 63 | command: /dailybonus | |
| 64 | type: RUN_COMMAND | |
| 65 | runcmd: | |
| 66 | - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%" | |
| 67 | - "$text$&bTäglicheBelohnung &8» &eHallo $player, hier ist deine TäglicheBelohnung." | |
| 68 | - "$text$&bTäglicheBelohnung &8» &eDu hast deine TäglicheBelohnung erhalten." | |
| 69 | - "%PlayerOptions%addItem: DIAMOND:1" | |
| 70 | - "$Script$%PlayerData%DailyBonus=$todaydate" | |
| 71 | - "$text$&bTäglicheBelohnung &8» &eKomme morgen wieder vorbei!" | |
| 72 | - "$Script$%else%" | |
| 73 | - "$text$&bTäglicheBelohnung &8 &e Hole dir deine TäglicheBelohnung morgen wieder ab!" | |
| 74 | permission-required: false | |
| 75 | permission-node: system.dailybonus | |
| 76 | AFK: | |
| 77 | command: /afk | |
| 78 | permission-required: true | |
| 79 | permission-node: system.afk | |
| 80 | required_args: 1 | |
| 81 | error-message: '&cServer &8┃ &7Benutze&8 × &c/afk &7[&cGrund&7]. &7Bitte schreibe nur ein Wort als Grund!' | |
| 82 | type: TEXT | |
| 83 | text: | |
| 84 | - "&cServer &8┃ &7Der Spieler &c$player &7ist nun &cAFK&7. &cGrund &8× &7$arg1" | |
| 85 | kit: | |
| 86 | command: /kit | |
| 87 | type: ICON_MENU | |
| 88 | iconmenu_size: 9 | |
| 89 | iconmenu_title: '&cKit&5-&6Menü' | |
| 90 | iconmenu_mode: ICON_MENU | |
| 91 | permission-required: true | |
| 92 | iconmenu_commands: | |
| 93 | - '0:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 94 | - '1:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 95 | - '2:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 96 | - '3:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 97 | - '4:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 98 | - '5:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 99 | - '6:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 100 | - '7:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 101 | - '8:BARRIER:15:%close%:&cSchließen: ' | |
| 102 | - '9:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 103 | ewarp: | |
| 104 | command: /ewarp | |
| 105 | type: ICON_MENU | |
| 106 | iconmenu_size: 9 | |
| 107 | iconmenu_title: '&cWarp&5-&6Menü' | |
| 108 | iconmenu_mode: ICON_MENU | |
| 109 | permission-required: true | |
| 110 | iconmenu_commands: | |
| 111 | - '0:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 112 | - '1:STAINED_GLASS_PANE:15:%stayopen$: : ' | |
| 113 | - '2:STAINED_GLASS_PANE:15:%stayopen$: : ' | |
| 114 | - '3:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 115 | - '4:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 116 | - '5:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 117 | - '6:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 118 | - '7:STAINED_GLASS_PANE:15:%stayopen%: : ' | |
| 119 | - '8:BARRIER:15:%close%:&cSchließen: ' | |
| 120 | - '9:STAINED_GLASS_PANE:15:%stayopen%: : ' |