View difference between Paste ID: gDSyyeV9 and mdAJD2QX
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
wartungen_server:
30
  command: /wartungen
31
  type: TEXT
32
  text:
33
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cWartungen&8 ━━━━━━━━━━━━━━━━━━━━|'
34
  - '&eDieser Befehl ist in wartungen!'
35
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cWartungen&8 ━━━━━━━━━━━━━━━━━━━━|'
36
  permission-required: false
37
regeln_server:
38
  command: /regeln
39
  type: TEXT
40
  text:
41
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cRegeln&8 ━━━━━━━━━━━━━━━━━━━━|'
42
  - '&f1. &cHacken &7in aller Form ist &cverboten!'
43
  - '&f2. &cSpammen &7in aller Art ist &cverboten!'
44
  - '&f3. &cBeleidigen &7in aller Form ist &cverboten!'
45
  - '&f4. &cWerbung &7ist in aller Form &cverboten!'
46
  - '&f5. &cEchtgeld-Handel &7ist strengstens &cverboten!'
47
  - '&f6. &cSchädliche Daten &7zu verbreiten ist &cverboten!'
48
  - '&f7. &cPrivate und Sensible Daten &7zu verbreiten ist &cverboten!'
49
  - '&f8. &cPornografische Inhalte &7sind strengstens &cverboten!'
50
  - '&f9. &7Es gibt keine &cFehler&7, nur &aFeatures&7!'
51
  - '&f10. &cBitte &7achtet auf die Anweisungen des &6Teams!'
52
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cRegeln&8 ━━━━━━━━━━━━━━━━━━━━|'
53
  permission-required: false
54
discord_server:
55
  command: /discord
56
  type: TEXT
57
  text:
58
  - '&8|━━━━━━━━━━━━━━━━━━━━ &9Discord&8 ━━━━━━━━━━━━━━━━━━━━|'
59
  - '&aWir haben einen Discord:'
60
  - '&6https://discord.gg/7YCXGQU'
61
  - '&8|━━━━━━━━━━━━━━━━━━━━ &9Discord&8 ━━━━━━━━━━━━━━━━━━━━|'
62
  permission-required: false
63
plugin_server:
64
  command: /pl
65
  type: TEXT
66
  text:
67
  - '&fModule (1): &eServer'
68
  permission-required: false
69
plugin_server2:
70
  command: /plugins
71
  type: TEXT
72
  text:
73
  - '&fModule (1): &eServer'
74
  permission-required: false
75
plugin_server3:
76
  command: /mo
77
  type: TEXT
78
  text:
79
  - '&fModule (1): &eServer'
80
  permission-required: false
81
plugin_server4:
82
  command: /modul
83
  type: TEXT
84
  text:
85
  - '&fModule (1): &eServer'
86
  permission-required: false
87
plugin_server5:
88
  command: /module
89
  type: TEXT
90
  text:
91
  - '&fModule (1): &eServer'
92
  permission-required: false
93
plugin_server6:
94
  command: /modules
95
  type: TEXT
96
  text:
97
  - '&fModule (1): &eServer'
98
  permission-required: false
99
help_command:
100
  command: /hilfe
101
  type: TEXT
102
  text:
103
  - '&8|━━━━━━━━━━━━━━━━ &eHilfe&8 ━━━━━━━━━━━━━━━━|'
104
  - '&aUnter &6/warp &afindest du die Warps!'
105
  - '&8|━━━━━━━━━━━━━━━━ &eHilfe&8 ━━━━━━━━━━━━━━━━|'
106
  permission-required: false
107
tab_completer:
108
  command: /greets 
109
  type: RUN_COMMAND
110
  runcmd:
111
  - '$broadcasttext$&0[&e$player&0]&r $multiargs'
112
  required_args: 1
113
  register: true
114
  tab_completer:
115
  - Hi
116
  - Hello!
117
  - Well Met!
118
delay_example:
119
  command: /mycmd-countdown
120
  type: RUN_COMMAND
121
  runcmd:
122
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
123
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
124
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
125
  - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
126
  cost: 0
127
  delaytimer: 1
128
  delaytimer_format: SECONDS
129
some_placeholders:
130
  command: /playerinfo
131
  type: TEXT
132
  text:
133
  - '&2Player name : &a$player'
134
  - '&2World : &a$world'
135
  - '&2Health : &a$health &2Food : &a$food'
136
  - '&2Exp : &a$exp &2Level : &a$level'
137
  - '&2Gamemode : &a$gamemode'
138
  - '&2LastDamage : &a$lastdamage'
139
mycmd_list_command:
140
  command: /mycmd-online
141
  type: TEXT
142
  text:
143
  - '&2There are &a$online &2players online.'
144
  - '&a $ponline'
145
clear_chat:
146
  command: /cc
147
  type: BROADCAST_TEXT
148
  text:
149
  - '%Repeat%100% '
150
  - '&eServer &8┃ &7Der &6Chat &7wurde &6geleert!'
151
  error-message: '&c» &7Das ist nicht erlaubt!'
152
  permission-required: true
153
  permission-node: cc.admin
154
server_menu:
155
  command: /menu
156
  type: ICON_MENU
157
  text:
158
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
159
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
160
  iconmenu_title: '&eServer Menu'
161
  iconmenu_size: 27
162
  iconmenu_commands:
163
  - 3:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
164
  - 21:EMERALD:0:/list:&6Online Spieler:&bZeigt dir alle online Spieler!
165
  - 5:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
166
  - 13:BOOK:0:/discord:&dDiscord:&eUnser Discord!
167
  - 23:NAME_TAG:0:/wartungen:&cComing Soon:&cComing soon!
168
  cost: 0
169
  delaytimer: 5
170
  permission-node: menu.user
171
  permission-required: true
172
iconmenu_page2:
173
  command: /iconmenu2
174
  type: ICON_MENU
175
  iconmenu_title: 'Page 2'
176
  iconmenu_size: 9
177
  iconmenu_commands:
178
  - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
179
  - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
180
  cost: 0
181
  delaytimer: 5
182
dailybonus:
183
  command: /daily
184
  type: RUN_CONSOLE
185
  runcmd:
186
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
187
  - "$text$&6&lDailyBonus &7| &b Moin $player! Hier ist deine tägliche Belohnung!"
188
  - "$text$&6&lDailyBonus &7| &b Du hast +1 DIAMANTEN erhalten!"
189
  - "%PlayerOptions%addItem: DIAMOND:1"
190
  - "$Script$%PlayerData%DailyBonus=$todaydate"
191
  - "$text$&6&lDailyBonus &7| &bKomm morgen wieder!"
192
  - "$Script$%else%"
193
  - "$text$&6&lDailyBonus &7| &bNicht so gierig! Komm morgen wieder!"
194
  permission-node: daily.user
195
  permission-required: true
196
broadcast_message_with_perm:
197
  command: /brmsgwithperm
198
  type: BROADCAST_TEXT
199
  text:
200
  - "Only the player with the correct permission can see this message"
201
  broadcast_message_permission_node: permission.for.see.this.message
202
dynamiciconmenu:
203
  command: /dynamiciconmenu
204
  type: ICON_MENU
205
  iconmenu_size: 36
206
  iconmenu_mode: DYNAMIC
207
  permission-required: false
208
  iconmenu_commands:
209
  - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
210
  - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
211
  - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
212
  - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
213
  - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
214
  - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
215
  - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
216
  - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
217
  - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
218
  - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
219
  - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
220
  - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
221
  - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
222
  - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
223
  - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
224
  - "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"
225
  - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
226
  - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
227
  - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
228
  - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
229
  - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
230
  - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
231
  - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
232
  - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
233
  - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
234
  - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
235
  - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
236
  - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
237
  delaytimer: 2
238
holographic_example:
239
  command: /holoexample
240
  type: HOLOGRAPHIC_TEXT
241
  text:
242
  - "&eHello $player, how are you?"
243
  - "$random_coloryeah, i'm fineeeee thanks!"
244
  - "&dCurrent time &5$time"
245
  delaytimer: 3
246
warp_menu:
247
  command: /warp
248
  type: ICON_MENU
249
  text:
250
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
251
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
252
  iconmenu_title: '&cWarps'
253
  iconmenu_size: 27
254
  iconmenu_commands:
255
  - 3:ENDER_PEARL:0:/ewarp TeamHalle:&eTeamHalle:&bWarpt dich zur TeamHalle!
256
  - 5:BOOK_AND_QUILL:0:/ewarp Bewerben:&5Bewerben:&aWarpe dich zu den Bewerbungen!
257
  - 11:DIAMOND_SWORD:0:/ewarp PvP:&ePvP:&dWarpt dich zu PVP!
258
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Warpe dich zum Spawn!
259
  - 15:DIAMOND_PICKAXE:0:/ewarp Speedmine:&2Speedmine:&6Teleportiere dich zu Speedmine!
260
  - 21:CHEST:0:/ewarp Shop:&5Shop:&9Teleportiere dich zum Shop!
261
  - 23:DIAMOND_BOOTS:0:/ewarp SkyPvP:&cSkyPvP:&3Teleportiere dich zu SkyPvP!
262
  delaytimer: 5
263
  permission-node: warp.user
264
  permission-required: true
265
kit_menu:
266
  command: /kit
267
  type: ICON_MENU
268
  text:
269
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
270
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
271
  iconmenu_title: '&6Kits'
272
  iconmenu_size: 27
273
  iconmenu_commands:
274
  - 10:LEATHER_HELMET:0:/ekit default:&eSpieler Kit:&bDas ist das Spieler Kit!
275
  delaytimer: 5
276
  permission-node: kit.user
277
  permission-required: true
278
ban_info:
279
  command: /baninfo
280
  type: TEXT
281
  text:
282
  - '&8&m ━━━━━━━━━━━━━━━━&c BanInfo &8&m ━━━━━━━━━━━━━━━━'
283
  - '&7'
284
  - '&f1.&c Hacking&7 - &c3 Tage ban'
285
  - '&f2.&c Werbung&7 - &c1h Mute'
286
  - '&f3.&c Beleidigeng&7 - &c10-30m Mute'
287
  - '&f4.&c Echtgeldhandel&7 - &cPerma ban'
288
  - '&f5.&c Chatbombing&7 - &c30m Mute'
289
  - '&f6.&c Griefen&7 - &cPerma ban'
290
  - '&7'
291
  - '&8&m ━━━━━━━━━━━━━━━━&c BanInfo &8&m ━━━━━━━━━━━━━━━━'
292
  permission-required: true
293
  permission-node: baninfo.team