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 | #----------------------# | |
35 | # Punish # | |
36 | #----------------------# | |
37 | punish_menu: | |
38 | command: /punish | |
39 | type: ICON_MENU | |
40 | iconmenu_title: '&cPunish $arg1' | |
41 | iconmenu_size: 56 | |
42 | iconmenu_commands: | |
43 | - '4:PUMPKIN:0:%stayopen%:&c$arg1' | |
44 | - '13:STONE_AXE:0:%stayopen%/myban $arg1:&cBan:$arg1' | |
45 | - '22:IRON_AXE:0:%stayopen%/mykick $arg1:&cKick:$arg1' | |
46 | - '1:REDSTONE_BLOCK:0:%stayopen%/mymute5min $arg1:&3Mute &c5min:$arg1' | |
47 | - '10:REDSTONE_BLOCK:0:%stayopen%/mymute30min $arg1:&3Mute &c30min:$arg1' | |
48 | - '19:REDSTONE_BLOCK:0:%stayopen%/mymute1h $arg1:&3Mute &c1h:$arg1' | |
49 | - '28:REDSTONE_BLOCK:0:%stayopen%/mymute2h $arg1:&3Mute &c2h:$arg1' | |
50 | - '37:REDSTONE_BLOCK:0:%stayopen%/mymute6h $arg1:&3Mute &c6h:$arg1' | |
51 | - '11:REDSTONE_BLOCK:0:%stayopen%/mymute12h $arg1:&3Mute &c12h:$arg1' | |
52 | - '20:REDSTONE_BLOCK:0:%stayopen%/mymute24h $arg1:&3Mute &c1 Tag:$arg1' | |
53 | - '29:REDSTONE_BLOCK:0:%stayopen%/mymute8 $arg1:&3Mute Lifetime:$arg1' | |
54 | register: true | |
55 | required_args: 1 | |
56 | cost: 0 | |
57 | delaytimer: 5 | |
58 | permission-node: punish.menu | |
59 | permission-required: true | |
60 | mykick: | |
61 | command: /mykick | |
62 | type: RUN_CONSOLE | |
63 | runcmd: | |
64 | - '/ekick $arg1' | |
65 | - '$text$&c$arg1 &ewurde gekickt!' | |
66 | required_args: 1 | |
67 | permission-node: punish.kick | |
68 | permission-required: true | |
69 | mute5min: | |
70 | command: /mymute5min | |
71 | type: RUN_CONSOLE | |
72 | runcmd: | |
73 | - '/emute $arg1 5min' | |
74 | - '$text$&c$arg1 &ewurde gemuted!' | |
75 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für 5 Minuten stummgeschaltet!","color":"green"}]' | |
76 | required_args: 1 | |
77 | permission-node: punish.mute5 | |
78 | permission-required: true | |
79 | mute30min: | |
80 | command: /mymute30min | |
81 | type: RUN_CONSOLE | |
82 | runcmd: | |
83 | - '/emute $arg1 30min' | |
84 | - '$text$&c$arg1 &ewurde gemuted!' | |
85 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für 30 Minuten stummgeschaltet!","color":"green"}]' | |
86 | required_args: 1 | |
87 | permission-node: punish.mute30 | |
88 | permission-required: true | |
89 | mute1h: | |
90 | command: /mymute1h | |
91 | type: RUN_CONSOLE | |
92 | runcmd: | |
93 | - '/emute $arg1 1h' | |
94 | - '$text$&c$arg1 &ewurde gemuted!' | |
95 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für eine Stunde stummgeschaltet!","color":"green"}]' | |
96 | required_args: 1 | |
97 | permission-node: punish.mute1 | |
98 | permission-required: true | |
99 | mute2h: | |
100 | command: /mymute2h | |
101 | type: RUN_CONSOLE | |
102 | runcmd: | |
103 | - '/emute $arg1 2h' | |
104 | - '$text$&c$arg1 &ewurde gemuted!' | |
105 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für zwei Stunden stummgeschaltet!","color":"green"}]' | |
106 | required_args: 1 | |
107 | permission-node: punish.mute2 | |
108 | permission-required: true | |
109 | mute6h: | |
110 | command: /mymute6h | |
111 | type: RUN_CONSOLE | |
112 | runcmd: | |
113 | - '/emute $arg1 6h' | |
114 | - '$text$&c$arg1 &ewurde gemuted!' | |
115 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für 6 Stunden stummgeschaltet!","color":"green"}]' | |
116 | required_args: 1 | |
117 | permission-node: punish.mute6 | |
118 | permission-required: true | |
119 | mute12h: | |
120 | command: /mymute12h | |
121 | type: RUN_CONSOLE | |
122 | runcmd: | |
123 | - '/emute $arg1 12h' | |
124 | - '$text$&c$arg1 &ewurde gemuted!' | |
125 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für 12 Stunden stummgeschaltet!","color":"green"}]' | |
126 | required_args: 1 | |
127 | permission-node: punish.mute12 | |
128 | permission-required: true | |
129 | mute24h: | |
130 | command: /mymute24h | |
131 | type: RUN_CONSOLE | |
132 | runcmd: | |
133 | - '/emute $arg1 24h' | |
134 | - '$text$&c$arg1 &ewurde gemuted!' | |
135 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde für einen Tag stummgeschaltet!","color":"green"}]' | |
136 | required_args: 1 | |
137 | permission-node: punish.mute24 | |
138 | permission-required: true | |
139 | mute8: | |
140 | command: /mymute8 | |
141 | type: RUN_CONSOLE | |
142 | runcmd: | |
143 | - '/emute $arg1' | |
144 | - '$text$&c$arg1 &ewurde gemuted!' | |
145 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde stummgeschaltet!","color":"green"}]' | |
146 | required_args: 1 | |
147 | permission-node: punish.mute8 | |
148 | permission-required: true | |
149 | myban: | |
150 | command: /myban | |
151 | type: RUN_CONSOLE | |
152 | runcmd: | |
153 | - '/eban $arg1' | |
154 | - '$text$&c$arg1 &ewurde gebannt!' | |
155 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"[","bold":true,"color":"dark_gray"},{"text":"Team","bold":true,"color":"red"},{"text":"]","bold":true,"color":"dark_gray"},{"text":" My","bold":true,"color":"green"},{"text":"Farm","bold":true,"color":"dark_green"},{"text":" »","color":"dark_gray"},{"text":" Der Spieler ","color":"green"},{"text":"$arg1","italic":true,"color":"red"},{"text":" wurde gebannt!","color":"green"}]' | |
156 | required_args: 1 | |
157 | permission-node: punish.ban | |
158 | permission-required: true | |
159 | rankmanager: | |
160 | command: /rang | |
161 | type: ICON_MENU | |
162 | iconmenu_title: '&c&lRangmanager' | |
163 | iconmenu_size: 57 | |
164 | iconmenu_commands: | |
165 | - '4:SKULL_ITEM%$multiargs:0:%stayopen%:&a$multiargs' | |
166 | - '19:STONE:0:/groupplayer $arg1:&7Spieler' | |
167 | - '20:GOLD_INGOT:0:/grouppremium $arg1:&6Premium' | |
168 | - '21:YELLOW_FLOWER:0:/groupfreund $arg1:&dFreund' | |
169 | - '23:STONE_SWORD:0:%openiconmenu%/groupJrSup $multiargs:&9JrSupporter' | |
170 | - '24:STONE_SWORD:0:%openiconmenu%/groupSup $multiargs:&9Supporter' | |
171 | - '31:STONE_AXE:0:%openiconmenu%/groupBuild $multiargs:&3Builder' | |
172 | - '33:REDSTONE_BLOCK:0:%openiconmenu%/groupDev $multiargs:&bDeveloper' | |
173 | - '40:DIAMOND_SWORD:0:%openiconmenu%/groupAdmin $multiargs:&cAdmin' | |
174 | cost: 0 | |
175 | required_args: 1 | |
176 | permission-required: true | |
177 | permission-node: system.openmanager | |
178 | groupPlayer: | |
179 | command: /groupplayer | |
180 | type: RUN_CONSOLE | |
181 | runcmd: | |
182 | - 'pex user $arg1 group set spieler' | |
183 | - 'scoreboard players set $arg1 TEAM 0' | |
184 | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun wieder ein &7Spieler&a.' | |
185 | permission-required: true | |
186 | required-args: 1 | |
187 | permission-node: system.manage.player | |
188 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
189 | groupPremium: | |
190 | command: /grouppremium | |
191 | type: RUN_CONSOLE | |
192 | runcmd: | |
193 | - 'pex user $arg1 group set premium' | |
194 | - 'scoreboard players set $arg1 TEAM 0' | |
195 | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &6&lPremium&a!' | |
196 | permission-required: true | |
197 | required-args: 1 | |
198 | permission-node: system.manage.premium | |
199 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
200 | groupFreund: | |
201 | command: /groupfreund | |
202 | type: RUN_CONSOLE | |
203 | runcmd: | |
204 | - 'pex user $arg1 group set freund' | |
205 | - 'scoreboard players set $arg1 TEAM 0' | |
206 | - | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &3&lFreund&a!' |
206 | + | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &d&lFreund&a!' |
207 | permission-required: true | |
208 | required-args: 1 | |
209 | permission-node: system.manage.freund | |
210 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
211 | groupJrSup: | |
212 | command: /groupjrsup | |
213 | type: RUN_CONSOLE | |
214 | runcmd: | |
215 | - 'pex user $arg1 group set jrsup' | |
216 | - 'scoreboard players set $arg1 TEAM 1' | |
217 | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &9&lJrSupporter&a!' | |
218 | permission-required: true | |
219 | required-args: 1 | |
220 | permission-node: system.manage.jrsup | |
221 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
222 | groupSup: | |
223 | command: /groupsup | |
224 | type: RUN_CONSOLE | |
225 | runcmd: | |
226 | - 'pex user $arg1 group set sup' | |
227 | - 'scoreboard players set $arg1 TEAM 1' | |
228 | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &9&lSupporter&a!' | |
229 | permission-required: true | |
230 | required-args: 1 | |
231 | permission-node: system.manage.sup | |
232 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
233 | groupBuilder: | |
234 | command: /groupbuild | |
235 | type: RUN_CONSOLE | |
236 | runcmd: | |
237 | - 'pex user $arg1 group set builder' | |
238 | - 'scoreboard players set $arg1 TEAM 1' | |
239 | - | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &3&lBuilder&a!' |
239 | + | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &2&lBuilder&a!' |
240 | permission-required: true | |
241 | required-args: 1 | |
242 | permission-node: system.manage.builder | |
243 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
244 | groupDev: | |
245 | command: /groupdev | |
246 | type: RUN_CONSOLE | |
247 | runcmd: | |
248 | - 'pex user $arg1 group set dev' | |
249 | - 'scoreboard players set $arg1 TEAM 1' | |
250 | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &b&lDev&a!' | |
251 | permission-required: true | |
252 | required-args: 1 | |
253 | permission-node: system.manage.dev | |
254 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
255 | groupAdmin: | |
256 | command: /groupadmin | |
257 | type: RUN_CONSOLE | |
258 | runcmd: | |
259 | - 'pex user $arg1 group set admin' | |
260 | - 'scoreboard players set $arg1 TEAM 1' | |
261 | - '$broadcasttext$ &8&l[&c&lSYSTEM&8&l] &a $arg1 ist nun &c&lAdmin&a!' | |
262 | permission-required: true | |
263 | required-args: 1 | |
264 | permission-node: system.manage.admin | |
265 | permission-error: "&6Rangmanager &8× &cDu hast nicht genügend Rechte!" | |
266 | report: | |
267 | command: /myreport | |
268 | type: RUN_CONSOLE | |
269 | runcmd: | |
270 | - '/tellraw @a[score_TEAM_min=1] ["",{"text":"Report","bold":true,"color":"red"},{"text":"\u2503","color":"dark_gray"},{"text":" $player braucht deine Hilfe!","color":"gray"},{"text":"\n"},{"text":"Report","bold":true,"color":"red"},{"text":"\u2503","color":"dark_gray"},{"text":" Grund ","color":"gray"},{"text":"»","color":"dark_gray"},{"text":" $arg2","color":"yellow"},{"text":"\n"},{"text":"Report","bold":true,"color":"red"},{"text":"\u2503","color":"dark_gray"},{"text":" Spieler ","color":"gray"},{"text":"» ","color":"dark_gray"},{"text":"$arg1","color":"yellow"},{"text":"\n"},{"text":"Report","bold":true,"color":"red"},{"text":"\u2503","color":"dark_gray"},{"text":" Klicke hier um den Report zu bearbeiten.","italic":true,"underlined":true,"color":"yellow","clickEvent":{"action":"run_command","value":"/tp $arg1"},"hoverEvent":{"action":"show_text","value":"Teleport dich zu dem Spieler!"}}]' | |
271 | required_args: 2 | |
272 | error-message: '&c&lReport &8» &7Benutze: &e/myreport <Name> <Grund>' | |
273 | permission-required: false | |
274 | freeze: | |
275 | command: /freeze | |
276 | type: RUN_CONSOLE | |
277 | runcmd: | |
278 | - '$text$&3$arg1 wurde eingefroren!' | |
279 | - '/effect $arg1 minecraft:jump_boost 1000000 200' | |
280 | - '/effect $arg1 minecraft:blindness 1000000 20' | |
281 | - '/effect $arg1 minecraft:slowness 1000000 100' | |
282 | register: true | |
283 | required_args: 1 | |
284 | permission-required: true | |
285 | permission-node: punish.freeze | |
286 | unfreeze: | |
287 | command: /unfreeze | |
288 | type: RUN_CONSOLE | |
289 | runcmd: | |
290 | - '$text$&b$arg1 wurde aufgefroren!' | |
291 | - '/effect $arg1 clear' | |
292 | register: true | |
293 | required_args: 1 | |
294 | permission-required: true | |
295 | permission-node: punish.unfreeze | |
296 | Discord: | |
297 | command: /Discord | |
298 | type: RUN_CONSOLE | |
299 | runcmd: | |
300 | - '/tellraw $player ["",{"text":"[","color":"yellow","bold":true},{"text":"Discord","color":"dark_aqua","clickEvent":{"action":"open_url","value":"https://discord.gg/Be3GhMF"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hier Klicken","color":"green"}]}},"bold":false},{"text":"]","color":"yellow","bold":true}]' | |
301 | permission-required: false |