View difference between Paste ID: ZEfK0Wdk and Ty8iTYhX
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
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 169 75 489
213
  register: true
214
  permission-node: tp.spawn
215
  permission-required: true
216
redmsg:
217
  command: /redmsg
218
  type: BROADCAST_TEXT
219
  text:
220
  - '&4&l $multiargs'
221
  register: true
222
  required_args: 1
223
  itemcost: 'GOLD_INGOT:10'
224
  permission-required: false
225
buy_gold1:
226
  command: /buygold1
227
  type: RUN_CONSOLE
228
  runcmd:
229
  - /give $player minecraft:gold_nugget 1
230
  itemcost: 'ROTTEN_FLESH:15'
231
  register: true
232
  permission-required: false
233
  error-message: '&4&lZu wenig verdorbenes Fleisch!'
234
buy_gold5:
235
  command: /buygold5
236
  type: RUN_CONSOLE
237
  runcmd:
238
  - /give $player minecraft:gold_nugget 5
239
  error-message: '&4&lZu wenig verdorbenes Fleisch!'
240
  itemcost: 'ROTTEN_FLESH:64'
241
  register: true
242
  permission-required: false
243
regeln:
244
  command: /regeln
245
  type: TEXT
246
  text:
247
  - '&8~&4&lREGELN&8~'
248
  - '&11. &a&lNicht Cheaten(ClientModifikationen)'
249
  - '&12. &a&lNicht Spammen/Beleidigen'
250
  - '&13. &a&lKonstruktive Kritik ist erlaubt'
251
  - '&14. &a&lAuf das Team höhren'
252
  - '&15. &a&lTeamMitglieder belästigen ist verboten!'
253
  - '&16. &a&lSpaß haben'
254
  register: true
255
  permission-required: false
256
commands:
257
  command: /commands
258
  type: TEXT
259
  text:
260
  - '&a&lAlle Commands für User&0&l:'
261
  - '&4&l/Regeln &8➡ &a&lZeigt dir die Regeln'
262
  - '&4&l/Spawn &8➡ &a&lTeleportiert dich zu Spawn'
263
  - '&4&l/redmsg &8➡ &a&lSchreib eine &c&lRote &a&lNachricht in den Chat             &e&lKosten 10 GoldIngots'
264
  - '&4&l/buygold1 &8➡ &a&lKaufe 1 GoldNugget für 15 verdorbenes Fleisch'
265
  - '&4&l/buygold5 &8➡ &a&lKaufe 5 GoldNugget für 64 verdorbenes Fleisch'
266
  - '&4&l/Commands &8➡ &a&lZeigt diese liste'
267
  - '&4&l/JoinEvent &8➡ &a&lBeim aktivem Event mitmachen'
268
  register: true
269
  permission-required: false
270
joinevent:
271
  command: /joinevent
272
  type: RUN_CONSOLE
273
  runcmd:
274
  - '/scoreboard players set $player Event 1'
275
  - '$broadcasttext$&c&l$player &a&list dem Event beigetreten!'
276
  register: true
277
  permission-node: event.join
278
  permission-required: true
279
mymenu:
280
  command: /myhelp
281
  type: ICON_MENU
282
  iconmenu_title: '&cMyHelp'
283
  iconmenu_size: 27
284
  iconmenu_commands:
285
  - '4:WOOL:14:%stayopen%/Regeln:&4Regeln:Regeln'
286
  - '9:GOLD_NUGGET:0:%stayopen%/buygold1:&cBuy Gold 1:Kaufe 1 GoldNugget:Für 15 verdorbenes Fleisch'
287
  - '12:PAPER:0:%stayopen%/commands:&cCommands:Commands'
288
  - '13:DIAMOND_BLOCK:0:/spawn:&4Spawn:Spawn'
289
  - '14:BEACON:0:%stayopen%/joinevent:&cJoin Event:&2Dem Event beitreten'
290
  - '18:GOLD_INGOT:0:%stayopen%/buygold5:&cBuy Gold 5:Kaufe 5 GoldNugget:Für 64 verdorbenes Fleisch'
291
  register: true
292
  cost: 0
293
  permission-required: false
294
#----------------------#
295
#      Team CMDS       #
296
#----------------------#
297
cc:
298
  command: /cc
299
  type: RUN_COMMAND
300
  runcmd:
301
  - '/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}]'
302
  permission-required: true
303
  permission-node: cc
304
  register: true
305
fly:
306
  command: /fly
307
  type: RUN_CONSOLE
308
  runcmd:
309
  - '%PlayerOptions%setFlying: true'
310
  - '$text$&4&lHacker'
311
  permission-required: true
312
  permission-node: fly
313
  register: true
314
killmob:
315
  command: /killmob
316
  type: RUN_CONSOLE
317
  runcmd:
318
  - '/kill @e[type=!Player]'
319
  - '$text$&eAlle Entitys Deinstalliert!'
320
  permission-required: true
321
  permission-node: mob.kill
322
  register: true
323
sun:
324
  command: /sun
325
  type: RUN_CONSOLE
326
  runcmd:
327
  - '/weather clear'
328
  - '/time set day'
329
  - '$text$&eMoin Servus Moin'
330
  permission-required: true
331
  permission-node: weather.sun
332
  register: true
333
startevent:
334
  command: /startevent
335
  type: RUN_CONSOLE
336
  required_args: 3
337
  runcmd:
338
  - '$broadcasttext$&e&lDas EVENT startet!'
339
  - '/tp @a[score_Event_min=1] $multiargs'
340
  register: true
341
  permission-node: event.start
342
  permission-required: true
343
#----------------------#
344
#      Give Rang       #
345
#----------------------#
346
rang_menu:
347
  command: /rang
348
  type: ICON_MENU
349
  iconmenu_title: '&cRang $arg1'
350
  iconmenu_size: 27
351
  iconmenu_commands:
352
  - '4:PUMPKIN:0:%stayopen%:$player:$arg1'
353
  - '12:WOOL:2:%stayopen%/gmaster $arg1:&dMaster:$player'
354
  - '13:WOOL:5:%stayopen%/gvip $arg1:&aVIP:$player'
355
  - '14:WOOL:14:%stayopen%/glegendary $arg1:&4&lLegendary:$player'
356
  register: true
357
  required_args: 1
358
  cost: 0
359
  delaytimer: 5
360
  permission-node: rang.menu
361
  permission-required: true
362
rang_master:
363
  command: /gmaster
364
  required_args: 1
365
  type: RUN_COMMAND
366
  runcmd:
367
  - '/pex user $arg1 group add master'
368
  permission-node: rang.master
369
  permission-required: true
370
rang_vip:
371
  command: /gvip
372
  required_args: 1
373
  type: RUN_COMMAND
374
  runcmd:
375
  - '/pex user $arg1 group add legendary'
376
  permission-node: rang.vip
377
  permission-required: true
378
rang_legendary:
379
  command: /glegendary
380
  required_args: 1
381
  type: RUN_COMMAND
382
  runcmd:
383
  - '/pex user $arg1 group add legendary'
384
  permission-node: rang.legendary
385
  permission-required: true
386
#----------------------#
387
#       Punish         #
388
#----------------------#
389
punish_menu:
390
  command: /punish
391
  type: ICON_MENU
392
  iconmenu_title: '&cPunish $arg1'
393
  iconmenu_size: 27
394
  iconmenu_commands:
395
  - '4:PUMPKIN:0:%stayopen%:&c$arg1:$arg1'
396
  - '12:STONE_AXE:0:%stayopen%/mykick $arg1:&cMyKick:$arg1'
397
  - '14:PACKED_ICE:0:%stayopen%/freeze $arg1:&3Freeze:$arg1'
398
  - '13:IRON_AXE:0:%stayopen%/myban $arg1:&cMyBan:$arg1'
399
  - '22:LAVA_BUCKET:0:%stayopen%/unfreeze $arg1:&3UnFreeze:$arg1'
400
  register: true
401
  required_args: 1
402
  cost: 0
403
  delaytimer: 5
404
  permission-node: punish.menu
405
  permission-required: true
406
mykick:
407
  command: /mykick
408
  type: RUN_CONSOLE
409
  runcmd:
410
  - '/minecraft:kick $arg1'
411
  - '$text$&c$arg1 &ewurde gekickt!'
412
  required_args: 1
413
  permission-node: punish.kick
414
  permission-required: true
415
myban:
416
  command: /myban
417
  type: RUN_CONSOLE
418
  runcmd:
419
  - '/minecraft:ban $arg1'
420
  - '$text$&c$player &ewurde gebannt!'
421
  - '$broadcasttext$&c$arg1 &ewurde gebannt!'
422
  required_args: 1
423
  permission-node: punish.ban
424
  permission-required: true
425
freeze:
426
  command: /freeze
427
  type: RUN_CONSOLE
428
  runcmd:
429
  - '/effect $arg1 minecraft:jump_boost 1000000 200'
430
  - '/effect $arg1 minecraft:blindness 1000000 20'
431
  - '/effect $arg1 minecraft:slowness 1000000 100'
432
  required_args: 1
433
  permission-required: true
434
  permission-node: punish.freeze
435
unfreeze:
436
  command: /unfreeze
437
  type: RUN_CONSOLE
438
  runcmd:
439
  - '/effect $arg1 clear'
440
  required_args: 1
441
  permission-required: true
442
  permission-node: punish.unfreeze
443
#---------------#
444
#     Kits      #
445
#---------------#