View difference between Paste ID: 2sSg0PkC and McZ24b6L
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|━━━━━━━━━━━━━━━━━━━━&cRegeln&8 ━━━━━━━━━━━━━━━━━━━━|'
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|━━━━━━━━━━━━━━━━━━━━&cRegeln&8 ━━━━━━━━━━━━━━━━━━━━|'
45
  permission-required: false
46
discord_server:
47
  command: /discord
48
  type: TEXT
49
  text:
50
  - '&8|━━━━━━━━━━━━━━━━━━━━&9Discord&8 ━━━━━━━━━━━━━━━━━━━━|'
51
  - '&aWir haben einen Discord:'
52
  - '&6https://discord.gg/7YCXGQU'
53
  - '&8|━━━━━━━━━━━━━━━━━━━━&9Discord&8 ━━━━━━━━━━━━━━━━━━━━|'
54
  permission-required: false
55
plugin_server:
56
  command: /pl
57
  type: TEXT
58
  text:
59
  - '&fModule (1): &eServer'
60
  permission-required: false
61
plugin_server2:
62
  command: /plugins
63
  type: TEXT
64
  text:
65
  - '&fModule (1): &eServer'
66
  permission-required: false
67
plugin_server3:
68
  command: /mo
69
  type: TEXT
70
  text:
71
  - '&fModule (1): &eServer'
72
  permission-required: false
73
plugin_server4:
74
  command: /modul
75
  type: TEXT
76
  text:
77
  - '&fModule (1): &eServer'
78
  permission-required: false
79
plugin_server5:
80
  command: /module
81
  type: TEXT
82
  text:
83
  - '&fModule (1): &eServer'
84
  permission-required: false
85
plugin_server6:
86
  command: /modules
87
  type: TEXT
88
  text:
89
  - '&fModule (1): &eServer'
90
  permission-required: false
91
help_command:
92
  command: /hilfe
93
  type: TEXT
94
  text:
95
  - '&8|━━━━━━━━━━━━━━━━&eHilfe&8 ━━━━━━━━━━━━━━━━|'
96
  - '&aUnter &6/warp &afindest du die Warps!'
97
  - '&aUnter &6/menu &afindest du das Server-Menu!'
98
  - '&8|━━━━━━━━━━━━━━━━&eHilfe&8 ━━━━━━━━━━━━━━━━|'
99
  permission-required: false
100
tab_completer:
101
  command: /greets 
102
  type: RUN_COMMAND
103
  runcmd:
104
  - '$broadcasttext$&0[&e$player&0]&r $multiargs'
105
  required_args: 1
106
  register: true
107
  tab_completer:
108
  - Hi
109
  - Hello!
110
  - Well Met!
111
delay_example:
112
  command: /mycmd-countdown
113
  type: RUN_COMMAND
114
  runcmd:
115
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
116
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
117
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
118
  - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
119
  cost: 0
120
  delaytimer: 1
121
  delaytimer_format: SECONDS
122
some_placeholders:
123
  command: /playerinfo
124
  type: TEXT
125
  text:
126
  - '&2Player name : &a$player'
127
  - '&2World : &a$world'
128
  - '&2Health : &a$health &2Food : &a$food'
129
  - '&2Exp : &a$exp &2Level : &a$level'
130
  - '&2Gamemode : &a$gamemode'
131
  - '&2LastDamage : &a$lastdamage'
132
mycmd_list_command:
133
  command: /mycmd-online
134
  type: TEXT
135
  text:
136
  - '&2There are &a$online &2players online.'
137
  - '&a $ponline'
138
clear_chat:
139
  command: /cc
140
  type: BROADCAST_TEXT
141
  text:
142
  - '%Repeat%100% '
143
  - '&eServer &8┃ &7Der &6Chat &7wurde &6geleert!'
144
  error-message: '&c» &7Das ist nicht erlaubt!'
145
  permission-required: true
146
  permission-node: cc.admin
147
server_menu:
148
  command: /menu
149
  type: ICON_MENU
150
  text:
151
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
152
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
153
  iconmenu_title: '&eServer Menu'
154
  iconmenu_size: 27
155
  iconmenu_commands:
156
  - 3:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
157
  - 21:EMERALD:0:/list:&6Online Spieler:&bZeigt dir alle online Spieler!
158
  - 5:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
159
  - 13:BOOK:0:/discord:&dDiscord:&eUnser Discord!
160
  - 23:BEACON:0:/ranks:&bRänge:&6Alle Spieler Ränge!
161
  cost: 0
162
  delaytimer: 5
163
  permission-node: menu.user
164
  permission-required: true
165
iconmenu_page2:
166
  command: /iconmenu2
167
  type: ICON_MENU
168
  iconmenu_title: 'Page 2'
169
  iconmenu_size: 9
170
  iconmenu_commands:
171
  - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
172
  - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
173
  cost: 0
174
  delaytimer: 5
175
dailybonus:
176
  command: /daily
177
  type: RUN_CONSOLE
178
  runcmd:
179
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
180
  - "$text$&6&lDailyBonus &7| &b Moin $player! Hier ist deine tägliche Belohnung!"
181
  - "$text$&6&lDailyBonus &7| &b Du hast +1 DIAMANTEN erhalten!"
182
  - "%PlayerOptions%addItem: DIAMOND:1"
183
  - "$Script$%PlayerData%DailyBonus=$todaydate"
184
  - "$text$&6&lDailyBonus &7| &bKomm morgen wieder!"
185
  - "$Script$%else%"
186
  - "$text$&6&lDailyBonus &7| &bNicht so gierig! Komm morgen wieder!"
187
  permission-node: daily.user
188
  permission-required: true
189
warp_menu:
190
  command: /warp
191
  type: ICON_MENU
192
  text:
193
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
194
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
195
  iconmenu_title: '&cWarps'
196
  iconmenu_size: 27
197
  iconmenu_commands:
198
  - 3:ENDER_PEARL:0:/ewarp TeamHalle:&eTeamHalle:&bWarpt dich zur TeamHalle!
199
  - 5:BOOK_AND_QUILL:0:/ewarp Bewerben:&5Bewerben:&aWarpe dich zu den Bewerbungen!
200
  - 11:DIAMOND_SWORD:0:/ewarp PvP:&ePvP:&dWarpt dich zu PVP!
201
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Warpe dich zum Spawn!
202
  - 15:STICK:0:/ewarp Knockback:&3Knockback:&6Teleportiere dich zu Knockback!
203
  - 21:CHEST:0:/ewarp Shop:&5Shop:&9Teleportiere dich zum Shop!
204
  - 23:DIAMOND_BOOTS:0:/ewarp SkyPvP:&cSkyPvP:&3Teleportiere dich zu SkyPvP!
205
  delaytimer: 5
206
  permission-node: warp.user
207
  permission-required: true
208
kit_menu:
209
  command: /kit
210
  type: ICON_MENU
211
  text:
212
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
213
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
214
  iconmenu_title: '&6Kits'
215
  iconmenu_size: 36
216
  iconmenu_commands:
217
  - 11:LEATHER_HELMET:0:/ekit default:&eSpieler Kit:&bDas ist das Spieler Kit!
218
  - 13:CHAINMAIL_HELMET:0:/ekit Premium:&ePremium Kit:&bDas ist das Premium Kit!
219-
  - 15:GOLDEN_SWORD:0:/ekit Premium+:&ePremium+ Kit:&bDas ist das Premium+ Kit!
219+
  - 15:GOLDEN_APPLE:0:/ekit Premium+:&ePremium+ Kit:&bDas ist das Premium+ Kit!
220
  - 21:SLIME_BALL:0:/ekit Supreme:&eSupreme Kit:&bDas ist das Supreme Kit!
221
  - 23:STONE_SWORD:0:/ekit Knight:&eKnight Kit:&bDas ist das Knight Kit!
222
  delaytimer: 5
223
  permission-node: kit.user
224
  permission-required: true
225
ban_info:
226
  command: /baninfo
227
  type: TEXT
228
  text:
229
  - '&8&m ━━━━━━━━━━━━━━━━&cBanInfo &8&m ━━━━━━━━━━━━━━━━'
230
  - '&7'
231
  - '&f1.&c Hacking&7 - &c3 Tage ban'
232
  - '&f2.&c Werbung&7 - &c1h Mute'
233
  - '&f3.&c Beleidigeng&7 - &c10-30m Mute'
234
  - '&f4.&c Echtgeldhandel&7 - &cPerma ban'
235
  - '&f5.&c Chatbombing&7 - &c30m Mute'
236
  - '&f6.&c Griefen&7 - &cPerma ban'
237
  - '&7'
238
  - '&8&m ━━━━━━━━━━━━━━━━&cBanInfo &8&m ━━━━━━━━━━━━━━━━'
239
  permission-required: true
240
  permission-node: baninfo.team
241
rank_info:
242
  command: /ranks
243
  type: TEXT
244
  text:
245
  - '&8&m ━━━━━━━━━━━━━━━━&bRänge &8&m ━━━━━━━━━━━━━━━━'
246
  - '&f1.&6 Premium'
247
  - '&f2.&e Premium+'
248
  - '&f3.&a Supreme'
249
  - '&f4.&8 Knight'
250
  - '&f5.&2 Legende'
251
  - '&f6.&1 Champion'
252
  - '&f7.&d Master'
253
  - '&f8.&b Ultra'
254
  - '&f9.&c King'
255
  - '&f10.&9 Titan'
256
  - '&f11.&e&l GOD'
257
  - '&8&m ━━━━━━━━━━━━━━━━&bRänge &8&m ━━━━━━━━━━━━━━━━'
258
  permission-required: true
259
  permission-node: ranks.user