View difference between Paste ID: Y70Ae7Bs and t7gjQgkf
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. &7Man sollte sich so verhalten, wie es sein Char tut!'
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:&e https://discord.gg/gRVW668'
53
  - '&8'
54
  - '&8&l&m»------------------------------------------------«'
55
  permission-required: true
56
  permission-node: discord.user
57
plugin_server:
58
  command: /pl
59
  type: TEXT
60
  text:
61
  - '&fModule (1): &eServer'
62
  permission-required: false
63
plugin_server2:
64
  command: /plugins
65
  type: TEXT
66
  text:
67
  - '&fModule (1): &eServer'
68
  permission-required: false
69
plugin_server3:
70
  command: /mo
71
  type: TEXT
72
  text:
73
  - '&fModule (1): &eServer'
74
  permission-required: false
75
plugin_server4:
76
  command: /modul
77
  type: TEXT
78
  text:
79
  - '&fModule (1): &eServer'
80
  permission-required: false
81
plugin_server5:
82
  command: /module
83
  type: TEXT
84
  text:
85
  - '&fModule (1): &eServer'
86
  permission-required: false
87
plugin_server6:
88
  command: /modules
89
  type: TEXT
90
  text:
91
  - '&fModule (1): &eServer'
92
  permission-required: false
93
help_command:
94
  command: /hilfe
95
  type: TEXT
96
  text:
97
  - '&8&l&m»------------------------------------------------«'
98
  - '&8'
99
  - '&6◊ Server&7 ┃ &aUnter &6/warp &afindest du die Warps!'
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
some_placeholders:
127
  command: /playerinfo
128
  type: TEXT
129
  text:
130
  - '&2Player name : &a$player'
131
  - '&2World : &a$world'
132
  - '&2Health : &a$health &2Food : &a$food'
133
  - '&2Exp : &a$exp &2Level : &a$level'
134
  - '&2Gamemode : &a$gamemode'
135
  - '&2LastDamage : &a$lastdamage'
136
mycmd_list_command:
137
  command: /mycmd-online
138
  type: TEXT
139
  text:
140
  - '&2There are &a$online &2players online.'
141
  - '&a $ponline'
142
clear_chat:
143
  command: /cc
144
  type: BROADCAST_TEXT
145
  text:
146
  - '%Repeat%100% '
147
  - '&eServer &8┃ &7Der &6Chat &7wurde &6geleert!'
148
  error-message: '&c» &7Das ist nicht erlaubt!'
149
  permission-required: true
150
  permission-node: cc.admin
151
server_menu:
152
  command: /menu
153
  type: ICON_MENU
154
  text:
155
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
156
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
157-
  iconmenu_title: '&eServer Menu'
157+
  iconmenu_title: '&b&lGalatic Menu'
158
  iconmenu_size: 27
159
  iconmenu_commands:
160-
  - 3:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
160+
  - 10:GOLDEN_APPLE:0:/hilfe:&2Hilfe:&aÖffnet das Hilfe Menü!
161-
  - 21:EMERALD:0:/list:&6Online Spieler:&bZeigt dir alle online Spieler!
161+
  - 12:EMERALD:0:/list:&6Online Spieler:&bZeigt dir alle online Spieler!
162-
  - 5:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
162+
  - 14:PAPER:0:/regeln:&9Regeln:&bZeigt dir die Regeln!
163-
  - 13:BOOK:0:/discord:&dDiscord:&eUnser Discord!
163+
  - 16:BOOK:0:/discord:&dDiscord:&eUnser Discord!
164-
  - 23:BEACON:0:/ranks:&bRänge:&6Alle Spieler Ränge!
164+
165
  delaytimer: 5
166
  permission-node: menu.user
167
  permission-required: true
168
iconmenu_page2:
169
  command: /iconmenu2
170
  type: ICON_MENU
171
  iconmenu_title: 'Page 2'
172
  iconmenu_size: 9
173
  iconmenu_commands:
174
  - '0:LEGACY_GOLDEN_APPLE:0:Do something:Hello!:=)'
175
  - '8:LEGACY_WOOL:13:%openiconmenu%/iconmenu:Return Back:&cChange IconMenu Page;&a<---------'
176
  cost: 0
177
  delaytimer: 5
178
dailybonus:
179
  command: /daily
180
  type: RUN_CONSOLE
181
  runcmd:
182
  - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
183
  - "$text$&6&lDailyBonus &7| &b Moin $player! Hier ist deine tägliche Belohnung!"
184
  - "$text$&6&lDailyBonus &7| &b Du hast +1 DIAMANTEN erhalten!"
185
  - "%PlayerOptions%addItem: DIAMOND:1"
186
  - "$Script$%PlayerData%DailyBonus=$todaydate"
187
  - "$text$&6&lDailyBonus &7| &bKomm morgen wieder!"
188
  - "$Script$%else%"
189
  - "$text$&6&lDailyBonus &7| &bNicht so gierig! Komm morgen wieder!"
190
  permission-node: daily.user
191
  permission-required: true
192
warp_menu:
193
  command: /warp
194
  type: ICON_MENU
195
  text:
196
  - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
197
  - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
198
  iconmenu_title: '&cWarps'
199
  iconmenu_size: 27
200
  iconmenu_commands:
201
  - 3:ENDER_PEARL:0:/ewarp TeamHalle:&eTeamHalle:&bWarpt dich zur TeamHalle!
202
  - 5:BOOK_AND_QUILL:0:/ewarp Bewerben:&5Bewerben:&aWarpe dich zu den Bewerbungen!
203
  - 11:DIAMOND_SWORD:0:/ewarp PvP:&ePvP:&dWarpt dich zu PVP!
204
  - 13:MAGMA_CREAM:0:/spawn:&aSpawn:&6Warpe dich zum Spawn!
205
  - 15:STICK:0:/ewarp Knockback:&3Knockback:&6Teleportiere dich zu Knockback!
206
  - 21:CHEST:0:/ewarp Shop:&5Shop:&9Teleportiere dich zum Shop!
207
  - 23:DIAMOND_BOOTS:0:/ewarp SkyPvP:&cSkyPvP:&3Teleportiere dich zu SkyPvP!
208
  delaytimer: 5
209
  permission-node: warp.user
210
  permission-required: true