View difference between Paste ID: jYZF7qPf and CHMeJWtj
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
broadcast_server:
30
  command: /serverbc
31
  type: TEXT
32
  text:
33
  - '&e&lServer &7┃ &a$arg1'
34
  error-message: '&c» &7Das ist nicht erlaubt!'
35
  permission-required: true
36
  permission-node: bc.admin
37
wartungen_server:
38
  command: /wartungen
39
  type: TEXT
40
  text:
41
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cWartungen&8 ━━━━━━━━━━━━━━━━━━━━|'
42
  - '&eDiese Befehl ist in wartungen!'
43
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cWartungen&8 ━━━━━━━━━━━━━━━━━━━━|'
44
  permission-required: false
45
regeln_server:
46
  command: /regeln
47
  type: TEXT
48
  text:
49
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cRegeln&8 ━━━━━━━━━━━━━━━━━━━━|'
50
  - '&f1. &cHacken &7in aller Form ist &cverboten!'
51
  - '&f2. &cSpammen &7in aller Art ist &cverboten!'
52
  - '&f3. &cBeleidigen &7in aller Form ist &cverboten!'
53
  - '&f4. &cWerbung &7ist in aller Form &cverboten!'
54
  - '&f5. &cEchtgeld-Handel &7ist strengstens &cverboten!'
55
  - '&f6. &cSchädliche Daten &7zu verbreiten ist &cverboten!'
56
  - '&f7. &cPrivate und Sensible Daten &7zu verbreiten ist &cverboten!'
57
  - '&f8. &cPornografische Inhalte &7sind strengstens &cverboten!'
58
  - '&f9. &7Es gibt keine &cFehler&7, nur &aFeatures&7!'
59
  - '&f10. &cBitte &7achtet auf die Anweisungen des &6Teams!'
60
  - '&8|━━━━━━━━━━━━━━━━━━━━ &cRegeln&8 ━━━━━━━━━━━━━━━━━━━━|'
61
  permission-required: false
62
discord_server:
63
  command: /discord
64
  type: TEXT
65
  text:
66
  - '&8|━━━━━━━━━━━━━━━━━━━━ &9Discord&8 ━━━━━━━━━━━━━━━━━━━━|'
67
  - '&aWir haben einen Discord:'
68
  - '&6https://discord.gg/7YCXGQU'
69
  - '&8|━━━━━━━━━━━━━━━━━━━━ &9Discord&8 ━━━━━━━━━━━━━━━━━━━━|'
70
  permission-required: false
71
plugin_server:
72
  command: /pl
73
  type: TEXT
74
  text:
75
  - '&fModule (1): &eServer'
76
  permission-required: false
77
plugin_server2:
78
  command: /plugins
79
  type: TEXT
80
  text:
81
  - '&fModule (1): &eServer'
82
  permission-required: false
83
help_command:
84
  command: /hilfe
85
  type: TEXT
86
  text:
87
  - '&8|━━━━━━━━━━━━━━━━ &eHilfe&8 ━━━━━━━━━━━━━━━━|'
88
  - '&aUnter &6/menu &afindest du die Warps und Infos!'
89
  - '&8|━━━━━━━━━━━━━━━━ &eHilfe&8 ━━━━━━━━━━━━━━━━|'
90
  permission-required: false
91
tab_completer:
92
  command: /greets 
93
  type: RUN_COMMAND
94
  runcmd:
95
  - '$broadcasttext$&0[&e$player&0]&r $multiargs'
96
  required_args: 1
97
  register: true
98
  tab_completer:
99
  - Hi
100
  - Hello!
101
  - Well Met!
102
delay_example:
103
  command: /mycmd-countdown
104
  type: RUN_COMMAND
105
  runcmd:
106
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color3..'
107
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color2..'
108
  - '$delay$$broadcasttext$&0[&eCountdown&0] $random_color1..'
109
  - '$delay$$broadcasttext$&0[&eCountdown&0] &eGO!!'
110
  cost: 0
111
  delaytimer: 1
112
  delaytimer_format: SECONDS
113
some_placeholders:
114
  command: /playerinfo
115
  type: TEXT
116
  text:
117
  - '&2Player name : &a$player'
118
  - '&2World : &a$world'
119
  - '&2Health : &a$health &2Food : &a$food'
120
  - '&2Exp : &a$exp &2Level : &a$level'
121
  - '&2Gamemode : &a$gamemode'
122
  - '&2LastDamage : &a$lastdamage'
123
mycmd_list_command:
124
  command: /mycmd-online
125
  type: TEXT
126
  text:
127
  - '&2There are &a$online &2players online.'
128
  - '&a $ponline'
129
clear_chat:
130
  command: /cc
131
  type: BROADCAST_TEXT
132
  text:
133
  - '%Repeat%100% '
134
  - '&eServer &8┃ &7Der &6Chat &7wurde &6geleert!'
135
  error-message: '&c» &7Das ist nicht erlaubt!'
136
  permission-required: true
137
  permission-node: cc.admin
138
server_menu:
139
  command: /menu
140
  type: ICON_MENU
141
  text:
142
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
143
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
144
  iconmenu_title: '&eServer Menu'
145
  iconmenu_size: 27
146
  iconmenu_commands:
147
  - 0:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
148
  - 4:DIAMOND_SWORD:0:/warp SpielModis:&eSpielModis:&dTeleportiere dich zu den Games!
149
  - 9:EMERALD:0:/list:&6Online Spieler:&bZeigt dir alle online Spieler!
150
  - 8:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
151
  - 12:CHEST:0:/warp Shop:&2Shop:&6Teleportiere dich zum Spawn!!
152
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Teleportiere dich zum Spawn!
153
  - 14:ENDER_PEARL:0:/Warp TeamHalle:&eTeamHalle:&bTeleportiere dich zur TeamHalle!
154
  - 17:BOOK:0:/discord:&dDiscord:&eUnser Discord!
155
  - 18:COMPASS:0:/playerinfo:&5Infos:&eZeigt deine Infos!
156
  - 22:BOOK_AND_QUILL:0:/warp Bewerben:&5Bewerben:&aTeleportiere dich zu den Bewerbungen!
157
  - 26:NAME_TAG:0:/wartungen:&cComming Soon:&cComming soon!
158
  cost: 0
159
  delaytimer: 5
160
  permission-node: menu.user
161
  permission-required: true
162
iconmenu_page2:
163
  command: /iconmenu2
164
  type: ICON_MENU
165
  iconmenu_title: 'Page 2'
166
  iconmenu_size: 9
167
  iconmenu_commands:
168
  - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
169
  - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
170
  cost: 0
171
  delaytimer: 5
172
dailybonus:
173
  command: /daily
174
  type: RUN_CONSOLE
175
  runcmd:
176
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
177-
  - "$text$&6&lDailyBonus &7| &b Hello $player! Here, your daily reward!"
177+
  - "$text$&6&lDailyBonus &7| &b Moin $player! Hier ist deine tägliche Belohnung!"
178-
  - "$text$&6&lDailyBonus &7| &b Received &a1 DIAMOND!"
178+
  - "$text$&6&lDailyBonus &7| &b Du hast +1 DIAMANTEN erhalten!"
179
  - "%PlayerOptions%addItem: DIAMOND:1"
180
  - "$Script$%PlayerData%DailyBonus=$todaydate"
181-
  - "$text$&6&lDailyBonus &7| &b Come back tomorrow!"
181+
  - "$text$&6&lDailyBonus &7| &bKomm morgen wieder!"
182
  - "$Script$%else%"
183-
  - "$text$&6&lDailyBonus &7| &b That's enough for today! Come back tomorrow!"
183+
  - "$text$&6&lDailyBonus &7| &bNicht so gierig! Komm morgen wieder!"
184
  permission-node: daily.user
185
  permission-required: true
186
broadcast_message_with_perm:
187
  command: /brmsgwithperm
188
  type: BROADCAST_TEXT
189
  text:
190
  - "Only the player with the correct permission can see this message"
191
  broadcast_message_permission_node: permission.for.see.this.message
192
dynamiciconmenu:
193
  command: /dynamiciconmenu
194
  type: ICON_MENU
195
  iconmenu_size: 36
196
  iconmenu_mode: DYNAMIC
197
  permission-required: false
198
  iconmenu_commands:
199
  - "0:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
200
  - "1:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
201
  - "2:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
202
  - "3:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
203
  - "4:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
204
  - "5:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
205
  - "6:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
206
  - "7:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
207
  - "8:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
208
  - "9:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
209
  - "11:CLOCK:0:%stayopen%:&aServer time - $random_color$time:&bToday Date - &6 $todaydate"
210
  - "13:BEACON:0:/mycmd:&6MyCommand:&eLaunch MyCommand"
211
  - "15:ENDER_PEARL<next>ENDER_EYE<next>AIR:0:%stayopen%:???<next>!!!<next>AIR: "
212
  - "17:YELLOW_WOOL<next>LIME_WOOL:4:/command_example: : "
213
  - "18:LIME_WOOL<next>YELLOW_WOOL:5:/command_example: : "
214
  - "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"
215
  - "22:1,IRON_CHESTPLATE<next>GOLDEN_CHESTPLATE;PROTECTION_ENVIRONMENTAL;1<next>DIAMOND_CHESTPLATE;PROTECTION_EXPLOSIONS;3:0:/command_example::Description;Line 2..."
216
  - "25:BARRIER:0:%close%:Close this menu:&cClick here;&cto close"
217
  - "26:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
218
  - "27:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
219
  - "28:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
220
  - "29:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
221
  - "30:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
222
  - "31:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
223
  - "32:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
224
  - "33:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
225
  - "34:LIME_WOOL<next>YELLOW_WOOL:5:%stayopen%: : "
226
  - "35:YELLOW_WOOL<next>LIME_WOOL:4:%stayopen%: : "
227
  delaytimer: 2
228
holographic_example:
229
  command: /holoexample
230
  type: HOLOGRAPHIC_TEXT
231
  text:
232
  - "&eHello $player, how are you?"
233
  - "$random_coloryeah, i'm fineeeee thanks!"
234
  - "&dCurrent time &5$time"
235
  delaytimer: 3