View difference between Paste ID: JcHPGDuf and bAtwmX39
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
regeln_server:
30
  command: /regeln
31
  type: TEXT
32
  text:
33
  - '&8&l&m-------------------&c Regeln&8&l&m --------------------'
34
  - '&f1. &cHacken &7in aller Form ist &cverboten!'
35
  - '&f2. &cSpammen &7in aller Art ist &cverboten!'
36
  - '&f3. &cBeleidigen &7in aller Form ist &cverboten!'
37
  - '&f4. &cWerbung &7ist in aller Form &cverboten!'
38
  - '&f5. &cEchtgeld-Handel &7ist strengstens &cverboten!'
39
  - '&f6. &cSchädliche Daten &7zu verbreiten ist &cverboten!'
40
  - '&f7. &cPrivate und Sensible Daten &7zu verbreiten ist &cverboten!'
41
  - '&f8. &cPornografische Inhalte &7sind strengstens &cverboten!'
42
  - '&f9. &7Es gibt keine &cFehler&7, nur &aFeatures&7!'
43
  - '&f10. &cBitte &7achtet auf die Anweisungen des &6Teams!'
44
  - '&8&l&m-------------------&c Regeln&8&l&m -------------------'
45
  permission-required: false
46
discord_server:
47
  command: /discord
48
  type: TEXT
49
  text:
50
  - '&8&l&m------------------------------------------------'
51
  - '&8'
52
  - '&6◊ Server&7 ┃ &aUnser Discord: https://discord.gg/gfMYF7b'
53
  - '&8'
54
  - '&8&l&m------------------------------------------------'
55
  permission-required: false
56
plugin_server:
57
  command: /pl
58
  type: TEXT
59
  text:
60
  - '&fModule (1): &eServer'
61
  permission-required: false
62
plugin_server2:
63
  command: /plugins
64
  type: TEXT
65
  text:
66
  - '&fModule (1): &eServer'
67
  permission-required: false
68
plugin_server3:
69
  command: /mo
70
  type: TEXT
71
  text:
72
  - '&fModule (1): &eServer'
73
  permission-required: false
74
plugin_server4:
75
  command: /modul
76
  type: TEXT
77
  text:
78
  - '&fModule (1): &eServer'
79
  permission-required: false
80
plugin_server5:
81
  command: /module
82
  type: TEXT
83
  text:
84
  - '&fModule (1): &eServer'
85
  permission-required: false
86
plugin_server6:
87
  command: /modules
88
  type: TEXT
89
  text:
90
  - '&fModule (1): &eServer'
91
  permission-required: false
92
help_command:
93
  command: /hilfe
94
  type: TEXT
95
  text:
96
  - '&8&l&m------------------------------------------------'
97
  - '&8'
98
  - '&6◊ Server&7 ┃ &aUnter &6/warp &afindest du die Warps!'
99
  - '&6◊ Server&7 ┃ &aUnter &6/ranks &afindest du die Ränge!'
100
  - '&6◊ Server&7 ┃ &aUnter &6/menu &afindest du das Server-Menu!'
101
  - '&8'
102
  - '&8&l&m------------------------------------------------'
103
  permission-required: false
104
tab_completer:
105
  command: /greets 
106
  type: RUN_COMMAND
107
  runcmd:
108
  - '$broadcasttext$&0[&e$player&0]&r $multiargs'
109
  required_args: 1
110
  register: true
111
  tab_completer:
112
  - Hi
113
  - Hello!
114
  - Well Met!
115
delay_example:
116
  command: /mycmd-countdown
117
  type: RUN_COMMAND
118
  runcmd:
119
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
120
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
121
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
122
  - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
123
  cost: 0
124
  delaytimer: 1
125
  delaytimer_format: SECONDS
126
mycmd_list_command:
127
  command: /online
128
  type: TEXT
129
  text:
130
  - '&aEs sind &b$online &aSpieler online.'
131
  - '&a $ponline'
132
clear_chat:
133
  command: /cc
134
  type: BROADCAST_TEXT
135
  text:
136
  - '%Repeat%100% '
137
  - '&eServer &8┃ &7Der &6Chat &7wurde &6geleert!'
138
  error-message: '&c» &7Das ist nicht erlaubt!'
139
  permission-required: true
140
  permission-node: cc.admin
141
server_menu:
142
  command: /menu
143
  type: ICON_MENU
144
  text:
145
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
146
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
147
  iconmenu_title: '&eServer Menu'
148
  iconmenu_size: 27
149
  iconmenu_commands:
150
  - 10:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
151
  - 12:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
152
  - 14:BOOK:0:/discord:&dDiscord:&eUnser Discord!
153
  - 16:BEACON:0:/ranks:&bRänge:&6Alle Spieler Ränge!
154
  cost: 0
155
  delaytimer: 5
156
  permission-node: menu.user
157
  permission-required: true
158
iconmenu_page2:
159
  command: /iconmenu2
160
  type: ICON_MENU
161
  iconmenu_title: 'Page 2'
162
  iconmenu_size: 9
163
  iconmenu_commands:
164
  - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
165
  - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
166
  cost: 0
167
  delaytimer: 5
168
dailybonus:
169
  command: /daily
170
  type: RUN_CONSOLE
171
  runcmd:
172
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
173
  - "$text$&6&lDailyBonus &7| &b Moin $player! Hier ist deine tägliche Belohnung!"
174
  - "$text$&6&lDailyBonus &7| &b Du hast +1 DIAMANTEN erhalten!"
175
  - "%PlayerOptions%addItem: DIAMOND:1"
176
  - "$Script$%PlayerData%DailyBonus=$todaydate"
177
  - "$text$&6&lDailyBonus &7| &bKomm morgen wieder!"
178
  - "$Script$%else%"
179
  - "$text$&6&lDailyBonus &7| &bNicht so gierig! Komm morgen wieder!"
180
  permission-node: daily.user
181
  permission-required: true
182
warp_menu:
183
  command: /warp
184
  type: ICON_MENU
185
  text:
186
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
187
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
188
  iconmenu_title: '&cWarps'
189
  iconmenu_size: 27
190
  iconmenu_commands:
191
  - 9:ENDER_PEARL:0:/ewarp Eventbühne:&eEventbühne:&bWarpt dich zur Eventbühne!
192
  - 11:DIAMOND_SWORD:0:/ewarp PvP:&ePvP:&dWarpt dich zu PVP!
193
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Warpe dich zum Spawn!
194
  - 15:STICK:0:/ewarp Knockback:&3Knockback:&6Teleportiere dich zu Knockback!
195
  - 17:DIAMOND_BOOTS:0:/ewarp 1vs1:&c1vs1:&3Teleportiere dich zu 1vs1!
196
  delaytimer: 5
197
  permission-node: warp.user
198
  permission-required: true
199
ban_info:
200
  command: /baninfo
201
  type: TEXT
202
  text:
203
  - '&8&l&m»--------------------------------------------«'
204
  - '&9'
205
  - '&e   Grund      &7-   &eZeit'
206
  - '&c'
207
  - '&f1.&c Hacking&7 - &c3 Tage ban'
208
  - '&f2.&c Werbung&7 - &c30m Mute'
209
  - '&f3.&c Beleidigeng&7 - &c15m Mute'
210
  - '&f4.&c Echtgeldhandel&7 - &cPerma ban'
211
  - '&f5.&c Chatbombing&7 - &c30m Mute'
212
  - '&f6.&c Griefen&7 - &cPerma ban'
213
  - '&f7.&c Caps&7 - &c3m Mute'
214
  - '&f8.&c Mods&7 - &c1 Tag ban'
215
  - '&7'
216
  - '&8&l&m»--------------------------------------------«'
217
  permission-required: true
218
  permission-node: baninfo.team
219
  permission-error: '&6Server &7┃ &cDazu hast du keine Rechte!'
220
rank_info:
221
  command: /ranks
222
  type: TEXT
223
  text:
224
  - '&8&l&m -----------------&b Ränge &8&l&m -----------------'
225
  - '&f1.&6 Premium'
226
  - '&f2.&e Pro'
227
  - '&f3.&3 Expert'
228
  - '&f4.&d Supreme'
229
  - '&f5.&c King'
230
  - '&f6.&5 YouTuber'
231
  - '&8&l&m -----------------&b Ränge &8&l&m -----------------'
232
  permission-required: false
233
broadcast-message:
234
  command: /bc
235
  type: RUN_COMMAND
236
  runcmd:
237
  - '$broadcasttext$&6◊ Server&7 ┃ &b$multiargs'
238
  required_args: 1
239
  register: true
240
  permission-required: true
241
  permission-node: broadcast.admin
242
  permission-error: '&6Server &7┃ &cDazu hast du keine Rechte!'
243
Event-message:
244
  command: /eventstart
245
  type: RUN_COMMAND
246
  runcmd:
247
  - '$broadcasttext$&6◊ Event&7 ┃ &bEin &eEvent &bstartet gleich! Komm jetzt zur &eEventbühne&b!'
248
  - '$delay$$broadcasttext$&6◊ Event &7┃ &c3..'
249
  - '$delay$$broadcasttext$&6◊ Event &7┃ &62..'
250
  - '$delay$$broadcasttext$&6◊ Event &7┃ &e1..'
251
  - '$delay$$broadcasttext$&6◊ Event &7┃ &aDas Event startet jetzt!'
252
  permission-required: true
253
  permission-node: event.admin
254-
  permission-error: '&6Server &7┃ &cDazu hast du keine Rechte!'
254+
255
warp2_menu:
256
  command: /ewarp
257
  type: ICON_MENU
258
  text:
259
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
260
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
261
  iconmenu_title: '&cWarps'
262
  iconmenu_size: 27
263
  iconmenu_commands:
264
  - 9:ENDER_PEARL:0:/ewarp Eventbühne:&eEventbühne:&bWarpt dich zur Eventbühne!
265
  - 11:DIAMOND_SWORD:0:/ewarp PvP:&ePvP:&dWarpt dich zu PVP!
266
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Warpe dich zum Spawn!
267
  - 15:STICK:0:/ewarp Knockback:&3Knockback:&6Teleportiere dich zu Knockback!
268
  - 17:DIAMOND_BOOTS:0:/ewarp 1vs1:&c1vs1:&3Teleportiere dich zu 1vs1!
269
  delaytimer: 5
270
  permission-node: warp.user
271
  permission-required: true