View difference between Paste ID: gQNLfnPR and GbzsKh5Z
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
help_command:
76
  command: /hilfe
77
  type: TEXT
78
  text:
79
  - '&8|━━━━━━━━━━━━━━━━ &eHilfe&8 ━━━━━━━━━━━━━━━━|'
80
  - '&aUnter &6/warp &afindest du die Warps!'
81
  - '&8|━━━━━━━━━━━━━━━━ &eHilfe&8 ━━━━━━━━━━━━━━━━|'
82
  permission-required: false
83
tab_completer:
84
  command: /greets 
85
  type: RUN_COMMAND
86
  runcmd:
87
  - '$broadcasttext$&0[&e$player&0]&r $multiargs'
88
  required_args: 1
89
  register: true
90
  tab_completer:
91
  - Hi
92
  - Hello!
93
  - Well Met!
94
delay_example:
95
  command: /mycmd-countdown
96
  type: RUN_COMMAND
97
  runcmd:
98
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
99
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
100
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
101
  - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
102
  cost: 0
103
  delaytimer: 1
104
  delaytimer_format: SECONDS
105
some_placeholders:
106
  command: /playerinfo
107
  type: TEXT
108
  text:
109
  - '&2Player name : &a$player'
110
  - '&2World : &a$world'
111
  - '&2Health : &a$health &2Food : &a$food'
112
  - '&2Exp : &a$exp &2Level : &a$level'
113
  - '&2Gamemode : &a$gamemode'
114
  - '&2LastDamage : &a$lastdamage'
115
mycmd_list_command:
116
  command: /mycmd-online
117
  type: TEXT
118
  text:
119
  - '&2There are &a$online &2players online.'
120
  - '&a $ponline'
121
clear_chat:
122
  command: /cc
123
  type: BROADCAST_TEXT
124
  text:
125
  - '%Repeat%100% '
126
  - '&eServer &8┃ &7Der &6Chat &7wurde &6geleert!'
127
  error-message: '&c» &7Das ist nicht erlaubt!'
128
  permission-required: true
129
  permission-node: cc.admin
130
server_menu:
131
  command: /menu
132
  type: ICON_MENU
133
  text:
134
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
135
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
136
  iconmenu_title: '&eServer Menu'
137
  iconmenu_size: 27
138
  iconmenu_commands:
139
  - 3:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
140
  - 21:EMERALD:0:/list:&6Online Spieler:&bZeigt dir alle online Spieler!
141
  - 5:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
142
  - 13:BOOK:0:/discord:&dDiscord:&eUnser Discord!
143
  - 23:NAME_TAG:0:/wartungen:&cComing Soon:&cComing soon!
144
  cost: 0
145
  delaytimer: 5
146
  permission-node: menu.user
147
  permission-required: true
148
iconmenu_page2:
149
  command: /iconmenu2
150
  type: ICON_MENU
151
  iconmenu_title: 'Page 2'
152
  iconmenu_size: 9
153
  iconmenu_commands:
154
  - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
155
  - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
156
  cost: 0
157
  delaytimer: 5
158
dailybonus:
159
  command: /daily
160
  type: RUN_CONSOLE
161
  runcmd:
162
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
163
  - "$text$&6&lDailyBonus &7| &b Moin $player! Hier ist deine tägliche Belohnung!"
164
  - "$text$&6&lDailyBonus &7| &b Du hast +1 DIAMANTEN erhalten!"
165
  - "%PlayerOptions%addItem: DIAMOND:1"
166
  - "$Script$%PlayerData%DailyBonus=$todaydate"
167
  - "$text$&6&lDailyBonus &7| &bKomm morgen wieder!"
168
  - "$Script$%else%"
169
  - "$text$&6&lDailyBonus &7| &bNicht so gierig! Komm morgen wieder!"
170
  permission-node: daily.user
171
  permission-required: true
172
broadcast_message_with_perm:
173
  command: /brmsgwithperm
174
  type: BROADCAST_TEXT
175
  text:
176
  - "Only the player with the correct permission can see this message"
177
  broadcast_message_permission_node: permission.for.see.this.message
178
dynamiciconmenu:
179
  command: /dynamiciconmenu
180
  type: ICON_MENU
181
  iconmenu_size: 36
182
  iconmenu_mode: DYNAMIC
183
  permission-required: false
184
  iconmenu_commands:
185
  - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
186
  - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
187
  - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
188
  - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
189
  - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
190
  - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
191
  - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
192
  - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
193
  - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
194
  - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
195
  - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
196
  - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
197
  - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
198
  - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
199
  - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
200
  - "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"
201
  - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
202
  - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
203
  - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
204
  - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
205
  - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
206
  - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
207
  - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
208
  - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
209
  - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
210
  - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
211
  - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
212
  - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
213
  delaytimer: 2
214
holographic_example:
215
  command: /holoexample
216
  type: HOLOGRAPHIC_TEXT
217
  text:
218
  - "&eHello $player, how are you?"
219
  - "$random_coloryeah, i'm fineeeee thanks!"
220
  - "&dCurrent time &5$time"
221
  delaytimer: 3
222
warp_menu:
223
  command: /warp
224
  type: ICON_MENU
225
  text:
226
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
227
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
228
  iconmenu_title: '&cWarps'
229
  iconmenu_size: 27
230
  iconmenu_commands:
231
  - 3:ENDER_PEARL:0:/ewarp TeamHalle:&eTeamHalle:&bWarpt dich zur TeamHalle!
232
  - 5:BOOK_AND_QUILL:0:/ewarp Bewerben:&5Bewerben:&aWarpe dich zu den Bewerbungen!
233
  - 11:DIAMOND_SWORD:0:/ewarp PvP:&ePvP:&dWarpt dich zu PVP!
234
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Warpe dich zum Spawn!
235
  - 15:DIAMOND_PICKAXE:0:/ewarp Speedmine:&2Speedmine:&6Teleportiere dich zu Speedmine!
236
  - 21:CHEST:0:/ewarp Shop:&5Shop:&9Teleportiere dich zum Shop!
237
  - 23:DIAMOND_BOOTS:0:/ewarp SkyPvP:&cSkyPvP:&3Teleportiere dich zu SkyPvP!
238
  delaytimer: 5
239
  permission-node: warp.user
240
  permission-required: true
241
kit_menu:
242
  command: /kit
243
  type: ICON_MENU
244
  text:
245
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
246
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
247
  iconmenu_title: '&6Kits'
248
  iconmenu_size: 27
249
  iconmenu_commands:
250
  - 10:WOODEN_SWORD:0:/kit default:&eSpieler Kit:&bDas ist das Spieler Kit!
251
  delaytimer: 5
252
  permission-node: kit.user
253
  permission-required: true