· 8 years ago · Apr 15, 2018, 11:24 PM
1# Configuration #
2#
3options:
4 UseRanks: true
5 RedditMode: true
6 RedditKickTime: 30 seconds
7 RedditKickMsg: &cThanks for play!
8# Prefix Messages #
9options:
10 Prefix: &7[&4WTF&fGames&9UHC&7]
11 damageindicator: &f%victim% &f%health of victim% &4â¤
12 timebomb: &4[&fTimeBomb&4] &f%victim%'s corpse has exploded
13 KillCount: &eYou have &c%{kc.%player%}% &ekills
14 KillCountOthers: &e%arg-1%'s have &c%{kc.%arg-1%}% &ekills
15 health: &eYou have &c%health of player% &4â¤
16 healthothers: &e%arg-1%'s have &c%health of arg-1% &4â¤
17 KillTopPrefix: &6[Top 10 Kills]
18 KillTopPlayers: &a%loop-value% - &e%{kills::%loop-value%}%
19# Name Items #
20options:
21 GameSettings: &e&lCustom UHC
22 BackPack: &aBackPack
23 HeadName: &f%victim%'s head
24 Practice: &eJoin to Practice
25 TwitterAPI: &b&lPost the UHC
26 CurrentConfiguration: &eCurrent Configuration
27# Ranks Prefix #
28 hostprefix: &c&lHOST &a%player%:&4 %colored message%
29 ownerprefix: &4&lOWNER &a%player%:&c %colored message%
30 modprefix: &3&lMod &a%player%:&b %colored message%
31 trialmodprefix: &3&lT-Mod &a%player%:&b %colored message%
32 seniormodprefix: &3&lSr-Mod &a%player%:&b %colored message%
33 famousprefix: &b&lFAMOUS &a%player%:&e %colored message%
34 vipprefix: &5&lVIP &a%player%:&d %colored message%
35 ultimateprefix: &5&lULTIMATE &a%player%:&d %colored message%
36 youtuberprefix: &e[YouTube] &a%player%:&6 %colored message%
37 twitchprefix: &9[Twitch] &a%player%:&e %colored message%
38 chatformat: &a%player%:&7 %message%
39#Scoreboard - Lobby#
40options:
41 boardlobby: &4WTF&fGames&9UHC &7[&bNa&7]
42 lobbyline8: &1&7&m-------------------
43 lobbyline7: &1
44 lobbyline6: &4Players:&f %number of all players%
45 lobbyline5: &fHost: &f%{host}%
46 lobbyline4: &9Type: &f%{Teams.LimitTwo}%%{Teams.Limit}%
47 lobbyline3: &2
48 lobbyline2: &2&7&m-------------------
49 lobbyline1: &b@&4WTF&fGames&9UHC
50# Scoreboard - FFA #
51options:
52 board: &4WTF&fGames&9UHC &7[&bNa&7]
53 line11: &4Game Time:&f %{Time6}%%{Time5}%:%{Time4}%%{Time3}%:%{Time2}%%{Time1}%
54 line10: &1
55 line9: &fYour Kills: &f%{kc.%loop-player%}%
56 line8: &2
57 line7: &9Players:&f %{uhc.left}%/%{playersjoineduhc}%
58 line6: &4Spectators: &f%{uhc.spectators}%
59 line5: &3
60 line4: &fHost: &f%{host}%
61 line3: &9Current Border:&f %{border}%
62 line2: &2
63 line1: &b@&4WTF&fGames&9UHC
64# Scoreboard - Teams #
65options:
66 teamboard: &4WTF&fGames&9UHC &7[&bNa&7]
67 teamline12: &4Game Time:&f %{Time6}%%{Time5}%:%{Time4}%%{Time3}%:%{Time2}%%{Time1}%
68 teamline11: &1
69 teamline10: &fYour Kills: &f%{kc.%loop-player%}%
70 teamline9: &9Team Kills: &f%{teamkills::%loop-player%}%
71 teamline8: &2
72 teamline7: &4Players:&f %{uhc.left}%/%{playersjoineduhc}%
73 teamline6: &fSpectators: &f%{uhc.spectators}%
74 teamline5: &3
75 teamline4: &9Host:&f %{host}%
76 teamline3: &4Current Border:&f %{border}%
77 teamline2: &4
78 teamline1: &b@&4WTF&fGames&9UHC
79# Scoreboard - StaffMode #
80options:
81 staffmode: &4StaffMode: &fActivo
82 staffmode_separator_1: &1&7&m-------------------
83 staffmode_separator_2: &2&7&m-------------------
84# Worlds - Not place world #
85options:
86 world: uhcworld
87 lobbyworld: lobbyuhc
88options:
89 #TwitterAPI
90 ConsumerKey: N0MfZ9GHJFtWeTJVKa3JyAnLO
91 ConsumerSecret: SKd4qmAPaC1lj2lLBqj5SGan4N3FFKmxVvIrL0FxoL2lwukZYX
92 AccessToken: 969036130589999104-0FCcTqYJVjK6MUQqrcUTFuPuuhMHctI
93 SecretToken: LDrY5qWbwROVd8kFzXSUU4n8Bvoh9iC1RUCTA37JNFt7x
94 #The Post UHC
95 ServerName: WTFGamesUHC [NA]
96 Scenarios: Scenarios
97 Type: Type
98 Host: Host
99 WL-OFF: WL OFF
100 ServerIP: WTFGamesUHC.serv.gs [1.7/1.8]
101 #PostWinner
102 PostWinner: ¡Congrulations to %arg-1% for win the UHC!%nl%%nl%Total Kills: %{kc.%arg-1%}%%nl%Total Wins: %{wins.%arg-1%}%
103options:
104 Cooldown-TimeBomb: 30 #Seconds
105 Cooldown-NoCleanUp: 20 #Seconds
106 LuckyFlowers-Percentage: 25 #Percentage of drop items
107#
108# Config Death Messages #
109options:
110 deathfall: &e%player% &chit the ground too hard
111 deathbyplayer: [%{kc.%victim%}%] &e%player% &cwas slain by &e%attacker% &6[%{kc.%attacker%}%]
112 deathbyzombie: &e%player% &cwas slain by &ezombie
113 deathbycreeper: &e%player% &cwas slain by &ecreeper
114 deathbyskeleton: &e%player% &cwas slain by &eskeleton
115 deathbyspider: &e%player% &cwas slain by &espider
116 deathbyenderman: &e%player% &cwas slain by &eenderman
117 deathbydrown: &e%player% &chas drowned
118 deathbylava: &e%player% &chas burned in lava
119#
120# Others #
121options:
122 nocommand: &cThe command not is permitied in game!
123 bowhealth: &6%victim% &3is now at &6%health of victim% &4â¤
124 goldenhead: &6Golden Head
125 nostart: &cThe UHC is not currently started
126 VictoryMessage: &aCongrulations to %arg-1% for win the UHC hosted by %{host}%
127 borderprefix: &6[&3Border&6]
128 shrinkmessage: &cThe world border is going to shrink to &e%arg-1%x%arg-1%&c
129 borderalert: &cThe world border is going to shrink to &e%{shrink1}%x%{shrink1}% &cin &e%{meetup}% &cminutes
130 finalheal: &b&lThe final heal has healead all players
131 pvpalert: &b&lPvP is now enabled
132 motdserver: &c&lWTFk&f&lGames&9 &6http://wtfgamesuhc.buycraft.net/ &6&l25% OFF SALE &f&l- &6
133 # Start Message #
134 startmessage: &7&m----&eGood Luck&7&m----
135#
136# Rules #
137options:
138 Rule1: &cSpec-Help no permitied
139 Rule2: &cBorder-Traps is not allowed!
140 Rule3: &cAny type of mining is allowed!
141 Rule4: &cHacking or use any mod ilegal is Permanent ban!
142 Rule5: &cXray is ban!
143 Rule6: &cipvp oh try to kill a jugardor before pvp is equal to ban
144 Rule7: &cMaking truce or team with others in ffa will be equal to 3-day ban
145 Rule8: &cThe final heal is in %{finalheal}% minutes
146 Rule9: &cPvP is in %{finalheal}% minutes
147 Rule10: &cMeetup is in %{meetup}% minutes
148 Rule11: &cThe worldborder is %{border}%x%{border}%
149 Rule12: &cThanks to %{host}% &cfor host the UHC, and thanks to all players for play the UHC!
150 # Only in Teams
151 YouCanBackpack: &cYou can open the backpack using /bp
152 # Only in FFA
153 TruceIsNotAllowed: &cTruce is not allowed!
154# World Border Options #
155options:
156 WorldBorderMessage: &cYou can't edge the border
157 WorldBorderKnockback: 2.5
158
159
160command /uhc [<text>]:
161 permission: uhc.admin, uhc.*
162 trigger:
163 if arg-1 is not set:
164 send "&cUse /uhc start"
165 else if arg-1 is "start":
166 if {Teams.Management} is true:
167 teleport player to {spawnuhc}
168 set {playersjoineduhc} to number of all players
169 delete {ffa}
170 set {chat.disabled} to true
171 teleport all players to player
172 execute player command "/§setborder %{borderstart}% {@world}"
173 broadcast "{@Prefix} &aThe UHC is starting in 13 seconds!"
174 wait 10 seconds
175 broadcast "{@Prefix} &aThe UHC is starting in 3 seconds!"
176 wait 3 seconds
177 execute player command "/$4uhcstart"
178 remove 10 from {borderstart}
179 execute player command "/sca {@world} %{borderstart}% teams 50"
180 add 10 to {borderstart}
181 set {started} to true
182 execute player command "/resetkt"
183 set {uhc.left} to number of all players
184 execute player command "/§resetbp reset"
185 loop all players:
186 heal the loop-player
187 set food bar to 20
188 clear loop-player's inventory
189 apply slowness 50 to the loop-player for 120 seconds
190 apply resistance 50 to the loop-player for 120 seconds
191 apply blindness 50 to the loop-player for 120 seconds
192 set {build::%loop-player%} to true
193 set {ingame::%loop-player%} to true
194 set {teamkills::%loop-player%} to 0
195 delete {practice::*}
196 delete {staffmode::*}
197 delete {frozen::*}
198 delete {spect::*}
199 reveal loop-player to all players
200 set loop-player's flight mode to false
201 add 1 to {gamesplayed.%loop-player%}
202 delete {combatlog::*}
203 broadcast "{@Prefix} &aUHC Rules!"
204 wait 2 seconds
205 broadcast "{@Prefix} {@YouCanBackpack}"
206 wait 2 seconds
207 broadcast "{@Prefix} {@Rule1}"
208 wait 2 seconds
209 broadcast "{@Prefix} {@Rule2}"
210 wait 2 seconds
211 broadcast "{@Prefix} {@Rule3}"
212 wait 2 seconds
213 broadcast "{@Prefix} {@Rule4}"
214 wait 2 seconds
215 broadcast "{@Prefix} {@Rule5}"
216 wait 2 seconds
217 broadcast "{@Prefix} {@Rule6}"
218 wait 2 seconds
219 broadcast "{@Prefix} {@Rule7}"
220 wait 2 seconds
221 broadcast "{@Prefix} {@Rule8}"
222 wait 2 seconds
223 broadcast "&a{@Prefix} {@Rule9}"
224 wait 2 seconds
225 broadcast "&a{@Prefix} {@Rule10}"
226 wait 2 seconds
227 broadcast "&a{@Prefix} {@Rule11}"
228 wait 2 seconds
229 broadcast "&a{@Prefix} {@Rule12}"
230 execute player command "/§l"
231 if {Teams.Management} is not set:
232 teleport player to {spawnuhc}
233 set {playersjoineduhc} to number of all players
234 delete {ffa}
235 set {chat.disabled} to true
236 teleport all players to player
237 execute player command "/§setborder %{borderstart}% {@world}"
238 broadcast "{@Prefix} &aThe UHC is starting in 13 seconds!"
239 wait 10 seconds
240 broadcast "{@Prefix} &aThe UHC is starting in 3 seconds!"
241 wait 3 seconds
242 execute player command "/$4uhcstart"
243 remove 10 from {borderstart}
244 execute player command "/sca {@world} %{borderstart}% solo 50"
245 add 10 to {borderstart}
246 set {started} to true
247 execute player command "/resetkt"
248 set {uhc.left} to number of all players
249 execute player command "/§resetbp reset"
250 loop all players:
251 heal the loop-player
252 set food bar to 20
253 clear loop-player's inventory
254 apply slowness 50 to the loop-player for 120 seconds
255 apply resistance 50 to the loop-player for 120 seconds
256 apply blindness 50 to the loop-player for 120 seconds
257 set {build::%loop-player%} to true
258 set {ingame::%loop-player%} to true
259 delete {practice::*}
260 delete {staffmode::*}
261 delete {frozen::*}
262 delete {spect::*}
263 reveal loop-player to all players
264 set loop-player's flight mode to false
265 add 1 to {gamesplayed.%loop-player%}
266 delete {combatlog::*}
267 broadcast "{@Prefix} &aUHC Rules!"
268 wait 2 seconds
269 broadcast "{@Prefix} {@TruceIsNotAllowed}"
270 wait 2 seconds
271 broadcast "{@Prefix} {@Rule1}"
272 wait 2 seconds
273 broadcast "{@Prefix} {@Rule2}"
274 wait 2 seconds
275 broadcast "{@Prefix} {@Rule3}"
276 wait 2 seconds
277 broadcast "{@Prefix} {@Rule4}"
278 wait 2 seconds
279 broadcast "{@Prefix} {@Rule5}"
280 wait 2 seconds
281 broadcast "{@Prefix} {@Rule6}"
282 wait 2 seconds
283 broadcast "{@Prefix} {@Rule7}"
284 wait 2 seconds
285 broadcast "{@Prefix} {@Rule8}"
286 wait 2 seconds
287 broadcast "&a{@Prefix} {@Rule9}"
288 wait 2 seconds
289 broadcast "&a{@Prefix} {@Rule10}"
290 wait 2 seconds
291 broadcast "&a{@Prefix} {@Rule11}"
292 wait 2 seconds
293 broadcast "&a{@Prefix} {@Rule12}"
294on quit:
295 {started} is true
296 {ingame::%player%} is set
297 remove 1 from {uhc.left}
298
299on death of a player:
300 {started} is true
301 {ingame::%victim%} is set
302 remove 1 from {uhc.left}
303 add 1 to {uhc.spectators}
304 add 1 to {kc.%attacker%}
305 set {respawn::%victim%} to victim's location
306 make the victim execute command "/§saveinv"
307
308on join:
309 {started} is true
310 {ingame::%player%} is set
311 add 1 to {uhc.left}
312
313command /$4uhcstart:
314 permission: uhc.admin
315 trigger:
316 execute player command "/wl add all"
317 execute player command "/wl on"
318 wait 5 seconds
319 set {uhc.spectators} to 0
320 execute console command "/time set 1"
321 execute console command "/mvrule naturalRegeneration false {@world}"
322 execute console command "/mvrule doDaylightCycle false {@world}"
323 execute player command "/giveall 364 %{startfood}%"
324 disable pvp in all worlds
325 wait 22 seconds
326 broadcast "{@startmessage}"
327 execute player command "/starttime"
328 if {builduhc.gamemode} is true:
329 make all players execute command "/§sadasdveinv"
330 broadcast "&a&lGamemode: &b&lBuildUHC"
331 if {builduhc.gamemode} is not set:
332 broadcast "&a&lGamemode: &b&lNormal"
333 if {soup.gamemode} is true:
334 make all players execute command "/§soupinv"
335 broadcast "&a&lGamemode: &b&lSoup"
336 remove slowness from all players
337 remove resistance from all players
338 remove blindness from all players
339 set {_healtime} to "%{finalheal}% minutes" parsed as timespan
340 wait {_healtime}
341 loop all players:
342 heal the loop-player
343 set food bar to 20
344 enable pvp in all worlds
345 delete {chat.disabled}
346 broadcast "&aChat is now enabled!"
347 broadcast "{@Prefix} {@finalheal}"
348 broadcast "{@Prefix} {@pvpalert}"
349 broadcast "{@borderprefix} {@borderalert}"
350 set {_removetime} to "%{finalheal}%" parsed as number
351 remove {_removetime} from {meetup}
352 set {_meetuptime2} to "%{meetup}% minutes" parsed as timespan
353 wait {_meetuptime2}
354 execute console command "setborder %{shrink1}% {@world}"
355 wait 5 minutes
356 execute console command "setborder %{shrink2}% {@world}"
357 wait 12 seconds
358 broadcast "&C&lWARNING: &6The border is now %{shrink2}%x%{shrink2}% you can't mine, camping or other."
359 wait 228 seconds
360 execute console command "setborder %{shrink3}% {@world}"
361 wait 12 seconds
362 broadcast "&c&lWARNING: &6The host will assign the fights, nobody will fight without being assigned or they could be sanctioned, from now on it is forbidden to clean or steal loot, mine or other. all this will be sanctioned."
363 wait 228 seconds
364 execute console command "setborder %{shrink4}% {@world}"
365
366on command "/$4uhcstart":
367 {started} is true
368 cancel event
369 send "{@nocommand}"
370
371on command "/uhc":
372 {started} is true
373 cancel event
374 send "{@nocommand}"
375
376on death:
377 {started} is true
378 victim is player
379 wait 2 seconds
380 delete {whitelisted::%victim%}
381 add 1 to {kills.%attacker%}
382 add 1 to {deaths.%victim%}
383on join:
384 {started} is false
385 heal the player
386 set food bar to 20
387 clear player's inventory
388 teleport player to {spawnuhc}
389 set {kc.%player%} to 0
390 delete {host.%player%}
391 set {uhc.left} to number of all players
392 clear player's inventory
393 set {warns.%player%} to 0
394 teleport player to {spawnuhc}
395 set level of player to 0
396 reveal player to all players
397 send "&7"
398 send " &7&m-----------------------------"
399 send " &aWelcome to &l&4WTF&fGames&9UHC! &ahosted by &b&l%{host}%"
400 send " &aSee the configuration using /config!"
401 send " &7&m-----------------------------"
402 send "&7"
403 execute console command "/unspec %player%"
404 {staffmode::%player%} is set
405 make player execute command "/staff"
406
407on rightclick on horse or donkey:
408 if {horseless} is true:
409 cancel event
410
411on join:
412 world is "{@lobbyworld}"
413 player has permission "uhc.admin"
414 wait 2 seconds
415 set slot 0 of player to a book named "{@GameSettings}"
416 set slot 1 of player to a nether star named "{@TwitterAPI}"
417
418on join:
419 world is "{@lobbyworld}"
420 wait 2 seconds
421 set slot 8 of player to a paper named "{@CurrentConfiguration}"
422 set slot 4 of player to a iron sword named "{@Practice}"
423
424
425on rightclick holding ender chest:
426 if name of player's tool is "{@BackPack}":
427 wait 3 ticks
428 make player execute command "/bp"
429
430on rightclick holding book:
431 if name of player's tool is "{@GameSettings}":
432 wait 3 ticks
433 make player execute command "/open config"
434
435on rightclick holding iron sword:
436 if name of player's tool is "{@Practice}":
437 wait 3 ticks
438 make player execute command "/a"
439
440on rightclick holding paper:
441 if name of player's tool is "{@CurrentConfiguration}":
442 wait 3 ticks
443 make player execute command "/config"
444
445on rightclick holding nether star:
446 if name of player's tool is "{@TwitterAPI}":
447 wait 3 ticks
448 make player execute command "/postuhc"
449
450on place ender chest:
451 cancel event
452
453on server list ping:
454 set motd to "{@motdserver}"
455
456On consume a golden apple:
457 if item is golden apple item named "{@goldenhead}":
458 {started} is true
459 {goldenhead} is true
460 remove regeneration from player
461 remove absorption from player
462 apply regeneration 2 to the player for 10 seconds
463 apply absorption 1 to the player for 120 seconds
464 add 1 to {heads.%player%}
465 stop
466 else:
467 {started} is true
468 remove regeneration from player
469 remove absorption from player
470 apply regeneration 2 to the player for 5 seconds
471 apply absorption 1 to the player for 120 seconds
472 add 1 to {gapples.%player%}
473 {absorptionless} is true
474 remove absorption from player
475 stop
476
477On consume a golden apple:
478 {absorptionless} is true
479 remove absorption from player
480
481variables:
482 {whitelist} = false
483 {wlbroadcast} = op
484 {deathwl} = off
485
486command /whitelist [<text>] [<text>]:
487 description: Whitelist command
488 usage: /whitelist
489 permission: uhc.admin
490 permission message: §4You don't have permission to use this command
491 aliases: /wl
492 executable by: players and console
493 trigger:
494 if arg 1 is "on":
495 if {whitelist} is false:
496 set {whitelist} to true
497 if {wlbroadcast} is "op":
498 loop all players:
499 loop-player is op
500 message "{@Prefix} Whitelist on" to loop-player
501 else if {wlbroadcast} is "all":
502 broadcast "{@Prefix} Whitelist on"
503 else:
504 message "{@Prefix} Whitelist on" to command sender
505 else:
506 message "{@Prefix} The whitelist is already on!" to command sender
507
508 else if arg 1 is "off":
509 if {whitelist} is true:
510 set {whitelist} to false
511 if {wlbroadcast} is "op":
512 loop all players:
513 loop-player is op
514 message "{@Prefix} Whitelist off" to loop-player
515 else if {wlbroadcast} is "all":
516 broadcast "{@Prefix} Whitelist off"
517 else:
518 message "{@Prefix} Whitelist off" to command sender
519 else:
520 message "{@Prefix} The whitelist is already off!" to command sender
521
522 else if arg 1 is "add":
523 if arg 2 is not set:
524 message "{@Prefix} Please set a player or all players to add to the whitelist" to command sender
525 else if arg 2 is "all":
526 loop all players:
527 set {whitelisted::%loop-player%} to true
528 if {wlbroadcast} is "op":
529 loop all players:
530 loop-player is op
531 message "{@Prefix}All whitelisted" to loop-player
532 else if {wlbroadcast} is "all":
533 broadcast "{@Prefix} All whitelisted"
534 else:
535 message "{@Prefix} All whitelisted" to command sender
536 else:
537 set {whitelisted::%arg 2%} to true
538 if {wlbroadcast} is "op":
539 loop all players:
540 loop-player is op
541 message "{@Prefix} %arg 2% added to whitelist" to loop-player
542 else if {wlbroadcast} is "all":
543 broadcast "{@Prefix} %arg 2% added to whitelist"
544 else:
545 message "{@Prefix} %arg 2% added to whitelist" to command sender
546
547 else if arg 1 is "remove":
548 if arg 2 is not set:
549 message "{@Prefix}Please set a player or all players to add to the whitelist" to command sender
550 else if arg 2 is "all":
551 clear {whitelisted::*}
552 if {wlbroadcast} is "op":
553 loop all players:
554 loop-player is op
555 message "{@Prefix} Whitelist emptied" to loop-player
556 else if {wlbroadcast} is "all":
557 broadcast "{@Prefix} Whitelist emptied"
558 else:
559 message "{@Prefix} Whitelist emptied" to command sender
560 else:
561 delete {whitelisted::%arg 2%}
562 if {wlbroadcast} is "op":
563 loop all players:
564 loop-player is op
565 message "{@Prefix} %arg 2% removed from whitelist" to loop-player
566 else if {wlbroadcast} is "all":
567 broadcast "{@Prefix} %arg 2% removed from whitelist"
568 else:
569 message "{@Prefix} %arg 2% removed from whitelist" to command sender
570
571 else if arg 1 is "list":
572 loop {whitelisted::*}:
573 add "%loop-index%" to {_Temp::*}
574 message "{@Prefix} Whitelisted players:" to command sender
575 message "%{_Temp::*}%" to command sender
576
577 else:
578 message "{@Prefix} List of available commands:" to command sender
579 message "/whitelist on &7- Turns the whitelist on" to command sender
580 message "/whitelist off &7- Turns the whitelist off" to command sender
581 message "/whitelist add <player/all> &7- Adds a player or everyone on the server to the whitelist" to command sender
582 message "/whitelist remove <player/all> &7- Removes a player from the whitelist or clears the whitelist" to command sender
583 message "/whitelist list &7- Lists everyone on the whitelist currently" to command sender
584 message "To access the default whitelist, do /bukkit:whitelist" to command sender
585on connect:
586 {whitelist} is true
587 {whitelisted::%player%} is not set
588 player does not have permission "uhc.admin" or "donator.whitelist"
589 kick the player due to "&7You can't join this server but%nl%%nl%&7the whitelist is &a&lON"
590
591on connect:
592 {loadingmap} is true
593 kick the player due to "{@Prefix} &eLoading map!"
594
595on command "/open config":
596 player does not have permission "uhc.admin"
597 cancel event
598 send "&eOnly %{host}% &ecan do this!"
599
600on death:
601 victim is player
602 {deathwl} is "on"
603 delete {whitelisted::%victim%}
604
605command /game <text> <player>:
606 permission: donator.whitelist
607 trigger:
608 if arg-1 is "add":
609 if arg-2 is set:
610 execute console command "/wl add %arg-2%"
611 broadcast "{@Prefix} &e%arg-2% added to the whitelist by %player%"
612 set {game::%player%} to true
613on command "/game":
614 {game::%player%} is true
615 cancel event
616
617command /host <text> <player>:
618 permission: uhc.admin
619 trigger:
620 if arg 1 is "add":
621 delete {rank.%arg-2%}
622 set {host} to arg-2
623 broadcast "&a%arg-2% is the new host of UHC!"
624 execute console command "/op %arg-2%"
625 set {rank.%arg-2%} to "host"
626 if arg 1 is "remove" or "delete":
627 set {host} to "&c"
628 broadcast "&a%arg-2% no is the host of UHC!"
629 execute console command "/deop %arg-2%"
630 delete {rank.%arg-2%}
631 if arg 2 is not set:
632 send "&cUse /host add/remove <player>"
633
634command /build <text>:
635 permission: uhc.admin
636 trigger:
637 if arg 1 is "on":
638 set {build::%player%} to true
639 send "&eBuild &6» &aON"
640 if arg 1 is "off":
641 delete {build::%player%}
642 send "&eBuild &6» &cOFF"
643
644on command "/setrank":
645 {useranks} is false
646 cancel event
647 send "&cRanks of the plugin UHC is disabled!"
648
649on death:
650 {ffa} is true
651 clear drops
652 clear dropped items
653 apply regeneration 10 to the attacker for 2 seconds
654 apply speed 3 to the attacker for 2 seconds
655on spawn:
656 {hs} is true
657 entity is a horse
658 cancel the event
659
660on death:
661 if {ffa} is true:
662 attacker is a player
663 victim is a player
664 if damage was caused by projectile:
665 loop items in attacker's inventory:
666 if loop-item is a bow of power 0:
667 enchant loop-item with power 1
668 send "{@Prefix}&7 Your Bow has been upgraded to &aPower 1" to the attacker
669 else if loop-item is a bow of power 1:
670 enchant loop-item with power 2
671 send "{@Prefix}&7 Your Bow has been upgraded to &aPower 2" to the attacker
672 else if loop-item is a bow of power 2:
673 enchant loop-item with power 3
674 send "{@Prefix}&7 Your Bow has been upgraded to &aPower 3" to the attacker
675 else if loop-item is a bow of power 3:
676 enchant loop-item with power 4
677 send "{@Prefix}&7 Your Bow has been upgraded to &aPower 4" to the attacker
678 else if loop-item is a bow of power 4:
679 enchant loop-item with power 5
680 send "{@Prefix}&7 Your Bow has been upgraded to &aPower 5" to the attacker
681 else if loop-item is a bow of power 5:
682 send "{@Prefix}&7 Your Bow is at it's maximum level!" to the attacker
683 else if damage was caused by attack:
684 loop items in attacker's inventory:
685 if loop-item is a sword of sharpness 0:
686 enchant loop-item with sharpness 1
687 send "{@Prefix}&7 Your Sword has been upgraded to &aSharpness 1" to the attacker
688 else if loop-item is a sword of sharpness 1:
689 enchant loop-item with sharpness 2
690 send "{@Prefix}&7 Your Sword has been upgraded to &aSharpness 2" to the attacker
691 else if loop-item is a sword of sharpness 2:
692 enchant loop-item with sharpness 3
693 send "{@Prefix}&7 Your Sword has been upgraded to &aSharpness 3" to the attacker
694 else if loop-item is a sword of sharpness 3:
695 enchant loop-item with sharpness 4
696 send "{@Prefix}&7 Your Sword has been upgraded to &aSharpness 4" to the attacker
697 else if loop-item is a sword of sharpness 4:
698 enchant loop-item with sharpness 5
699 send "{@Prefix}&7 Your Sword has been upgraded to &aSharpness 5" to the attacker
700 else if loop-item is a sword of sharpness 5:
701 send "{@Prefix}&7 Your Sword is at it's maximum level!" to the attacker
702
703on death:
704 if {ffa} is true:
705 attacker is a player
706 victim is a player
707 send "{@Prefix}&eYou killed &a%victim%!" to the attacker
708 send "{@Prefix}&eYou were killed by: &c%attacker%&r!" to the victim
709 give attacker 1 golden apple named "&bGolden Apple"
710
711on death:
712 if {ffa} is true:
713 set the death message to ""
714
715on projectile hit:
716 wait 15 seconds
717 delete the arrow
718
719on respawn:
720 {ffa} is true
721 teleport player to {spawnuhc}
722 delete {practice::%player%}
723 wait 1.2 seconds
724 set slot 8 of player to a paper named "{@CurrentConfiguration}"
725 set slot 4 of player to a iron sword named "{@Practice}"
726 player has permission "uhc.admin"
727 set slot 0 of player to a book named "{@GameSettings}"
728 set slot 1 of player to a nether star named "{@TwitterAPI}"
729
730on command "/a":
731 {practice::%player%} is true
732 cancel event
733 send "&cError: Command blocked!"
734
735on command "/practice":
736 {practice::%player%} is true
737 cancel event
738 send "&cError: Command blocked!"
739
740on command "/kt":
741 {started} is false
742 cancel event
743 send "{@nostart}"
744
745on command "/kc":
746 {started} is false
747 cancel event
748 send "{@nostart}"
749
750on command "/h":
751 {started} is false
752 cancel event
753 send "{@nostart}"
754On death of a player:
755 if attacker is a player:
756
757 if {kills::%attacker%} is not set:
758 set {kills::%attacker%} to 0
759
760 add 1 to {kills::%attacker%}
761 stop
762
763command /kt:
764
765 trigger:
766
767 loop {kills::*}:
768 add 1 to {_size}
769 if {_low.to.high.list::%loop-value%} is not set:
770 set {_low.to.high.list::%loop-value%} to loop-index
771 else:
772 set {_n} to 0
773 loop {_size} times:
774 set {_n} to {_n}+1
775 {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
776 set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
777 stop loop
778 wait 1 tick
779 set {_n} to size of {_low.to.high.list::*}
780 loop {_low.to.high.list::*}:
781 set {_high.to.low.list::%{_n}%} to loop-value
782 set {_n} to {_n}-1
783 wait 1 tick
784 send "{@KillTopPrefix}" to player
785 loop {_high.to.low.list::*}:
786 add 1 to {_result}
787 send "{@KillTopPlayers}" to player
788 if {_result} is 10:
789 stop
790
791on command "/mlg":
792 if {staffmode::%player%} is true:
793 cancel event
794 send "&cCommand blocked for Staff!"
795 if {spect::%player%} is true:
796 cancel event
797 send "&cCommand blocked for Spectators!"
798
799command /resetkt:
800 permission: uhc.admin, uhc.*
801 trigger:
802 delete {kills::*}
803 delete {_high.to.low.list::*}
804 delete {_size}
805 delete {_n}
806 delete {_high.to.low.list::%{_n}%}
807
808on death of player:
809 {started} is true
810 set death message to ""
811 damage was caused by fall
812 broadcast "{@deathfall}"
813
814on death of player:
815 {started} is true
816 set death message to ""
817 attacker is a player
818 broadcast "{@deathbyplayer}"
819
820on death of player:
821 {started} is true
822 set death message to ""
823 attacker is a zombie
824 broadcast "{@deathbyzombie}"
825
826on death of player:
827 {started} is true
828 set death message to ""
829 attacker is a creeper
830 broadcast "{@deathbycreeper}"
831
832on death of player:
833 {started} is true
834 set death message to ""
835 attacker is a skeleton
836 broadcast "{@deathbyskeleton}"
837
838on death of player:
839 {started} is true
840 set death message to ""
841 attacker is a spider
842 broadcast "{@deathbyspider}"
843
844on death of player:
845 {started} is true
846 set death message to ""
847 attacker is a enderman
848 broadcast "{@deathbyenderman}"
849
850on death of player:
851 {started} is true
852 set death message to ""
853 damage was caused by drowning
854 broadcast "{@deathbydrown}"
855
856on death of player:
857 {started} is true
858 set death message to ""
859 damage was caused by lava
860 broadcast "{@deathbylava}"
861
862on weather change to rain:
863 set weather to sunny
864
865on weather change to thundering:
866 set weather to sunny
867
868on first join:
869 set {gapples.%player%} to 0
870 set {kills.%player%} to 0
871 set {deaths.%player%} to 0
872 set {gapples.%player%} to 0
873 set {heads.%player%} to 0
874 set {wins.%player%} to 0
875 set {Diamonds::%player%} to 0
876 set {Gold::%player%} to 0
877 set {Iron::%player%} to 0
878 set {Coal::%player%} to 0
879 set {Lapis::%player%} to 0
880 set {Redstone::%player%} to 0
881 set {Emerald::%player%} to 0
882 set {Quartz::%player%} to 0
883 set {gamesplayed.%player%} to 0
884
885command /win <player>:
886 permission: uhc.admin
887 trigger:
888 broadcast "{@VictoryMessage}"
889 set {finished} to true
890 add 1 to {wins.%arg-1%}
891 tweet "{@PostWinner}"
892
893command /resetstats <player>:
894 permission: uhc.admin
895 trigger:
896 set {gapples.%arg-1%} to 0
897 set {kills.%arg-1%} to 0
898 set {deaths.%arg-1%} to 0
899 set {gapples.%arg-1%} to 0
900 set {heads.%arg-1%} to 0
901 set {wins.%arg-1%} to 0
902 set {Diamonds::%arg-1%} to 0
903 set {Gold::%arg-1%} to 0
904 set {Iron::%arg-1%} to 0
905 set {Coal::%arg-1%} to 0
906 set {Lapis::%arg-1%} to 0
907 set {Redstone::%arg-1%} to 0
908 set {Emerald::%arg-1%} to 0
909 set {Quartz::%arg-1%} to 0
910 set {gamesplayed.%arg-1%} to 0
911 send "&aStats of %arg-1% reseted!"
912
913command /stats [<player>]:
914 aliases: /estadisticas, /estats, /statistics, /estatistics
915 trigger:
916 if arg 1 is not set:
917 open chest with 3 rows named "&c%player%" to player
918 format slot 10 of player with beacon named "&eWins: &f%{wins.%player%}%" to be unstealable
919 format slot 11 of player with diamond sword named "&aKills: &f%{kills.%player%}%" to be unstealable
920 format slot 12 of player with zombie head named "&cDeaths: &f%{deaths.%player%}%" to be unstealable
921 format slot 13 of player with player head named "&bGames Played: &f%{gamesplayed.%player%}%" to be unstealable
922 format slot 14 of player with golden apple named "&bGolden Apple's Eaten: &f%{gapples.%player%}%" to be unstealable
923 format slot 15 of player with golden apple named "{@goldenhead}'s Eaten: &f%{heads.%player%}%" to be unstealable
924 format slot 16 of player with diamond named "&bOres Mined" with lore "&bDiamond Ore Mined: %{Diamonds::%player%}%||&eGold Ore Mined: %{Gold::%player%}%||&7Iron Ore Mined: %{Iron::%player%}%||&8Coal Ore Mined: %{Coal::%player%}%||&3Lapis Lazuli Ore Mined: %{Lapis::%player%}%||&cRestone Ore Mined: %{Redstone::%player%}%||&aEmerald Ore Mined: %{Emerald::%player%}%||&fNether Quartz Ore Mined: %{Quartz::%player%}%" to be unstealable
925 if arg 1 is set:
926 open chest with 3 rows named "&c%arg-1%" to player
927 format slot 10 of player with beacon named "&eWins: &f%{wins.%arg-1%}%" to be unstealable
928 format slot 11 of player with diamond sword named "&aKills: &f%{kills.%arg-1%}%" to be unstealable
929 format slot 12 of player with zombie head named "&cDeaths: &f%{deaths.%arg-1%}%" to be unstealable
930 format slot 13 of player with player head named "&bGames Played: &f%{gamesplayed.%arg-1%}%" to be unstealable
931 format slot 14 of player with golden apple named "&bGolden Apple's Eaten: &f%{gapples.%arg-1%}%" to be unstealable
932 format slot 15 of player with golden apple named "{@goldenhead}'s Eaten: &f%{heads.%arg-1%}%" to be unstealable
933 format slot 16 of player with diamond named "&bOres Mined" with lore "&bDiamond Ore Mined: %{Diamonds::%arg-1%}%||&eGold Ore Mined: %{Gold::%arg-1%}%||&7Iron Ore Mined: %{Iron::%arg-1%}%||&8Coal Ore Mined: %{Coal::%arg-1%}%||&3Lapis Lazuli Ore Mined: %{Lapis::%arg-1%}%||&cRestone Ore Mined: %{Redstone::%arg-1%}%||&aEmerald Ore Mined: %{Emerald::%arg-1%}%||&fNether Quartz Ore Mined: %{Quartz::%arg-1%}%" to be unstealable
934
935on mine of diamond ore:
936 if {started} is true:
937 add 1 to {Diamonds::%player%}
938
939on mine of gold ore:
940 if {started} is true:
941 add 1 to {Gold::%player%}
942
943on mine of iron ore:
944 if {started} is true:
945 add 1 to {Iron::%player%}
946
947on mine of coal ore:
948 if {started} is true:
949 add 1 to {Coal::%player%}
950
951on mine of lapis ore:
952 if {started} is true:
953 add 1 to {Lapis::%player%}
954
955on mine of redstone ore:
956 if {started} is true:
957 add 1 to {Redstone::%player%}
958
959on mine of emerald ore:
960 if {started} is true:
961 add 1 to {Emerald::%player%}
962
963on mine of nether quartz ore:
964 if {started} is true:
965 add 1 to {Quartz::%player%}
966
967command /kc [<player>]:
968 trigger:
969 if arg 1 is not set:
970 send "{@KillCount}"
971 if arg 1 is set:
972 send "{@KillCountOthers}"
973
974command /h [<player>]:
975 trigger:
976 if arg 1 is not set:
977 send "{@health}"
978 if arg 1 is set:
979 send "{@healthothers}"
980
981command /apples [<text>] [<int>]:
982 permission: uhc.admin
983 aliases: /applerates, /arates, /appler
984 usage: /apples [<set:reset>] [<rate (1-100)>]
985 trigger:
986 if arg-1 is "reset":
987 broadcast "{@Prefix} Apple Rates set to Vanilla"
988 delete {rates::apples}
989 else if arg-1 is "set":
990 if arg-2 is not set:
991 send "{@Prefix} You must specify a rate to set it to!" to command sender
992 stop
993 else if arg-2 is less than 0:
994 send "{@Prefix} No number lower than 0!" to command sender
995 stop
996 else if arg-2 is greater than 100:
997 stop
998 set {rates::apples} to arg-2
999 broadcast "{@Prefix} Apple Rates set to %arg-2%%%"
1000 else:
1001 if {rates::apples} is set:
1002 send "{@Prefix} Current Apple Rates: %{rates::apples}%%%"
1003 else:
1004 send "{@Prefix} Current Apple Rates: Vanilla"
1005 send "{@Prefix} /apples [<set:reset>] [<rate (1-100)>]"
1006
1007command /flint [<text>] [<int>]:
1008 permission: uhc.admin
1009 aliases: /flintrates, /flintr, /frates
1010 usage: /flintrates [<set:reset>] [<rate (1-100)>]
1011 trigger:
1012 if arg-1 is "reset":
1013 broadcast "{@Prefix} Flint Rates set to Vanilla"
1014 delete {rates::flint}
1015 else if arg-1 is "set":
1016 if arg-2 is not set:
1017 send "{@Prefix} You must specify a rate to set it to!" to command sender
1018 stop
1019 else if arg-2 is less than 0:
1020 send "{@Prefix} No number lower than 0!" to command sender
1021 stop
1022 else if arg-2 is greater than 100:
1023 send "{@Prefix} No number higher than 100!" to command sender
1024 stop
1025 set {rates::flint} to arg-2
1026 broadcast "{@Prefix} Flint Rates set to %arg-2%%%"
1027 else:
1028 if {rates::flint} is set:
1029 send "{@Prefix} Current Flint Rates: %{rates::flint}%%%"
1030 else:
1031 send "{@Prefix} Current Flint Rates: Vanilla"
1032 send "{@Prefix} /flint [<set:reset>] [<rate (1-100)>]"
1033
1034on break of gravel:
1035 event-player's gamemode is survival
1036 world is not "pvparena" or "map" or "{@lobbyworld}"
1037 if {rates::flint} is not set:
1038 stop
1039 cancel the event
1040 set the event-block to air
1041 set {_chance} to a random integer between 1 and 100
1042 if {_chance} is between -1 and {rates::flint}:
1043 drop 1 flint at event-block
1044 else:
1045 drop 1 gravel at event-block
1046
1047on leaves decay:
1048 world is not "pvparena" or "map" or "{@lobbyworld}"
1049 if {rates::apples} is not set:
1050 stop
1051 cancel the event
1052 set the event-block to air
1053 chance of {rates::apples}%:
1054 drop 1 apple at event-block
1055 if event-block is oak leaves:
1056 chance of 5%
1057 drop 1 oak sapling at event-block
1058 else if event-block is spruce leaves:
1059 chance of 5%
1060 drop 1 spruce sapling at event-block
1061 else if event-block is birch leaves:
1062 chance of 5%
1063 drop 1 birch sapling at event-block
1064 else if event-block is jungle leaves:
1065 chance of 5%
1066 drop 1 jungle sapling at event-block
1067 else if event-block is acacia leaves:
1068 chance of 5%
1069 drop 1 acacia sapling at event-block
1070 else if event-block is dark oak leaves:
1071 chance of 5%
1072 drop 1 dark oak sapling at event-block
1073
1074on break of leaves:
1075 event-player's gamemode is survival
1076 world is not "pvparena" or "map" or "{@lobbyworld}"
1077 if {rates::apples} is not set:
1078 stop
1079 if event-player is holding shears:
1080 false is true
1081 stop
1082 if false is true:
1083 event-block is not oak leaves or dark oak leaves
1084 stop
1085 cancel the event
1086 set the event-block to air
1087 chance of {rates::apples}%:
1088 drop 1 apple at event-block
1089 if event-block is oak leaves:
1090 chance of 5%
1091 drop 1 oak sapling at event-block
1092 else if event-block is spruce leaves:
1093 chance of 5%
1094 drop 1 spruce sapling at event-block
1095 else if event-block is birch leaves:
1096 chance of 5%
1097 drop 1 birch sapling at event-block
1098 else if event-block is jungle leaves:
1099 chance of 5%
1100 drop 1 jungle sapling at event-block
1101 else if event-block is acacia leaves:
1102 chance of 5%
1103 drop 1 acacia sapling at event-block
1104 else if event-block is dark oak leaves:
1105 chance of 5%
1106 drop 1 dark oak sapling at event-block
1107
1108command /§resetbp [<text>]:
1109 permission: uhc.admin, uhc.*
1110 trigger:
1111 if arg-1 is "reset":
1112 loop all players:
1113 clear loop-player's ender chest
1114 delete {teaminv::*}
1115 stop
1116
1117command /backpack:
1118 aliases: /bp
1119 trigger:
1120 if {backpack} is true:
1121 if {Teams.InTeam::%player%} is not set:
1122 open the player's ender chest to the player
1123 stop
1124 else:
1125 if {teaminv::%{Teams.InTeam::%player%}%} is not set:
1126 open the player's ender chest to the player
1127 set {teaminv::%{Teams.InTeam::%player%}%} to "%command sender%" parsed as offline player
1128 stop
1129 else:
1130 open {teaminv::%{Teams.InTeam::%player%}%}'s ender chest to the player
1131 else:
1132 message "{@Prefix} &cBackpacks disabled!"
1133
1134command /giveall <item> [<integer>]:
1135 usage: /giveall <item> [<amount>]
1136 permission: uhc.admin
1137 trigger:
1138 if arg-2 is more than 1:
1139 set {_amt} to arg-2
1140 else:
1141 set {_amt} to 1
1142 loop all players:
1143 loop {_amt} times:
1144 if loop-player has space for (1 of (arg-1)):
1145 give loop-player (1 of (arg-1))
1146 else:
1147 drop (1 of (arg-1)) at (location 0.5 above loop-player)
1148 broadcast "&a%sender% &7Give all players &c%{_amt}% %arg-1%'s"
1149
1150on command "/config":
1151 cancel event
1152 open chest with 4 rows named "&a&lUHC Config" to player
1153 format slot 10 of player with chest named "&eScenarios" with lore "" to close then run "§codejuanzoovoltrix %player% sub"
1154 format slot 11 of player with clock named "&eTimes" with lore "" to close then run "3dashdjadasdvl %player% times"
1155 format slot 13 of player with bedrock named "&eBorders" with lore "" to close then run "§ltoxicnub %player% times"
1156 format slot 14 of player with cooked beef named "&eStart Food" with lore "" to close then run "3dashdjadasasdasdasddvl %player% times"
1157 format slot 19 of player with book named "&eOthers" with lore "" to close then run "§lxd23xd23ddas %player% sc"
1158 format slot 20 of player with apple named "&eApple Rate" with lore "&7%{rates::apples}%%%" to be unstealable
1159 format slot 35 of player with player head named "&eHost" with lore "&7%{host}%" to be unstealable
1160
1161on load:
1162 wait 1 second
1163 set {started} to false
1164 set {loadingmap} to true
1165 execute console command "/regenmap"
1166 set {playersjoineduhc} to 0
1167 set {time} to 10
1168 delete {orefrenzy}
1169 delete {_removetime}
1170 set {host} to "&c"
1171 set {borderstart} to "1000"
1172 set {shrink1} to "500"
1173 set {naturalRegeneration} to "OFF"
1174 set {shrink2} to "100"
1175 delete {soup.gamemode}
1176 delete {builduhc.gamemode}
1177 set {shrink3} to "50"
1178 set {horsehealing} to "OFF"
1179 set {naturalregeneration} to "OFF"
1180 set {nopotions} to "OFF"
1181 set {shrink4} to "25"
1182 delete {combatlog::*}
1183 delete {Stuff::*}
1184 set {gods} to "OFF"
1185 execute console command "/team man on"
1186 execute console command "/teamreset"
1187 wait 1 second
1188 execute console command "/team man off"
1189 execute console command "/wb {@world} clear"
1190 set {finalheal} to 10
1191 set {meetup} to 50
1192 set {rates::flint} to 1
1193 set {rates::apples} to 1
1194 set {startfood} to 25
1195 execute console command "/wb setmsg {@Prefix} {@WorldBorderMessage}"
1196 execute console command "/wb knockback {@WorldBorderKnockback}"
1197 execute console command "/wl remove all"
1198 set {Time1} to 0
1199 set {Time2} to 0
1200 set {Time3} to 0
1201 set {Time4} to 0
1202 set {Time5} to 0
1203 set {Time6} to 0
1204 set {finished} to false
1205 delete {useranks}
1206 set {useranks} to {@UseRanks}
1207 set {redditmode} to {@RedditMode}
1208 delete {chat.disabled}
1209 delete {resurrect::*}
1210 delete {respawn::*}
1211 delete {build::*}
1212 delete {game::*}
1213 delete {ingame::*}
1214 delete {teamkills::*}
1215 delete {muted::*}
1216 delete {practice::*}
1217 delete {spect::*}
1218 set {uhc.spectators} to 0
1219 set {uhc.left} to 0
1220 delete {staffmode::*}
1221 delete {frozen::*}
1222 set {nether.status} to "OFF"
1223 execute console command "/mv modify set pvp false {@lobbyworld}"
1224 execute console command "/mv modify set hunger false {@lobbyworld}"
1225 execute console command "/mv modify set animals false {@lobbyworld}"
1226 execute console command "/mv modify set monsters false {@lobbyworld}"
1227 execute console command "/mv modify set pvp true {@world}"
1228 delete {Scatter.DontUnloadChunks}
1229 delete {Scatter.Scattering::*}
1230 delete {SchedueldScatter::*}
1231
1232on load:
1233 twitter debug connect with consumer key "{@ConsumerKey}", consumer secret "{@ConsumerSecret}", access token "{@AccessToken}" and secret token "{@SecretToken}"
1234 register new shapeless recipe for golden apple item named "{@goldenhead}" using gold ingot, gold ingot, gold ingot, gold ingot, player head, gold ingot, gold ingot, gold ingot, gold ingot
1235
1236command /sca [<world>] [<int>] [<text>] [<int>] [<int=0>] [<int=0>]:
1237 aliases: /scatterall, /scatterteam, /scatterteams
1238 permission: uhc.admin
1239 trigger:
1240 if arg-1 is not set:
1241 send "&7 &7/sca &r<&7world&r> <&7radius&r> <&7team&r:&7*&r:&7player&r> [&7mindist&r] [&7x&r] [&7z&r]"
1242 stop
1243 if arg-2 is not set:
1244 send "&7 &7/sca &r<&7world&r> <&7radius&r> <&7team&r:&7*&r:&7player&r> [&7mindist&r] [&7x&r] [&7z&r]"
1245 stop
1246 if arg-3 is not set:
1247 send "&7 &7/sca &r<&7world&r> <&7radius&r> <&7team&r:&7*&r:&7player&r> [&7mindist&r] [&7x&r] [&7z&r]"
1248 stop
1249 set {_X} to arg-5
1250 set {_Z} to arg-6
1251 if arg-3 is "*" or "**" or "all" or "s" or "solo" or "solos":
1252 if command sender is console:
1253 stop
1254 set {_ToScatter::*} to (all players)
1255 loop all players:
1256 {spect::%loop-player%} is true
1257 remove loop-player from {_ToScatter::*}
1258 set {_Size} to (size of {_ToScatter::*})
1259 if arg-4 is set:
1260 if arg-4 is equal to 0:
1261 set {_Mindist} to (((arg-2 * 2) - 250)/{_Size})*3.5
1262 else:
1263 set {_Mindist} to arg-4
1264 else:
1265 set {_Mindist} to (((arg-2 * 2) - 250)/{_Size})*3.5
1266 loop ({_Size}) times:
1267 loop 1000 times:
1268 if (loop-number-2) is 1000:
1269 stop
1270 set {_Location.Good} to true
1271 set {_Location.Sky} to (the location at (random integer between ({_X}-arg-2) and ({_X}+arg-2)), 255, (random integer between ({_Z}-arg-2) and ({_Z}+arg-2)) of the world (arg-1))
1272 loop ((loop-number-1)-1) times:
1273 (distance between {_Location.Sky} and {_GoodLocation.Sky::%loop-number-3%}) is less than ({_Mindist})
1274 delete {_Location.Good}
1275 if {_Location.Good} is true:
1276 set {_Location.GroundLevel} to {_Location.Sky}
1277 while (block at {_Location.GroundLevel}) is air:
1278 if (y-coordinate of ({_Location.GroundLevel})) is less than 8:
1279 delete {_Location.Good}
1280 stop loop
1281 set {_Location.GroundLevel} to (location 1 below ({_Location.GroundLevel}))
1282 if {_Location.Good} is true:
1283 if (block at {_Location.GroundLevel}) is lava, water or cactus:
1284 delete {_Location.Good}
1285 else:
1286 set {_GoodLocation.Sky::%loop-number-1%} to ({_Location.Sky})
1287 set {_GoodLocation.GroundLevel::%loop-number-1%} to (location 3 above {_Location.GroundLevel})
1288 stop loop
1289 set {Scatter.DontUnloadChunks} to true
1290 wait 1 second
1291 loop {_Size} times:
1292 if command sender is not online:
1293 stop
1294 teleport command sender to {_GoodLocation.GroundLevel::%loop-number%}
1295 wait 1 second
1296 loop {ToScatter::*}:
1297 set {Scatter.Scattering::%loop-value%} to true
1298 wait 1 second
1299 set {_Scattered} to 0
1300 loop {_ToScatter::*}:
1301 add 1 to {_Scattered}
1302 if (loop-value) is not online:
1303 set {SchedueldScatter::%loop-value%} to ({_GoodLocation.GroundLevel::%{_Scattered}%})
1304 else:
1305 teleport loop-value to ({_GoodLocation.GroundLevel::%{_Scattered}%})
1306 wait 1 second
1307 delete {Scatter.Scattering::*}
1308 wait 1 second
1309 delete {Scatter.DontUnloadChunks}
1310 else if arg-3 is "teams" or "t" or "team":
1311 if command sender is console:
1312 stop
1313 loop {Teams::*}:
1314 {Team.%loop-value%::*} is set
1315 increase {_Count} by 1
1316 add {_Count} to {_TeamsToScatter::*}
1317 set {_TeamScatter.%{_Count}%::*} to ({Team.%loop-value%::*})
1318 loop all players:
1319 {Teams.InTeam::%loop-player%} is not set
1320 {spect::%loop-player%} is not set
1321 add loop-player to {_Solos::*}
1322 set {_Size} to ((size of {Teams::*})+(size of {_Solos::*}))
1323 if arg-4 is set:
1324 if arg-4 is equal to 0:
1325 set {_Mindist} to (((arg-2 * 2) - 250)/{_Size})*3.5
1326 else:
1327 set {_Mindist} to arg-4
1328 else:
1329 set {_Mindist} to (((arg-2 * 2) - 250)/{_Size})*3.5
1330 loop ({_Size}) times:
1331 loop 1000 times:
1332 if (loop-number-2) is 1000:
1333 stop
1334 set {_Location.Good} to true
1335 set {_Location.Sky} to (the location at (random integer between ({_X}-arg-2) and ({_X}+arg-2)), 255, (random integer between ({_Z}-arg-2) and ({_Z}+arg-2)) of the world (arg-1))
1336 loop ((loop-number-1)-1) times:
1337 (distance between {_Location.Sky} and {_GoodLocation.Sky::%loop-number-3%}) is less than ({_Mindist})
1338 delete {_Location.Good}
1339 if {_Location.Good} is true:
1340 set {_Location.GroundLevel} to {_Location.Sky}
1341 while (block at {_Location.GroundLevel}) is air:
1342 if (y-coordinate of ({_Location.GroundLevel})) is less than 8:
1343 delete {_Location.Good}
1344 stop loop
1345 set {_Location.GroundLevel} to (location 1 below ({_Location.GroundLevel}))
1346 if {_Location.Good} is true:
1347 if (block at {_Location.GroundLevel}) is lava, water or cactus:
1348 delete {_Location.Good}
1349 else:
1350 set {_GoodLocation.Sky::%loop-number-1%} to ({_Location.Sky})
1351 set {_GoodLocation.GroundLevel::%loop-number-1%} to (location 3 above {_Location.GroundLevel})
1352 stop loop
1353 set {Scatter.DontUnloadChunks} to true
1354 wait 1 second
1355 loop {_Size} times:
1356 if command sender is not online:
1357 stop
1358 teleport command sender to {_GoodLocation.GroundLevel::%loop-number%}
1359 wait 1 second
1360 loop all players:
1361 set {Scatter.Scattering::%loop-player%} to true
1362 wait 1 second
1363 set {_TeamSize} to (size of {_Scatter.Teams::*})
1364 set {_SoloSize} to (size of {_Solos::*})
1365 loop {_TeamsToScatter::*}:
1366 add 1 to {_PositionCount}
1367 add 1 to {_TeamCount}
1368 loop {_TeamScatter.%loop-value%::*}:
1369 set {_Player} to ("%loop-value-2%" parsed as offlineplayer)
1370 if {_Player} is not online:
1371 set {SchedueldScatter::%{_Player}%} to ({_GoodLocation.GroundLevel::%{_PositionCount}%})
1372 else:
1373 teleport {_Player} to ({_GoodLocation.GroundLevel::%{_PositionCount}%})
1374 wait 1 second
1375 if {_Solos::*} is set:
1376 loop {_Solos::*}:
1377 add 1 to {_PositionCount}
1378 add 1 to {_SoloCount}
1379 set {_Player} to ("%loop-value%" parsed as offlineplayer)
1380 if {_Player} is not online:
1381 set {SchedueldScatter::%{_Player}%} to ({_GoodLocation.GroundLevel::%{_PositionCount}%})
1382 else:
1383 teleport {_Player} to ({_GoodLocation.GroundLevel::%{_PositionCount}%})
1384 wait 1 second
1385 delete {Scatter.Scattering::*}
1386 wait 1 second
1387 delete {Scatter.DontUnloadChunks}
1388 else if ("%arg-3%" parsed as offlineplayer) is online:
1389 loop 2002 times:
1390 if (loop-number-2) is 2002:
1391 broadcast "&7 &7Couldn't scatter &7%arg-3%&7!"
1392 stop
1393 set {_Location.Good} to true
1394 set {_Location.Sky} to (the location at (random integer between ({_X}-arg-2) and ({_X}+arg-2)), 255, (random integer between ({_Z}-arg-2) and ({_Z}+arg-2)) of the world (arg-1))
1395 if {_Location.Good} is true:
1396 set {_Location.GroundLevel} to {_Location.Sky}
1397 while (block at {_Location.GroundLevel}) is air:
1398 if (y-coordinate of ({_Location.GroundLevel})) is less than 8:
1399 delete {_Location.Good}
1400 stop loop
1401 set {_Location.GroundLevel} to (location 1 below ({_Location.GroundLevel}))
1402 if {_Location.Good} is true:
1403 if (block at {_Location.GroundLevel}) is lava, water or cactus:
1404 delete {_Location.Good}
1405 else:
1406 set {_GoodLocation.Sky} to ({_Location.Sky})
1407 set {_GoodLocation.GroundLevel} to (location 3 above {_Location.GroundLevel})
1408 stop loop
1409 set {Scattering::%arg-3%} to true
1410 teleport ("%arg-3%" parsed as offlineplayer) to ({_GoodLocation.GroundLevel})
1411 wait 5 seconds
1412 delete {Scatter.Scattering::%arg-3%}
1413 else:
1414 send "&7 &7/sca &r<&7world&r> <&7radius&r> <&7teams&r:&7*&r:&7player&r> [&7mindist&r] [&7x&r] [&7z&r]"
1415
1416on skript unload:
1417 delete {Scatter.DontUnloadChunks}
1418 delete {Scatter.Scattering::*}
1419 delete {SchedueldScatter::*}
1420
1421on login:
1422 delete {Scatter.Scattering::%player%}
1423 {SchedueldScatter::%player%} is set
1424 teleport (player) to ({SchedueldScatter::%player%})
1425 delete {SchedueldScatter::%player%}
1426
1427on chunk unload:
1428 {Scatter.DontUnloadChunks} is set
1429 cancel the event
1430
1431command /team [<text>] [<text>] [<text>]:
1432 aliases: /teams
1433 trigger:
1434 if arg-1 is not set:
1435 command sender command "/team help"
1436 else if arg-1 is "help":
1437 send "&f &bTeam Help Page&f "
1438 if {Teams.Management} is not set:
1439 send "{@Prefix}&c Warning: Team Management is currently &bDISABLED&c, therefore these commands will not work."
1440 send "{@Prefix}&b /team list&f - &rLists teams"
1441 send "{@Prefix}&b /team create&f - &rCreate a team to invite players!"
1442 send "{@Prefix}&b /team invite <player>&f - &rInvite <player> to your team!"
1443 send "{@Prefix}&b /team accept <player>&f - &rAccept <player>'s invite!"
1444 send "{@Prefix}&b /team leave&f - &rLeave your current team"
1445 send "{@Prefix}&b /sendcoords&f - &rSend your teammates your coordinates!"
1446 send "{@Prefix}&b /sendores&f - &rSend your teammates your ores!"
1447 send "{@Prefix}&b /tc <text:coords:ores>&f - &rChat with your teammates!"
1448 if command sender has permission "uhc.admin":
1449 send "{@Prefix}&b /team system <on/off/toggle>"
1450 send "{@Prefix}&b /team reset"
1451 send "{@Prefix}&b /team fire <on/off>"
1452 send "{@Prefix}&b /team join <id/player in team> [<player=you>]"
1453 send "{@Prefix}&b /team makeleave [<player=you>]"
1454 send "{@Prefix}&b /team size <number>"
1455 else if arg-1 is "list":
1456 if {Teams::*} is not set:
1457 send "{@Prefix}&c No teams set."
1458 else:
1459 loop {Teams::*}:
1460 if size of {Team.%loop-value%::*} is not 0:
1461 send "{@Prefix}&r Team &b%loop-value%&r: %{Team.%loop-value%::*}%"
1462 else:
1463 add 1 to {_0}
1464 if {_0} is size of {Teams::*}:
1465 send "{@Prefix}&c No teams set."
1466 else if arg-1 is "invite":
1467 if {Teams.Management} is not set:
1468 send "{@Prefix}&r &cTeams is currently disabled!!"
1469 else:
1470 if arg-2 is not set:
1471 send "&cPlease specify a player!"
1472 else if {Teams.InTeam::%command sender%} is not set:
1473 send "&cYou don't have a team to invite &c%arg-2% to!"
1474 else if {Teams.Limit} is "&c":
1475 send "&cTell the host to set a team size limit!"
1476 else if size of {Team.%{Teams.InTeam::%command sender%}%::*} is greater than or equal to {Teams.Limit}:
1477 send "{@Prefix} Your team is too big!"
1478 else:
1479 set {Teams.Invite::%arg-2%::%command sender%} to true
1480 send "{@Prefix} You have invited %arg-2% to your team!"
1481 send "&7&m--------------------------------------------------------------------------" to ("%arg-2%" parsed as offlineplayer)
1482 send "&e%command sender% invited you to their team! Do /team accept %command sender%!" to ("%arg-2%" parsed as offlineplayer)
1483 send "&7&m--------------------------------------------------------------------------" to ("%arg-2%" parsed as offlineplayer)
1484 else if arg-1 is "accept":
1485 if {Teams.Management} is not set:
1486 send "{@Prefix}&r &cTeam System is currently disabled!!"
1487 else:
1488 if arg-2 is not set:
1489 send "&cPlease specify a player!"
1490 else if {Teams.Invite::%command sender%::%arg-2%} is not set:
1491 send "&cYou don't have a team invite from %arg-2%!"
1492 else if {Teams.InTeam::%command sender%} is set:
1493 send "&cYou are already on a team!"
1494 delete {Teams.Invite::%arg-2%::%command sender%}
1495 else if {Teams.InTeam::%arg-2%} is not set:
1496 send "&c%arg-2% does not have a team!"
1497 delete {Teams.Invite::%arg-2%::%command sender%}
1498 else if {Teams.Limit} is "&c":
1499 send "&cTell the host to set a team size limit!"
1500 else if size of {Team.%{Teams.InTeam::%arg-2%}%::*} is greater than or equal to {Teams.Limit}:
1501 send "&c%arg-2%'s team is too big!"
1502 delete {Teams.Invite::%arg-2%::%command sender%}
1503 else if size of {Team.%{Teams.InTeam::%arg-2%}%::*} is greater than or equal to {Teams.Limit}:
1504 send "{@Prefix} %arg-2%'s team is too big!"
1505 delete {Teams.Invite::%arg-2%::%command sender%}
1506 else:
1507 set {_TM} to ({Teams.InTeam::%arg-2%})
1508 delete {Teams.Invite::%arg-2%::%command sender%}
1509 send "{@Prefix} You have joined %arg-2%'s team!"
1510 loop {Team.%{_TM}%::*}:
1511 send "{@Prefix} %command sender% joined your team!" to ("%loop-value%" parsed as offlineplayer)
1512 set {Teams.InTeam::%command sender%} to ({_TM})
1513 add "%command sender%" to {Team.%{_TM}%::*}
1514 command "/scoreboard teams join UHC%{_TM}% %command sender%"
1515 else if arg-1 is "leave":
1516 if arg-2 is set:
1517 if command sender has permission "":
1518 command sender command "/team mleave %arg-2%"
1519 stop trigger
1520 else:
1521 if {Teams.Management} is not set:
1522 send "{@Prefix}&r &cTeam System is currently disabled!!"
1523 stop trigger
1524 else:
1525 send "&cWrong syntax!"
1526 stop trigger
1527 if {Teams.Management} is not set:
1528 send "{@Prefix}&r &cTeam System is currently disabled!!"
1529 else:
1530 if {Teams.InTeam::%command sender%} is not set:
1531 send "&cYour not in a team!"
1532 else:
1533 send "&cYou have left team &cUHC%{Teams.InTeam::%command sender%}%"
1534 remove "%command sender%" from {Team.%{Teams.InTeam::%command sender%}%::*}
1535 command "/scoreboard teams leave %command sender%"
1536 loop {Team.%{Teams.InTeam::%command sender%}%::*}:
1537 loop-value is not {_P}
1538 send "&c%command sender% left your team." to ("%loop-value%" parsed as offlineplayer)
1539 set {_Team} to ({Teams.InTeam::%{_P}%})
1540 if size of {Team.%{_Team}%::*} is 1:
1541 delete {Team.%{_Team}%::*}
1542 command "/scoreboard teams remove UHC%{_Team}%"
1543 delete {Teams::%{_Team}%}
1544 delete {Teams.InTeam::%command sender%}
1545 else if arg-1 is "create":
1546 if {Teams.Management} is not set:
1547 send "{@Prefix}&r &cTeam System is currently disabled!!"
1548 else:
1549 if {Teams.InTeam::%command sender%} is set:
1550 send "&cYour in a team already!"
1551 stop trigger
1552 set {_TM} to 1
1553 while {Teams::%{_TM}%} is set:
1554 add 1 to {_TM}
1555 set {Teams::%{_TM}%} to {_TM}
1556 command "/scoreboard teams add UHC%{_TM}%"
1557 if {Teams.InTeam::%command sender%} is not set:
1558 set {Teams.InTeam::%command sender%} to ({_TM})
1559 add "%command sender%" to {Team.%{_TM}%::*}
1560 command "/scoreboard teams join UHC%{_TM}% %command sender%"
1561 send "&eYou created team &eUHC%{_TM}%"
1562 else if arg-1 is "reset":
1563 if command sender does not have the permission "uhc.admin":
1564 send "{@Prefix} &cNo Permission"
1565 else:
1566 loop {Teams::*}:
1567 delete {Team.%loop-value%::*}
1568 command "/scoreboard teams remove UHC%loop-value%"
1569 loop {Teams.InTeam::*}:
1570 delete {Teams.InTeam::%loop-value%}
1571 command "/scoreboard teams remove UHC%loop-value%"
1572 delete {Team.::*}
1573 delete {Team::*}
1574 delete {Teams.Invite::*}
1575 delete {Teams.InTeam::*}
1576 delete {Teams::*}
1577 delete {Teams.InTeam::*}
1578 set {Teams.Limit} to "&c"
1579 set {Teams.LimitTwo} to "FFA"
1580 delete {Teams.Invite::*}
1581 delete {Teams.Management}
1582 broadcast "&cTeams reseted by %sender%"
1583 set {number::teams} to 0
1584 loop 160 times:
1585 execute player command "/scoreboard teams remove UHC%{_teamlist}%"
1586 execute player command "/scoreboard teams remove hbr%{_teamlist}%"
1587 delete {Teams.InTeam::%{_teamlist}%}
1588 delete {Team.%{_teamlist}%::*}
1589 add 1 to {number::teams}
1590 set {_teamlist} to {number::teams}
1591 else if arg-1 is "fire":
1592 if command sender does not have the permission "":
1593 send "{@Prefix} &cNo Permission"
1594 else:
1595 if arg-2 is not set:
1596 send "{@Prefix}&c Specify to turn friendly fire on or off."
1597 else:
1598 if arg-2 is "on":
1599 {Teams.Management} is true
1600 loop {Teams::*}:
1601 command "/scoreboard teams option UHC%loop-value% friendlyfire true"
1602 broadcast "&7&m----------------------------------"
1603 broadcast "&aFriendly fire enabled by %sender%"
1604 broadcast "&7&m----------------------------------"
1605 else if arg-2 is "off":
1606 {Teams.Management} is true
1607 loop {Teams::*}:
1608 command "/scoreboard teams option UHC%loop-value% friendlyfire false"
1609 broadcast "&7&m----------------------------------"
1610 broadcast "&cFriendly fire disabled by %sender%"
1611 broadcast "&7&m----------------------------------"
1612 else if arg-1 is "management" or "man" or "manage" or "system":
1613 if command sender does not have the permission "uhc.admin":
1614 send "{@Prefix} &cNo Permission"
1615 else:
1616 if arg-2 is not set:
1617 send "{@Prefix}&c Specify to toggle team management, turn it on, or off."
1618 else:
1619 if arg-2 is "on":
1620 set {Teams.Management} to true
1621 set {Teams.LimitTwo} to "To"
1622 delete {Teams.Limit}
1623 set {Teams.Limit} to 2
1624 broadcast "&aTeams enabled by %sender%"
1625 else if arg-2 is "off":
1626 delete {Teams::*}
1627 delete {Teams.InTeam::*}
1628 set {Teams.Limit} to "&c"
1629 set {Teams.LimitTwo} to "FFA"
1630 delete {Teams.Invite::*}
1631 delete {Teams.Management}
1632 execute player command "/team reset"
1633 execute player command "/clearchat"
1634 broadcast "&cTeams disabled by %sender%"
1635 else if arg-2 is "toggle":
1636 if {Teams.Management} is not set:
1637 command sender command "/team man on"
1638 else:
1639 command sender command "/team man off"
1640 else if arg-1 is "limit" or "lim" or "size":
1641 if command sender does not have the permission "uhc.admin":
1642 send "{@Prefix} &cNo Permission"
1643 else:
1644 if arg-2 is not set:
1645 send "{@Prefix}&c Specify an amount of players per team!"
1646 else:
1647 set {_L} to ("%arg-2%" parsed as integer)
1648 if {_L} is not set:
1649 send "{@Prefix}&c Enter a valid amount of players per team!"
1650 else if {_L} is less than 2:
1651 send "{@Prefix}&c Enter a valid amount of players per team!"
1652 else:
1653 {Teams.Management} is true
1654 broadcast "{@Prefix} &e%command sender% set the team size to To%{_L}%"
1655 set {Teams.Limit} to arg-2
1656 set {Teams.LimitTwo} to "To"
1657 else if arg-1 is "makeleave" or "forceleave" or "mleave" or "fleave":
1658 if command sender does not have the permission "":
1659 send "{@Prefix} &cNo Permission"
1660 else:
1661 if arg-2 is set:
1662 set {_P} to ("%arg-2%" parsed as offlineplayer)
1663 else:
1664 set {_P} to command sender
1665 if {_P} is offline:
1666 send "{@Prefix}&c Specify a online player!"
1667 else:
1668 if {Teams.InTeam::%{_P}%} is not set:
1669 send "{@Prefix}&c %{_P}%&c is not in a team!"
1670 else:
1671 send "{@Prefix}&c You removed %{_P}% from team &cUHC%{Teams.InTeam::%{_P}%}%"
1672 send "{@Prefix}&c %command sender%&c removed you from team &cUHC%{Teams.InTeam::%{_P}%}%" to {_P}
1673 remove "%{_P}%" from {Team.%{Teams.InTeam::%{_P}%}%::*}
1674 command "/scoreboard teams leave %{_P}%"
1675 loop {Team.%{Teams.InTeam::%{_P}%}%::*}:
1676 loop-value is not {_P}
1677 send "{@Prefix}&c %{_P}%&c was removed your team." to ("%loop-value%" parsed as offlineplayer)
1678 set {_Team} to ({Teams.InTeam::%{_P}%})
1679 delete {Teams.InTeam::%command sender%}
1680 if size of {Team.%{_Team}%::*} is 0:
1681 delete {Team.%{_Team}%::*}
1682 command "/scoreboard teams remove UHC%{_Team}%"
1683 delete {Teams::%{_Team}%}
1684 else if arg-1 is "join":
1685 if command sender does not have the permission "":
1686 send "{@Prefix} &cNo Permission"
1687 else:
1688 if arg-2 is not set:
1689 send "{@Prefix}&c Specify a team/player that is on that team"
1690 else:
1691 set {_te} to ("%arg-2%" parsed as offlineplayer)
1692 set {_Test1} to ("%arg-2%" parsed as integer)
1693 if {_Test1} is set:
1694 set {_TN} to ("%arg-2%" parsed as integer)
1695 else if {Teams.InTeam::%{_te}%} is set:
1696 set {_TN} to ({Teams.InTeam::%{_te}%})
1697 else:
1698 send "{@Prefix}&c Specify a valid team/player that is on that team"
1699 stop trigger
1700 if arg-3 is set:
1701 set {_P} to ("%arg-3%" parsed as offlineplayer)
1702 else:
1703 set {_P} to command sender
1704 if {Teams.InTeam::%{_P}%} is set:
1705 send "{@Prefix}&c %{_P}%&c is already a team!"
1706 stop trigger
1707 set {Teams.InTeam::%{_P}%} to ({_TN})
1708 add "%{_P}%" to {Team.%{_TN}%::*}
1709 command "/scoreboard teams join UHC%{_TN}% %{_P}%"
1710 if {_P} is not command sender:
1711 send "{@Prefix}&e %command sender% added you to team &eUHC%{_TN}%" to {_P}
1712 send "{@Prefix}&e Added &e%{_P}% to team UHC%{_TN}%"
1713 loop {Team.%{Teams.InTeam::%{_P}%}%::*}:
1714 loop-value is not {_P}
1715 send "{@Prefix}&c %{_P}%&e was added your team by &e%command sender%&e." to ("%loop-value%" parsed as offlineplayer)
1716
1717command /sendcoords:
1718 trigger:
1719 if {Teams.InTeam::%command sender%} is not set:
1720 send "{@Prefix}&c You are not in a team!"
1721 stop trigger
1722 loop all players:
1723 {Teams.InTeam::%loop-player%} is {Teams.InTeam::%command sender%}
1724 send "{@Prefix}&r&b %command sender%'s&r coordinates: &rx: &b%round(command sender's x-coordinate)%&r, &ry: &b%round(command sender's y-coordinate)%&r, &rz: &b%round(command sender's z-coordinate)%" to loop-player
1725
1726command /sendores:
1727 trigger:
1728 if {Teams.InTeam::%command sender%} is not set:
1729 send "{@Prefix}&r You are not in a team!"
1730 stop trigger
1731 loop all players:
1732 {Teams.InTeam::%loop-player%} is {Teams.InTeam::%command sender%}
1733 send "{@Prefix}&r&b %command sender%'s&r has &3%amount of iron ore in command sender's inventory + amount of iron ingots in command sender's inventory% iron&r, <gold>%amount of gold ore in command sender's inventory + amount of gold ingots in command sender's inventory% gold&r, and &b%amount of diamond ore in command sender's inventory + amount of diamonds in command sender's inventory% diamonds&r." to loop-player
1734
1735command /tc <text>:
1736 trigger:
1737 if {Teams.InTeam::%command sender%} is not set:
1738 send "{@Prefix}&c You are not in a team!"
1739 else if arg-1 is "coords" or "coordinates":
1740 command sender command "/sendcoords"
1741 else if arg-1 is "ores":
1742 command sender command "/sendores"
1743 else:
1744 loop all players:
1745 {Teams.InTeam::%loop-player%} is {Teams.InTeam::%command sender%}
1746 send "{@Prefix}&e%command sender%: &f%arg-1%" to loop-player
1747
1748command /setspawn:
1749 permission: uhc.admin
1750 trigger:
1751 set {spawnuhc} to player's location
1752 send "&aLobby set!"
1753
1754on death of player:
1755 if {Teams.Management} is set:
1756 loop all players:
1757 if {Teams.InTeam::%attacker%} is {Teams.InTeam::%loop-player%}:
1758 add 1 to {teamkills::%loop-player%}
1759 set {_tk} to "%{teamkills::%loop-player%}%" parsed as number
1760 set {teamkills::%loop-player%} to "%rounded {_tk}%" parsed as number
1761
1762on join:
1763 {teamkills::%player%} is not set
1764 set {teamkills::%player%} to 0
1765
1766on join:
1767 {kc.%player%} is not set
1768 set {kc.%player%} to 0
1769
1770on command "/bp":
1771 {started} is false
1772 cancel event
1773
1774on command "/backpack":
1775 {started} is false
1776 cancel event
1777
1778on death of a player:
1779 {started} is false
1780 wait 2 seconds
1781 clear victim's inventory
1782 teleport player to {spawnuhc}
1783
1784on command "/team":
1785 {started} is true
1786 cancel event
1787
1788on command "/teams":
1789 {started} is true
1790 cancel event
1791
1792on chat:
1793 {chat.disabled} is set
1794 player does not have permission "uhc.admin"
1795 cancel event
1796 send "&cThe chat is muted!"
1797
1798on chat:
1799 {useranks} is true
1800 {muted::%player%} is not set
1801 {rank.%player%} is "host"
1802 cancel event
1803 broadcast "{@hostprefix}"
1804
1805command /chat [<text>]:
1806 permission: uhc.admin
1807 trigger:
1808 if arg 1 is "off":
1809 set {chat.disabled} to true
1810 broadcast "&cChat disabled!"
1811 if arg 1 is "on":
1812 delete {chat.disabled}
1813 broadcast "&aChat enabled!"
1814
1815command /§nextwey [<player>] [<text>]:
1816 executable by: console
1817 trigger:
1818 arg 2 is "sub":
1819 wait 3 ticks
1820 make the player-arg execute command "§scenarios 2"
1821
1822on place:
1823 if {staffmode::%player%} is true:
1824 cancel event
1825 if {build::%player%} is not set:
1826 cancel event
1827 if {spect::%player%} is true:
1828 cancel event
1829
1830on break:
1831 if {spect::%player%} is true:
1832 cancel event
1833 if {build::%player%} is not set:
1834 cancel event
1835
1836on drop:
1837 if {started} is false:
1838 cancel event
1839 if {staffmode::%player%} is true:
1840 cancel event
1841 if {spect::%player%} is true:
1842 cancel event
1843
1844on pickup:
1845 if {spect::%player%} is true:
1846 cancel event
1847 if {staffmode::%player%} is true:
1848 cancel event
1849
1850on hunger bar change:
1851 if {ffa} is true:
1852 set player's hunger meter to 10
1853 if {staffmode::%player%} is true:
1854 set player's hunger meter to 10
1855 if {spect::%player%} is true:
1856 set player's hunger meter to 10
1857
1858command /§scenarios [<text>]:
1859 trigger:
1860 arg 1 is "2":
1861 open chest with 6 rows named "&a&lOthers" to player
1862 format slot 0 of player with golden apple:1 named "&6God Apples" with lore "" to be unstealable
1863 format slot 2 of player with dye:10 named "&aOn" with lore "" to run [make player execute command "/notchson"]
1864 format slot 3 of player with dye:1 named "&cOff" with lore "" to run [make player execute command "/notchsoff"]
1865 format slot 9 of player with obsidian named "&5Nether" with lore "" to be unstealable
1866 format slot 11 of player with dye:10 named "&aOn" with lore "" to run [make player execute command "/escenarios nton"]
1867 format slot 12 of player with dye:1 named "&cOff" with lore "" to run [make player execute command "/escenarios ntoff"]
1868 format slot 18 of player with sugar named "&eHorse Healing" with lore "" to be unstealable
1869 format slot 20 of player with dye:10 named "&aOn" with lore "" to run [make player execute command "/escenarios hhon"]
1870 format slot 21 of player with dye:1 named "&cOff" with lore "" to run [make player execute command "/escenarios hhoff"]
1871 format slot 27 of player with potion:8258 named "&bPotions" with lore "" to be unstealable
1872 format slot 29 of player with dye:10 named "&aOn" with lore "" to run [make player execute command "/escenarios npon"]
1873 format slot 30 of player with dye:1 named "&cOff" with lore "" to run [make player execute command "/escenarios npoff"]
1874 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lxneoiaeod234 %player% sc"
1875 format slot 53 of player with arrow named "&cNext Page" with lore "" to close then run "§leznub234 %player% sc"
1876
1877command /§scenariosothers [<text>]:
1878 trigger:
1879 arg 1 is "2":
1880 open chest with 6 rows named "&a&lOthers" to player
1881 format slot 0 of player with potion:8257 named "&eNatural Regeneration" with lore "" to be unstealable
1882 format slot 2 of player with dye:10 named "&aOn" with lore "" to run [make player execute command "/§lnaturalon"]
1883 format slot 3 of player with dye:1 named "&cOff" with lore "" to run [make player execute command "/§lnatural"]
1884 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§nextwey %player% sub"
1885
1886command /§leznub234 [<player>] [<text>]:
1887 executable by: console
1888 trigger:
1889 arg 2 is "sc":
1890 wait 3 ticks
1891 make the player-arg execute command "§scenariosothers 2"
1892
1893on rightclick on a horse or donkey holding sugar, wheat, apple, golden apple, hay block or golden carrot:
1894 {started} is true
1895 {horsehealing} is "ON"
1896 cancel the event
1897 if player's tool is a sugar:
1898 remove (1 of (event-player's tool)) from event-player's tool
1899 heal event-entity by 2
1900 else if player's tool is a wheat:
1901 remove (1 of (event-player's tool)) from event-player's tool
1902 heal event-entity by 2
1903 else if player's tool is a apple:
1904 remove (1 of (event-player's tool)) from event-player's tool
1905 heal event-entity by 2
1906 else if player's tool is a golden apple:
1907 remove (1 of (event-player's tool)) from event-player's tool
1908 heal event-entity by 5
1909 else if player's tool is a golden carrot:
1910 remove (1 of (event-player's tool)) from event-player's tool
1911 heal event-entity by 5
1912 else if player's tool is a hay block:
1913 remove (1 of (event-player's tool)) from event-player's tool
1914 heal event-entity by 2
1915
1916on rightclick on a horse or donkey holding sugar, wheat, apple, golden apple, hay block or golden carrot:
1917 {started} is true
1918 {horsehealing} is "OFF"
1919 cancel the event
1920
1921command /§scenariosdas32 [<text>]:
1922 trigger:
1923 arg 1 is "2":
1924 open chest with 6 rows named "&a&lOthers" to player
1925 format slot 0 of player with golden apple:1 named "&6God Apples" with lore "" to be unstealable
1926 format slot 1 of player with stained glass pane:15 named "" with lore "" to be unstealable
1927 format slot 2 of player with paper named "&e%{gods}%" with lore "" to be unstealable
1928 format slot 9 of player with obsidian named "&5Nether" with lore "" to be unstealable
1929 format slot 10 of player with stained glass pane:15 named "" with lore "" to be unstealable
1930 format slot 11 of player with paper named "&e%{nether.status}%" with lore "" to be unstealable
1931 format slot 36 of player with sugar named "&eHorse Healing" with lore "" to be unstealable
1932 format slot 19 of player with stained glass pane:15 named "" with lore "" to be unstealable
1933 format slot 37 of player with stained glass pane:15 named "" with lore "" to be unstealable
1934 format slot 38 of player with paper named "&e%{horsehealing}%" with lore "" to be unstealable
1935 format slot 18 of player with potion:8258 named "&bPotions" with lore "" to be unstealable
1936 format slot 20 of player with paper named "&e%{nopotions}%" with lore "" to be unstealable
1937 format slot 27 of player with potion:8257 named "&eNatural Regeneration" with lore "" to be unstealable
1938 format slot 28 of player with stained glass pane:15 named "" with lore "" to be unstealable
1939 format slot 29 of player with paper named "&e%{naturalRegeneration}%" with lore "" to be unstealable
1940 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lx523pnd234 %player% sc"
1941 format slot 53 of player with redstone named "&cClose" with lore "&7Click to close" to close
1942
1943command /open [<text>]:
1944 trigger:
1945 arg 1 is "config":
1946 open chest with 4 rows named "&a&lCustom UHC" to player
1947 format slot 10 of player with chest named "&eScenarios" with lore "" to close then run "dashdja %player% sc"
1948 format slot 11 of player with clock named "&eTimer Settings" with lore "" to close then run "dashdjadasd %player% times"
1949 format slot 13 of player with bedrock named "&eBorder Settings" with lore "" to close then run "3dashdjadasd %player% times"
1950 format slot 14 of player with cooked beef named "&eStart Food" with lore "" to close then run "§d %player% sc"
1951 format slot 19 of player with book named "&eOthers" with lore "" to close then run "§nextwey %player% sub"
1952 format slot 20 of player with apple named "&eRates" with lore "" to close then run "§d2 %player% sc"
1953 format slot 22 of player with paper named "&eTeam Settings" with lore "" to close then run "§lxd234 %player% sc"
1954 format slot 15 of player with fishing rod named "&eGamemode Settings" with lore "" to close then run "§lxasdsamdbsandjjwqhed234 %player% sc"
1955 format slot 23 of player with grass named "&eRecreate World" with lore "" to close then run [make player execute command "/regenmap"]
1956
1957command /§lxasdsamdbsandjjwqhed234 [<player>] [<text>]:
1958 executable by: console
1959 trigger:
1960 arg 2 is "sc":
1961 wait 3 ticks
1962 make the player-arg execute command "§open §config"
1963
1964command /§builduhc [<text>]:
1965 executable by: players
1966 trigger:
1967 arg 1 is "on":
1968 wait 3 ticks
1969 set {builduhc.gamemode} to true
1970 delete {soup.gamemode}
1971 broadcast "&a&lGamemode set to: &b&lBuildUHC"
1972 execute player command "/borderstart 250"
1973 execute player command "/shrink1 125"
1974 execute player command "/shrink2 100"
1975 execute player command "/shrink3 50"
1976 execute player command "/shrink4 25"
1977 arg 1 is "off":
1978 wait 3 ticks
1979 delete {builduhc.gamemode}
1980 delete {soup.gamemode}
1981 broadcast "&a&lGamemode set to: &b&lNormal"
1982 arg 1 is "soupon":
1983 wait 3 ticks
1984 set {builduhc.gamemode} to "NoUsage"
1985 set {soup.gamemode} to true
1986 broadcast "&a&lGamemode set to: &b&lSoup"
1987 set {soup} to true
1988
1989command /§open [<text>]:
1990 trigger:
1991 arg 1 is "§config":
1992 open chest with 1 rows named "&a&lCustom UHC" to player
1993 format slot 2 of player with lava bucket named "&eBuildUHC" with lore "" to run [make player execute command "/§builduhc on"]
1994 format slot 6 of player with golden apple named "&eNormal Mode" with lore "" to run [make player execute command "/§builduhc off"]
1995 format slot 4 of player with mushroom stew named "&eSoup" with lore "" to run [make player execute command "/§builduhc soupon"]
1996
1997command /§teamconfig [<text>]:
1998 trigger:
1999 arg 1 is "open":
2000 open chest with 6 rows named "&a&lCustom UHC" to player
2001 format slot 3 of player with dye:10 named "&aEnable Teams" with lore "&7Click to Enable Teams" to run [make player execute command "/team man on"]
2002 format slot 12 of player with book named "&eTeam System" with lore "&7Select a Option" to be unstealable
2003 format slot 21 of player with dye:1 named "&cDisable Teams" with lore "&7Click to Disable Team System" to run [make player execute command "/team man off"]
2004 format slot 5 of player with dye:10 named "&aEnable Friendly Fire" with lore "&7Click to Friendly Fire" to run [make player execute command "/team fire on"]
2005 format slot 14 of player with diamond sword named "&eFriendly Fire" with lore "&7Select a Option" to close
2006 format slot 23 of player with dye:1 named "&cDisable Friendly Fire" with lore "&7Click to Disable Friendly Fire" to run [make player execute command "/team fire off"]
2007 format slot 27 of player with stained glass pane:15 named "" with lore "" to be unstealable
2008 format slot 28 of player with stained glass pane:15 named "" with lore "" to be unstealable
2009 format slot 29 of player with stained glass pane:15 named "" with lore "" to be unstealable
2010 format slot 30 of player with stained glass pane:15 named "" with lore "" to be unstealable
2011 format slot 31 of player with stained glass pane:15 named "" with lore "" to be unstealable
2012 format slot 32 of player with stained glass pane:15 named "" with lore "" to be unstealable
2013 format slot 33 of player with stained glass pane:15 named "" with lore "" to be unstealable
2014 format slot 34 of player with stained glass pane:15 named "" with lore "" to be unstealable
2015 format slot 35 of player with stained glass pane:15 named "" with lore "" to be unstealable
2016 format slot 36 of player with player head named "&aTo2" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 2"]
2017 format slot 37 of player with player head named "&aTo3" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 3"]
2018 format slot 38 of player with player head named "&aTo4" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 4"]
2019 format slot 39 of player with player head named "&aTo5" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 5"]
2020 format slot 40 of player with player head named "&aTo6" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 6"]
2021 format slot 41 of player with player head named "&aTo7" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 7"]
2022 format slot 42 of player with player head named "&aTo8" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 8"]
2023 format slot 43 of player with player head named "&aTo9" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 9"]
2024 format slot 44 of player with player head named "&aTo10" with lore "&7You can use /team size [values]" to run [make player execute command "/team size 10"]
2025 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lxneoiaeod234 %player% sc"
2026
2027command /§lxd234 [<player>] [<text>]:
2028 executable by: console
2029 trigger:
2030 arg 2 is "sc":
2031 wait 3 ticks
2032 make the player-arg execute command "§teamconfig open"
2033
2034command /§lxd23xd23ddas [<player>] [<text>]:
2035 executable by: console
2036 trigger:
2037 arg 2 is "sc":
2038 wait 3 ticks
2039 make the player-arg execute command "§scenariosdas32 2"
2040
2041command /§lnatural:
2042 trigger:
2043 execute console command "/mvrule naturalRegeneration false {@world}"
2044 execute console command "/mvrule naturalRegeneration false {@world}_nether"
2045 broadcast "{@Prefix} &cNaturalRegeneration Off"
2046 set {naturalregeneration} to "OFF"
2047
2048command /§lnaturalon:
2049 trigger:
2050 execute console command "/mvrule naturalRegeneration true {@world}"
2051 execute console command "/mvrule naturalRegeneration true {@world}_nether"
2052 broadcast "{@Prefix} &aNaturalRegeneration On"
2053 set {naturalregeneration} to "ON"
2054
2055command /§lx523pnd234 [<player>] [<text>]:
2056 executable by: console
2057 trigger:
2058 arg 2 is "sc":
2059 wait 3 ticks
2060 make the player-arg execute command "config"
2061
2062command /§lxneoiaeod234 [<player>] [<text>]:
2063 executable by: console
2064 trigger:
2065 arg 2 is "sc":
2066 wait 3 ticks
2067 make the player-arg execute command "open config"
2068
2069command /dashdja [<player>] [<text>]:
2070 executable by: console
2071 trigger:
2072 arg 2 is "sc":
2073 wait 3 ticks
2074 make the player-arg execute command "escenarios menu"
2075
2076command /§nextwey2xdxdxd [<player>] [<text>]:
2077 executable by: console
2078 trigger:
2079 arg 2 is "sub":
2080 wait 3 ticks
2081 make the player-arg execute command "§nextpage §menu"
2082
2083command /§codejuanzoovoltrix [<player>] [<text>]:
2084 executable by: console
2085 trigger:
2086 arg 2 is "sub":
2087 wait 3 ticks
2088 make the player-arg execute command "scenarios"
2089
2090command /x2dashdja [<player>] [<text>]:
2091 executable by: console
2092 trigger:
2093 arg 2 is "sc":
2094 wait 3 ticks
2095 make the player-arg execute command "scenarios"
2096
2097command /§d [<player>] [<text>]:
2098 executable by: console
2099 trigger:
2100 arg 2 is "sc":
2101 wait 3 ticks
2102 make the player-arg execute command "§xd2 menu"
2103
2104command /§d2 [<player>] [<text>]:
2105 executable by: console
2106 trigger:
2107 arg 2 is "sc":
2108 wait 3 ticks
2109 make the player-arg execute command "§xd3 menu"
2110
2111command /dashdjadasd [<player>] [<text>]:
2112 executable by: console
2113 trigger:
2114 arg 2 is "times":
2115 wait 3 ticks
2116 make the player-arg execute command "§xd dakjsd"
2117
2118command /§uhcscenarioslook [<player>] [<text>]:
2119 executable by: console
2120 trigger:
2121 arg 2 is "times":
2122 wait 3 ticks
2123 make the player-arg execute command "scenarios"
2124
2125command /3dashdjadasd [<player>] [<text>]:
2126 executable by: console
2127 trigger:
2128 arg 2 is "times":
2129 wait 3 ticks
2130 make the player-arg execute command "§xd10 dakjsd"
2131
2132command /3dashdjadasdvl [<player>] [<text>]:
2133 executable by: console
2134 trigger:
2135 arg 2 is "times":
2136 wait 3 ticks
2137 make the player-arg execute command "§xdvoltrix dakjsd"
2138
2139command /3dashdjadasasdasdasddvl [<player>] [<text>]:
2140 executable by: console
2141 trigger:
2142 arg 2 is "times":
2143 wait 3 ticks
2144 make the player-arg execute command "§xd123voltrixuhcserver menu"
2145
2146command /§xd2 [<text>]:
2147 trigger:
2148 arg 1 is "menu":
2149 open chest with 6 rows named "&bStart Food" to player
2150 format slot 18 of player with cooked beef named "&6&lStartFood" with lore "" to be unstealable
2151 format slot 20 of player with stained glass pane:5 named "&a+1" with lore "" to run [make player execute command "/startfood add"]
2152 format slot 21 of player with stained glass pane:14 named "&c-1" with lore "" to run [make player execute command "/startfood remove"]
2153 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lxneoiaeod234 %player% sc"
2154 format slot 53 of player with redstone named "&cClose" with lore "" to close
2155
2156command /§xd123voltrixuhcserver [<text>]:
2157 trigger:
2158 arg 1 is "menu":
2159 open chest with 4 rows named "&bStart Food" to player
2160 format slot 9 of player with cooked beef named "&6&lStartFood" with lore "" to be unstealable
2161 format slot 10 of player with stained glass pane:15 named "" with lore "" to be unstealable
2162 format slot 11 of player with paper named "&e%{startfood}% steak's" with lore "" to be unstealable
2163 format slot 27 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lx523pnd234 %player% sc"
2164 format slot 35 of player with redstone named "&cClose" with lore "" to close
2165
2166command /§xd3 [<text>]:
2167 trigger:
2168 arg 1 is "menu":
2169 open chest with 6 rows named "&bAppleRates" to player
2170 format slot 18 of player with apple named "&6&lAppleRates" with lore "" to be unstealable
2171 format slot 20 of player with stained glass pane:5 named "&a+1" with lore "" to run [make player execute command "/§r add"]
2172 format slot 21 of player with stained glass pane:14 named "&c-1" with lore "" to run [make player execute command "/§r remove"]
2173 format slot 22 of player with stained glass pane:15 named "" with lore "" to be unstealable
2174 format slot 23 of player with stained glass pane:5 named "&a+10" with lore "" to run [make player execute command "/§r2 add"]
2175 format slot 24 of player with stained glass pane:14 named "&c-10" with lore "" to run [make player execute command "/§r2 remove"]
2176 format slot 27 of player with flint named "&8&lFlintRates" with lore "" to be unstealable
2177 format slot 29 of player with stained glass pane:5 named "&a+1" with lore "" to run [make player execute command "/§f add"]
2178 format slot 30 of player with stained glass pane:14 named "&c-1" with lore "" to run [make player execute command "/§f remove"]
2179 format slot 31 of player with stained glass pane:15 named "" with lore "" to be unstealable
2180 format slot 32 of player with stained glass pane:5 named "&a+10" with lore "" to run [make player execute command "/§f2 add"]
2181 format slot 33 of player with stained glass pane:14 named "&c-10" with lore "" to run [make player execute command "/§f2 remove"]
2182 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lxneoiaeod234 %player% sc"
2183 format slot 53 of player with redstone named "&cClose" with lore "" to close
2184
2185command /§xd [<text>]:
2186 trigger:
2187 arg 1 is "dakjsd":
2188 open chest with 6 rows named "&bGame Options" to player
2189 format slot 18 of player with potion:16421 named "&6&lFinal Heal" with lore "" to be unstealable
2190 format slot 20 of player with stained glass pane:5 named "&a+1 Minute" with lore "" to run [make player execute command "/finalheal add"]
2191 format slot 21 of player with stained glass pane:14 named "&c-1 Minute" with lore "" to run [make player execute command "/finalheal remove"]
2192 format slot 22 of player with stained glass pane:15 named "" with lore "" to be unstealable
2193 format slot 23 of player with stained glass pane:5 named "&a+10" with lore "" to run [make player execute command "/§finalheal add"]
2194 format slot 24 of player with stained glass pane:14 named "&c-10" with lore "" to run [make player execute command "/§finalheal remove"]
2195 format slot 27 of player with bedrock named "&6&lMeetup" with lore "" to be unstealable
2196 format slot 29 of player with stained glass pane:5 named "&a+1 Minute" with lore "" to run [make player execute command "/meetup add"]
2197 format slot 30 of player with stained glass pane:14 named "&c-1 Minute" with lore "" to run [make player execute command "/meetup remove"]
2198 format slot 31 of player with stained glass pane:15 named "" with lore "" to be unstealable
2199 format slot 32 of player with stained glass pane:5 named "&a+10" with lore "" to run [make player execute command "/§meetup add"]
2200 format slot 33 of player with stained glass pane:14 named "&c-10" with lore "" to run [make player execute command "/§meetup remove"]
2201 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lxneoiaeod234 %player% sc"
2202 format slot 53 of player with redstone named "&cClose" with lore "" to close
2203
2204command /§xdvoltrix [<text>]:
2205 trigger:
2206 arg 1 is "dakjsd":
2207 open chest with 5 rows named "&bGame Options" to player
2208 format slot 9 of player with potion:16421 named "&6&lFinal Heal" with lore "" to be unstealable
2209 format slot 10 of player with stained glass pane:15 named "" with lore "" to be unstealable
2210 format slot 11 of player with paper named "&e%{finalheal}% minutes" with lore "" to be unstealable
2211 format slot 18 of player with bedrock named "&6&lMeetup" with lore "" to be unstealable
2212 format slot 19 of player with stained glass pane:15 named "" with lore "" to be unstealable
2213 format slot 20 of player with paper named "&e%{meetup}% minutes" with lore "" to be unstealable
2214 format slot 36 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lx523pnd234 %player% sc"
2215 format slot 44 of player with redstone named "&cClose" with lore "" to close
2216
2217command /§xd10 [<text>]:
2218 trigger:
2219 arg 1 is "dakjsd":
2220 open chest with 6 rows named "&bBorder Options" to player
2221 format slot 0 of player with bedrock named "&6&lBorder Start" with lore "" to be unstealable
2222 format slot 1 of player with stained glass pane:15 named "" with lore "" to be unstealable
2223 format slot 2 of player with bedrock named "&e2000" with lore "&7You can use /borderstart (values)" to run [make player execute command "/borderstart 2000"]
2224 format slot 3 of player with bedrock named "&e1500" with lore "&7You can use /borderstart (values)" to run [make player execute command "/borderstart 1500"]
2225 format slot 4 of player with bedrock named "&e1000" with lore "&7You can use /borderstart (values)" to run [make player execute command "/borderstart 1000"]
2226 format slot 5 of player with bedrock named "&e500" with lore "&7You can use /borderstart (values)" to run [make player execute command "/borderstart 500"]
2227 format slot 6 of player with bedrock named "&e250" with lore "&7You can use /borderstart (values)" to run [make player execute command "/borderstart 250"]
2228 format slot 9 of player with bedrock named "&6&lShrink 1" with lore "" to be unstealable
2229 format slot 10 of player with stained glass pane:15 named "" with lore "" to be unstealable
2230 format slot 11 of player with bedrock named "&e1500" with lore "&7You can use /shrink1 (values)" to run [make player execute command "/shrink1 1500"]
2231 format slot 12 of player with bedrock named "&e1000" with lore "&7You can use /shrink1 (values)" to run [make player execute command "/shrink1 1000"]
2232 format slot 13 of player with bedrock named "&e500" with lore "&7You can use /shrink1 (values)" to run [make player execute command "/shrink1 500"]
2233 format slot 14 of player with bedrock named "&e250" with lore "&7You can use /shrink1 (values)" to run [make player execute command "/shrink1 250"]
2234 format slot 15 of player with bedrock named "&e100" with lore "&7You can use /shrink1 (values)" to run [make player execute command "/shrink1 100"]
2235 format slot 18 of player with bedrock named "&6&lShrink 2" with lore "" to be unstealable
2236 format slot 19 of player with stained glass pane:15 named "" with lore "" to be unstealable
2237 format slot 20 of player with bedrock named "&e1000" with lore "&7You can use /shrink2 (values)" to run [make player execute command "/shrink2 1000"]
2238 format slot 21 of player with bedrock named "&e500" with lore "&7You can use /shrink2 (values)" to run [make player execute command "/shrink2 500"]
2239 format slot 22 of player with bedrock named "&e100" with lore "&7You can use /shrink2 (values)" to run [make player execute command "/shrink2 100"]
2240 format slot 23 of player with bedrock named "&e50" with lore "&7You can use /shrink2 (values)" to run [make player execute command "/shrink2 50"]
2241 format slot 24 of player with bedrock named "&e25" with lore "&7You can use /shrink2 (values)" to run [make player execute command "/shrink2 25"]
2242 format slot 27 of player with bedrock named "&6&lShrink 3" with lore "" to be unstealable
2243 format slot 28 of player with stained glass pane:15 named "" with lore "" to be unstealable
2244 format slot 29 of player with bedrock named "&e500" with lore "&7You can use /shrink3 (values)" to run [make player execute command "/shrink3 500"]
2245 format slot 30 of player with bedrock named "&e250" with lore "&7You can use /shrink3 (values)" to run [make player execute command "/shrink3 250"]
2246 format slot 31 of player with bedrock named "&e100" with lore "&7You can use /shrink3 (values)" to run [make player execute command "/shrink3 100"]
2247 format slot 32 of player with bedrock named "&e50" with lore "&7You can use /shrink3 (values)" to run [make player execute command "/shrink3 50"]
2248 format slot 33 of player with bedrock named "&e25" with lore "&7You can use /shrink3 (values)" to run [make player execute command "/shrink3 25"]
2249 format slot 36 of player with bedrock named "&6&lShrink 4" with lore "" to be unstealable
2250 format slot 37 of player with stained glass pane:15 named "" with lore "" to close then run [make player execute command ""]
2251 format slot 38 of player with bedrock named "&e250" with lore "&7You can use /shrink4 (values)" to run [make player execute command "/shrink4 250"]
2252 format slot 39 of player with bedrock named "&e200" with lore "&7You can use /shrink4 (values)" to run [make player execute command "/shrink4 200"]
2253 format slot 40 of player with bedrock named "&e100" with lore "&7You can use /shrink4 (values)" to run [make player execute command "/shrink4 100"]
2254 format slot 41 of player with bedrock named "&e50" with lore "&7You can use /shrink4 (values)" to run [make player execute command "/shrink4 50"]
2255 format slot 42 of player with bedrock named "&e25" with lore "&7You can use /shrink4 (values)" to run [make player execute command "/shrink4 25"]
2256 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lxneoiaeod234 %player% sc"
2257 format slot 53 of player with redstone named "&cClose" with lore "" to close
2258
2259command /§lez [<text>]:
2260 trigger:
2261 arg 1 is "menu":
2262 open chest with 6 rows named "&bBorder Options" to player
2263 format slot 0 of player with bedrock named "&6&lBorder Start" with lore "" to be unstealable
2264 format slot 1 of player with stained glass pane:15 named "" with lore "" to be unstealable
2265 format slot 2 of player with paper named "&e%{borderstart}%x%{borderstart}%" with lore "" to be unstealable
2266 format slot 9 of player with bedrock named "&6&lShrink 1" with lore "" to be unstealable
2267 format slot 10 of player with stained glass pane:15 named "" with lore "" to be unstealable
2268 format slot 11 of player with paper named "&e%{shrink1}%x%{shrink1}%" with lore "" to be unstealable
2269 format slot 18 of player with bedrock named "&6&lShrink 2" with lore "" to be unstealable
2270 format slot 19 of player with stained glass pane:15 named "" with lore "" to be unstealable
2271 format slot 20 of player with paper named "&e%{shrink2}%x%{shrink2}%" with lore "" to be unstealable
2272 format slot 27 of player with bedrock named "&6&lShrink 3" with lore "" to be unstealable
2273 format slot 28 of player with stained glass pane:15 named "" with lore "" to be unstealable
2274 format slot 29 of player with paper named "&e%{shrink3}%x%{shrink3}%" with lore "" to be unstealable
2275 format slot 36 of player with bedrock named "&6&lShrink 4" with lore "" to be unstealable
2276 format slot 37 of player with stained glass pane:15 named "" with lore "" to be unstealable
2277 format slot 38 of player with paper named "&e%{shrink4}%x%{shrink4}%" with lore "" to be unstealable
2278 format slot 45 of player with arrow named "&cBack" with lore "&7Click to back" to close then run "§lx523pnd234 %player% sc"
2279 format slot 53 of player with redstone named "&cClose" with lore "" to close
2280command /§ltoxicnub [<player>] [<text>]:
2281 executable by: console
2282 trigger:
2283 arg 2 is "times":
2284 wait 3 ticks
2285 make the player-arg execute command "§lez menu"
2286on break of wood:
2287 if {timber} is true:
2288 {started} is true
2289 {spect::%player%} is not set
2290 {staffmode::%player%} is not set
2291 loop blocks upwards:
2292 if loop-block is wood:
2293 drop the loop-block-1 at event-block
2294 set the loop-block to air
2295 loop blocks in radius 2 around loop-block:
2296 if loop-block-2 is wood:
2297 drop the loop-block-2 at event-block
2298 set the loop-block-2 to air
2299 loop blocks below:
2300 if loop-block is wood:
2301 drop the loop-block-1 at event-block
2302 set the loop-block to air
2303 loop blocks in radius 2 around loop-block:
2304 if loop-block-2 is wood:
2305 drop the loop-block-2 at event-block
2306 set the loop-block-2 to air
2307
2308command /notchson:
2309 permission: uhc.admin
2310 trigger:
2311 broadcast "{@Prefix} &aNotch Apples On"
2312 set {gods} to "ON"
2313
2314on quit:
2315 {staffmode::%player%} is true
2316 remove 1 from {uhc.spectators}
2317 players has permission "uhc.admin"
2318 make player execute command "/staff"
2319
2320command /regenmap:
2321 permission: uhc.admin
2322 trigger:
2323 wait 3 seconds
2324 execute console command "/mv delete {@world}"
2325 execute console command "/mvconfirm"
2326 execute console command "/mv create {@world} normal"
2327 execute console command "/mvconfirm"
2328 wait 3 seconds
2329 execute console command "/mv import {@world} normal"
2330 execute console command "/mv delete {@world}_nether"
2331 execute console command "/mvconfirm"
2332 execute console command "/mv remove {@world}_nether"
2333 wait 3 seconds
2334 execute console command "/mv create {@world}_nether nether"
2335 execute console command "/mvconfirm"
2336 execute console command "/mv import {@world}_nether normal"
2337 execute console command "/mvrule naturalRegeneration false {@world}_nether"
2338 broadcast "&aMap regenerated by %sender%"
2339 delete {loadingmap}
2340
2341command /notchsoff:
2342 permission: uhc.admin
2343 trigger:
2344 broadcast "{@Prefix} &cNotchs Apples Off"
2345 set {gods} to "OFF"
2346
2347On craft of golden apple:1:
2348 {gods} is "OFF"
2349 cancel event
2350 send "&cGolden Apples Disabled!"
2351
2352on respawn:
2353 {started} is true
2354 {redditmode} is false
2355 delete {ingame::%player%}
2356 wait 1 second
2357 execute console command "/spec %player%"
2358
2359on respawn:
2360 {started} is true
2361 {redditmode} is true
2362 delete {ingame::%player%}
2363 send "&aThanks for play the UHC, you have {@RedditKickTime} for say your last words!"
2364 teleport player to {spawnuhc}
2365 wait {@RedditKickTime}
2366 kick the player due to "{@RedditKickMsg}"
2367
2368on quit:
2369 {started} is false
2370 delete {spect::%player%}
2371 delete {practice::%player%}
2372 make player execute command "/team leave"
2373
2374on quit:
2375 {spect::%player%} is true
2376 execute console command "/unspec %player%"
2377 remove 1 from {uhc.spectators}
2378 players has permission "uhc.admin"
2379 execute console command "/spec %player%"
2380
2381on join:
2382 {spect::%player%} is true
2383 add 1 to {uhc.spectators}
2384
2385command /leftmenos:
2386 permission: uhc.admin
2387 trigger:
2388 remove 1 from {uhc.left}
2389
2390command /leftmas:
2391 permission: uhc.admin
2392 trigger:
2393 add 1 to {uhc.left}
2394
2395command /specmenos:
2396 permission: uhc.admin
2397 trigger:
2398 remove 1 from {uhc.spectators}
2399
2400command /specmas:
2401 permission: uhc.admin
2402 trigger:
2403 add 1 to {uhc.spectators}
2404
2405command /alert [<text>]:
2406 permission: uhc.admin
2407 trigger:
2408 if arg 1 is not set:
2409 send "{@Prefix} &cUse /alert (text)"
2410 if arg 1 is set:
2411 set {message} to colored arg-1
2412 broadcast "{@Prefix} %{message}% &6(%sender%)"
2413
2414command /clearchat:
2415 permission: uhc.admin
2416 trigger:
2417 loop 200 times:
2418 broadcast ""
2419 broadcast "&aChat cleared by: %sender%"
2420
2421command /tp <player>:
2422 description: Teleports you to a player.
2423 usage: /tp <target player>.
2424 permission: uhc.admin
2425 trigger:
2426 if player has permission "uhc.admin":
2427 teleport player to argument
2428 message "{@Prefix} &eTeleported to %argument%"
2429 stop
2430
2431command /tphere <player>:
2432 description: Teleporta a player to you
2433 usage: /tphere <target player>
2434 permission: uhc.admin
2435 trigger:
2436 if player has permission "uhc.admin":
2437 message "{@Prefix} &eTeleported %argument% to %player%"
2438 teleport argument to player
2439 stop
2440
2441command /msg <player> <text>:
2442 aliases: tell, m, t, whisper
2443 description:Send an message
2444 trigger:
2445 send "&e&l[%player% > %argument 2%]" to argument 1
2446 send "&e&l[%player% > %argument 1%] %argument 2%" to player
2447 set {uhc.%argument 1%.reply} to player
2448
2449command /r <text>:
2450 aliases: reply
2451 description: Reply to the last private message.
2452 trigger:
2453 send "&e&l[%player% > %argument 1%]" to {uhc.%player%.reply}
2454 send "&e&l[%player% > %argument 1%]" to player
2455
2456function Border(i: int, w: text):
2457 set {_aux} to {_i} + {_i} + 1
2458 set {_aux2} to 0 - {_i}
2459
2460 make console execute command "/wb %{_w}% clear"
2461 make console execute command "/wb shape rectangular"
2462 make console execute command "/wb %{_w}% setcorners %{_i}% %{_i}% -%{_i}% -%{_i}%"
2463
2464 set {_loc} to location at {_i}, 150, {_i} of the world ("%{_w}%" parsed as world)
2465 loop {_aux} times:
2466 while block at {_loc} is air or long grass:
2467 remove 1 from y-location of {_loc}
2468 add 5 to y-location of {_loc}
2469 loop 5 times:
2470 set block at {_loc} to BEDROCK
2471 remove 1 from y-location of {_loc}
2472 wait 0.2 ticks
2473 remove 1 from x-location of {_loc}
2474 set y-location of {_loc} to 150
2475
2476 set {_loc} to location at {_aux2}, 150, {_aux2} of the world ("%{_w}%" parsed as world)
2477 loop {_aux} times:
2478 while block at {_loc} is air or long grass:
2479 remove 1 from y-location of {_loc}
2480 add 5 to y-location of {_loc}
2481 loop 5 times:
2482 set block at {_loc} to BEDROCK
2483 remove 1 from y-location of {_loc}
2484 wait 0.2 ticks
2485 add 1 to x-location of {_loc}
2486 set y-location of {_loc} to 150
2487
2488 set {_loc} to location at {_i}, 150, {_i} of the world ("%{_w}%" parsed as world)
2489 remove 1 from z-location of {_loc}
2490 loop ({_aux} -2) times:
2491 while block at {_loc} is air or long grass:
2492 remove 1 from y-location of {_loc}
2493 add 5 to y-location of {_loc}
2494 loop 5 times:
2495 set block at {_loc} to BEDROCK
2496 remove 1 from y-location of {_loc}
2497 wait 0.2 ticks
2498 remove 1 from z-location of {_loc}
2499 set y-location of {_loc} to 150
2500
2501 set {_loc} to location at {_aux2}, 150, {_aux2} of the world ("%{_w}%" parsed as world)
2502 add 1 to z-location of {_loc}
2503 loop ({_aux} -2) times:
2504 while block at {_loc} is air or long grass:
2505 remove 1 from y-location of {_loc}
2506 add 5 to y-location of {_loc}
2507 loop 5 times:
2508 set block at {_loc} to BEDROCK
2509 remove 1 from y-location of {_loc}
2510 wait 0.2 ticks
2511 add 1 to z-location of {_loc}
2512 set y-location of {_loc} to 150
2513
2514command /setborder [<int>] [<text>]:
2515 permission: uhc.admin
2516 trigger:
2517 if arg-1 is set:
2518 if arg-2 is set:
2519 broadcast "{@borderprefix} {@shrinkmessage} in 10 seconds..."
2520 wait 1 second
2521 broadcast "{@borderprefix} {@shrinkmessage} in 9 seconds..."
2522 wait 1 second
2523 broadcast "{@borderprefix} {@shrinkmessage} in 8 seconds..."
2524 wait 1 second
2525 broadcast "{@borderprefix} {@shrinkmessage} in 7 seconds..."
2526 wait 1 second
2527 broadcast "{@borderprefix} {@shrinkmessage} in 6 seconds..."
2528 wait 1 second
2529 broadcast "{@borderprefix} {@shrinkmessage} in 5 seconds..."
2530 wait 1 second
2531 broadcast "{@borderprefix} {@shrinkmessage} in 4 seconds..."
2532 wait 1 second
2533 broadcast "{@borderprefix} {@shrinkmessage} in 3 seconds..."
2534 wait 1 second
2535 broadcast "{@borderprefix} {@shrinkmessage} in 2 seconds..."
2536 wait 1 second
2537 broadcast "{@borderprefix} {@shrinkmessage} in 1 seconds..."
2538 set {border} to "%arg-1%"
2539 Border(arg-1, arg-2)
2540 wait 2 seconds
2541 else:
2542 send "&c/setborder <size> <world>"
2543 else:
2544 send "&c/setborder <size> <world>"
2545
2546command /§setborder [<int>] [<text>]:
2547 permission: uhc.admin
2548 trigger:
2549 if arg-1 is set:
2550 if arg-2 is set:
2551 set {border} to "%arg-1%"
2552 Border(arg-1, arg-2)
2553 wait 2 seconds
2554 else:
2555 send "&c/setborder <size> <world>"
2556 else:
2557 send "&c/setborder <size> <world>"
2558
2559command /staff:
2560 permission: uhc.admin
2561 trigger:
2562 if {staffmode::%player%} is not set:
2563 delete {ingame::%player%}
2564 delete {staff.helmet.%player%}
2565 delete {staff.chestplate.%player%}
2566 delete {staff.leggings.%player%}
2567 delete {staff.boots.%player%}
2568 delete {staff.inventory.%player%}
2569 wait 1 tick
2570 set {staff.inventory.%player%} to serialized contents of player's inventory
2571 set {staff.helmet.%player%} to player's helmet
2572 set {staff.chestplate.%player%} to player's chestplate
2573 set {staff.leggings.%player%} to player's leggings
2574 set {staff.boots.%player%} to player's boots
2575 wait 1 tick
2576 clear player's inventory
2577 message "&8[&5Staff Mode&8] &7Staff Mode: &aEnabled"
2578 wait 1 tick
2579 hide player from all players
2580 equip player with chain leggings
2581 wait 1 tick
2582 enchant the player's leggings with unbreaking 3
2583 enchant the player's leggings with protection 1
2584 wait 1 tick
2585 set slot 2 of player to a music disc named "&aRandom TP"
2586 set slot 0 of player to redstone named "&bInv Opener"
2587 set slot 1 of player to ice named "&9Freeze &8(&fRight-Click&8)"
2588 set slot 3 of player to player head named "&bTeleport To Last Report"
2589 set slot 4 of player to a gray dye named "&9&lVisible&8&l: &fOff"
2590 set slot 5 of player to a lead named "&9Follower &7(Follow Players Around) "
2591 set slot 8 of player to a diamond sword named "&aTeleport to 0,0"
2592 set {staffmode::%player%} to true
2593 delete {build::%player%}
2594 set player's gamemode to creative
2595 else:
2596 message "&8[&5Staff Mode&8] &7Staff Mode: &cDisabled"
2597 delete {staffmode::%player%}
2598 wait 1 tick
2599 clear player's inventory
2600 set player's gamemode to survival
2601 reveal player from all players
2602 clear inventory of player
2603 set player's inventory's serialized contents to {staff.inventory.%player%}
2604 set player's helmet to {staff.helmet.%player%}
2605 set player's chestplate to {staff.chestplate.%player%}
2606 set player's leggings to {staff.leggings.%player%}
2607 set player's boots to {staff.boots.%player%}
2608 set {build::%player%} to true
2609
2610on teleport:
2611 {staffmode::%player%} is true
2612 wait 1.5 second
2613 set player's gamemode to creative
2614
2615on teleport:
2616 {spect::%player%} is true
2617 wait 1.5 second
2618 set player's gamemode to creative
2619
2620on right click:
2621 if player's tool is a diamond sword:
2622 if name of player's tool is "&aTeleport to 0,0":
2623 wait 5 ticks
2624 execute console command "/mv tp %player% {@world}"
2625 stop
2626 if player's tool is a head:
2627 if name of player's tool is "&bTeleport To Last Report":
2628 if player has permission "uhc.admin":
2629 wait 5 ticks
2630 teleport player to {lastreport}
2631 stop
2632 if player is holding a music disc named "&aRandom TP":
2633 if player has permission "uhc.admin":
2634 set {_random} to a random player out of all players
2635 while {_random} is name of player:
2636 set {_random} to a random player out of all players
2637 wait 1 tick
2638 if {_random} is not name of player:
2639 teleport player 1 behind {_random}
2640 send " &5Staff Teleported to &c%{_random}%"
2641 else:
2642 message "&cNo Permission"
2643
2644command /vanish-on:
2645 trigger:
2646 if player has permission "uhc.admin":
2647 hide player from all players
2648 message "&eVanish: &aON" to player
2649 else:
2650 message "&cNo Permission" to player
2651
2652command /vanish-off:
2653 trigger:
2654 if player has permission "uhc.admin":
2655 reveal player to all players
2656 message "&eVanish: &cOFF" to player
2657 else:
2658 message "&cNo Permission" to player
2659
2660on rightclick with dye:
2661 if {staffmode::%player%} is true:
2662 if name of player's tool is "&9&lVisible&8&l: &fOn":
2663 set slot 4 of player to gray dye named "&9&lVisible&8&l: &fOff"
2664 make player execute command "/vanish-on"
2665 else if name of player's tool is "&9&lVisible&8&l: &fOff":
2666 set slot 4 of player to light green dye named "&9&lVisible&8&l: &fOn"
2667 make player execute command "/vanish-off"
2668 else:
2669 message "&c&cNo Permission"
2670
2671on right click with lead:
2672 if player is holding a lead named "&9Follower &7(Follow Players Around) ":
2673 if player has permission "uhc.admin":
2674 if entity's target is a player:
2675 set {_name} to "%target entity%" parsed as a player
2676 send "&8[&5Staff Mode&8] &7You now follow &9%{_name}%"
2677 make player ride {_name}
2678
2679on rightclick with ice:
2680 if {staffmode::%player%} is true:
2681 if player's targeted player is set:
2682 make player execute command "/freeze %player's targeted player%"
2683 else:
2684 message "&7You cant freeze nothing" to player
2685
2686command /freeze [<player>]:
2687 trigger:
2688 set {_prefix} to "&3&lFreeze&b&l> &b"
2689 arg 1 is not set:
2690 message "&cWrong syntax! Usage: /freeze <player>"
2691 stop
2692 {frozen::%arg-1%} is not set:
2693 set {frozen::%arg-1%} to false
2694 player is arg 1:
2695 player does not have permission "uhc.admin":
2696 message "&cYou don't have permission to do that"
2697 stop
2698 message "&cYou can't freeze yourself"
2699 stop
2700 not {frozen::%arg-1%}:
2701 player does not have permission "uhc.admin":
2702 message "&cYou don't have permission to do that"
2703 stop
2704 apply slowness 154 to arg-1 for 9999 seconds
2705 apply jump boost -15 to arg-1 for 9999 seconds
2706 set {frozen::%arg-1%} to true
2707 set {_templastused} to now
2708 subtract 1 hour from {_templastused}
2709 message "&3You froze &b%arg 1%"
2710 message "&3You have been frozen by &b%player%" to arg 1
2711 stop
2712 player does not have permission "uhc.admin":
2713 message "&cYou don't have permission to do that"
2714 stop
2715 set {frozen::%arg-1%} to false
2716 set {_templastused} to now
2717 subtract 1 hour from {_templastused}
2718 set {freeze.%arg 1%.lastused} to {_templastused}
2719 remove slowness from arg-1
2720 remove jump boost from arg-1
2721 message "&3You unfroze &b%arg 1%"
2722 message "&3You have been unfrozen by &b%player%" to arg 1
2723
2724on any movement:
2725 {frozen::%player%} is true
2726 cancel the event
2727
2728on quit:
2729 {frozen::%player%} is true
2730 execute console command "/ban %player% Disconnect in SS"
2731 delete {frozen::%player%}
2732
2733on command:
2734 {frozen::%player%} is true
2735 cancel event
2736 send "&cYou are frozen!"
2737
2738command /finalheal [<text>]:
2739 permission: uhc.admin
2740 trigger:
2741 arg 1 is "add":
2742 add 1 to {finalheal}
2743 send "&a+1 Minute To Final Heal = %{finalheal}% Minutes"
2744 arg 1 is "remove":
2745 remove 1 from {finalheal}
2746 send "&c-1 Minute To Final Heal = %{finalheal}% Minutes"
2747
2748command /meetup [<text>]:
2749 permission: uhc.admin
2750 trigger:
2751 arg 1 is "add":
2752 add 1 to {meetup}
2753 send "&a+1 Minute To Meetup = %{meetup}% Minutes"
2754 arg 1 is "remove":
2755 remove 1 from {meetup}
2756 send "&c-1 Minute To Meetup = %{meetup}% Minutes"
2757
2758command /§finalheal [<text>]:
2759 permission: uhc.admin
2760 trigger:
2761 arg 1 is "add":
2762 add 10 to {finalheal}
2763 send "&a+10 Minute To Final Heal = %{finalheal}% Minutes"
2764 arg 1 is "remove":
2765 remove 10 from {finalheal}
2766 send "&c-10 Minute To Final Heal = %{finalheal}% Minutes"
2767
2768command /§meetup [<text>]:
2769 permission: uhc.admin
2770 trigger:
2771 arg 1 is "add":
2772 add 10 to {meetup}
2773 send "&a+10 Minute To Meetup = %{meetup}% Minutes"
2774 arg 1 is "remove":
2775 remove 10 from {meetup}
2776 send "&c-10 Minute To Meetup = %{meetup}% Minutes"
2777
2778command /startfood [<text>]:
2779 permission: uhc.admin
2780 trigger:
2781 arg 1 is "add":
2782 add 1 to {startfood}
2783 send "&a+1 to StartFood = %{startfood}% steak's"
2784 arg 1 is "remove":
2785 remove 1 from {startfood}
2786 send "&c-1 from StartFood = %{startfood}% steak's"
2787
2788command /§r [<text>]:
2789 permission: uhc.admin
2790 trigger:
2791 arg 1 is "add":
2792 add 1 to {rates::apples}
2793 send "&a+1 to AppleRates = %{rates::apples}%"
2794 arg 1 is "remove":
2795 remove 1 from {rates::apples}
2796 send "&c-1 from AppleRates = %{rates::apples}%"
2797
2798command /§f [<text>]:
2799 permission: uhc.admin
2800 trigger:
2801 arg 1 is "add":
2802 add 1 to {rates::flint}
2803 send "&a+1 to FlintRates = %{rates::flint}%"
2804 arg 1 is "remove":
2805 remove 1 from {rates::flint}
2806 send "&c-1 from FlintRates = %{rates::flint}%"
2807
2808command /§r2 [<text>]:
2809 permission: uhc.admin
2810 trigger:
2811 arg 1 is "add":
2812 add 10 to {rates::apples}
2813 send "&a+10 to AppleRates = %{rates::apples}%"
2814 arg 1 is "remove":
2815 remove 10 from {rates::apples}
2816 send "&c-10 from AppleRates = %{rates::apples}%"
2817
2818command /§f2 [<text>]:
2819 permission: uhc.admin
2820 trigger:
2821 arg 1 is "add":
2822 add 10 to {rates::flint}
2823 send "&a+10 to FlintRates = %{rates::flint}%"
2824 arg 1 is "remove":
2825 remove 10 from {rates::flint}
2826 send "&c-10 from FlintRates = %{rates::flint}%"
2827
2828command /borderstart <number>:
2829 usage: /borderstart [values]
2830 trigger:
2831 if arg-1 is set:
2832 if arg-1 is smaller than 2001:
2833 set {borderstart} to arg-1
2834 message "&aBorder start set to %{borderstart}%"
2835 else:
2836 message "&cI can`t edge the limit of Border (2000 Max)"
2837
2838command /shrink1 <number>:
2839 usage: /shrink1 [values]
2840 trigger:
2841 if arg-1 is set:
2842 if arg-1 is smaller than 1501:
2843 set {shrink1} to arg-1
2844 message "&aThe Shrink1 set to %{shrink1}%"
2845 else:
2846 message "&cI can`t edge the limit of Border (1500 Max)"
2847
2848command /shrink2 <number>:
2849 usage: /shrink2 [values]
2850 trigger:
2851 if arg-1 is set:
2852 if arg-1 is smaller than 1001:
2853 set {shrink2} to arg-1
2854 message "&aThe Shrink2 set to %{shrink2}%"
2855 else:
2856 message "&cI can`t edge the limit of Border (1000 Max)"
2857
2858command /shrink3 <number>:
2859 usage: /shrink3 [values]
2860 trigger:
2861 if arg-1 is set:
2862 if arg-1 is smaller than 251:
2863 set {shrink3} to arg-1
2864 message "&aThe Shrink3 set to %{shrink3}%"
2865 else:
2866 message "&cI can`t edge the limit of Border (250 Max)"
2867
2868command /shrink4 <number>:
2869 usage: /shrink4 [values]
2870 trigger:
2871 if arg-1 is set:
2872 if arg-1 is smaller than 101:
2873 set {shrink4} to arg-1
2874 message "&aThe Shrink4 set to %{shrink4}%"
2875 else:
2876 message "&cI can`t edge the limit of Border (100 Max)"
2877
2878on command "/borderstart":
2879 player does not have permission "uhc.admin"
2880 cancel event
2881
2882on command "/shrink1":
2883 player does not have permission "uhc.admin"
2884 cancel event
2885
2886on command "/shrink2":
2887 player does not have permission "uhc.admin"
2888 cancel event
2889
2890on command "/shrink3":
2891 player does not have permission "uhc.admin"
2892 cancel event
2893
2894on command "/shrink4":
2895 player does not have permission "uhc.admin"
2896 cancel event
2897
2898command /helpop [<text>]:
2899 aliases: /adminchat
2900 trigger:
2901 if {helpop.cooldown.%player%} is not set:
2902 if arg-1 is not set:
2903 message "&8[&b&lHELPOP&8] &8» &cPlease use &7/helpop <message>"
2904 stop
2905 if arg-1 is set:
2906 message "&8[&b&lHELPOP&8] &8» &aYour request has been sent to all online staff."
2907 set {message} to arg-1
2908 loop all players:
2909 loop-player has permission "uhc.admin":
2910 send "&8[&b&lHELPOP&8] &c&n%sender%&7 has requested help: &c%arg-1%" to loop-player
2911 set {helpop.cooldown.%player%} to true
2912 wait 30 seconds
2913 delete {helpop.cooldown.%player%}
2914 if {helpop.cooldown.%player%} is true:
2915 send "&cWait!" to player
2916 stop
2917
2918command /report [<player>] [<text>]:
2919 aliases: /reportar
2920 trigger:
2921 if {report.cooldown.%player%} is not set:
2922 if arg-1 is not set:
2923 message "&8[&b&lREPORT&8] &8» &cPlease use &7/report <player> <message>"
2924 stop
2925 if arg-1 is set:
2926 message "&8[&b&lREPORT&8] &8» &aYour report has been sent to all online staff."
2927 set {message} to arg-2
2928 set {lastreport} to arg-1
2929 loop all players:
2930 loop-player has permission "uhc.admin":
2931 send "&8[&b&lREPORT&8] &c&n%sender%&7 has reported: &c%arg-1% &7for &c%arg-2%" to loop-player
2932 set {report.cooldown.%player%} to true
2933 wait 30 seconds
2934 delete {report.cooldown.%player%}
2935 if {report.cooldown.%player%} is true:
2936 send "&cWait!" to player
2937 stop
2938command /mlg:
2939 trigger:
2940 {finished} is true
2941 push the player up at speed 20
2942 clear player's inventory
2943 give player 2304 water bucket named "&b&lMLG"
2944
2945command /§l:
2946 trigger:
2947 {backpack} is true
2948 loop all players:
2949 give 1 ender chest named "{@BackPack}" to loop-player
2950
2951on death of a player:
2952 {finished} is true
2953 clear drops
2954 clear dropped items
2955
2956every 5 seconds:
2957 if {started} is true:
2958 if {Teams.Management} is not set:
2959 loop all players:
2960 wipe loop-player sidebar
2961 set name of sidebar of loop-player to "{@board}"
2962 set score "{@line11}" in sidebar of loop-player to 11
2963 set score "{@line10}" in sidebar of loop-player to 10
2964 set score "{@line9}" in sidebar of loop-player to 9
2965 set score "{@line8}" in sidebar of loop-player to 8
2966 set score "{@line7}" in sidebar of loop-player to 7
2967 set score "{@line6}" in sidebar of loop-player to 6
2968 set score "{@line5}" in sidebar of loop-player to 5
2969 set score "{@line4}" in sidebar of loop-player to 4
2970 set score "{@line3}" in sidebar of loop-player to 3
2971 set score "{@line2}" in sidebar of loop-player to 2
2972 set score "{@line1}" in sidebar of loop-player to 1
2973 {staffmode::%loop-player%} is set
2974 set score "{@staffmode_separator_1}" in sidebar of loop-player to 12
2975 set score "{@staffmode_separator_2}" in sidebar of loop-player to 13
2976 set score "{@lobbyline2}" in sidebar of loop-player to 14
2977 set score "{@line2}" in sidebar of loop-player to 2
2978 if {started} is false:
2979 loop all players:
2980 wipe loop-player sidebar
2981 set name of sidebar of loop-player to "{@boardlobby}"
2982 set score "{@lobbyline8}" in sidebar of loop-player to 8
2983 set score "{@lobbyline7}" in sidebar of loop-player to 7
2984 set score "{@lobbyline6}" in sidebar of loop-player to 6
2985 set score "{@lobbyline5}" in sidebar of loop-player to 5
2986 set score "{@lobbyline4}" in sidebar of loop-player to 4
2987 set score "{@lobbyline3}" in sidebar of loop-player to 3
2988 set score "{@lobbyline2}" in sidebar of loop-player to 2
2989 set score "{@lobbyline1}" in sidebar of loop-player to 1
2990 {staffmode::%loop-player%} is set
2991 set score "{@staffmode_separator_1}" in sidebar of loop-player to 10
2992 set score "{@staffmode}" in sidebar of loop-player to 9
2993 set score "{@staffmode_separator_2}" in sidebar of loop-player to 8
2994 if {started} is true:
2995 if {Teams.Management} is true:
2996 loop all players:
2997 wipe loop-player sidebar
2998 set name of sidebar of loop-player to "{@teamboard}"
2999 set score "{@teamline12}" in sidebar of loop-player to 12
3000 set score "{@teamline11}" in sidebar of loop-player to 11
3001 set score "{@teamline10}" in sidebar of loop-player to 10
3002 set score "{@teamline9}" in sidebar of loop-player to 9
3003 set score "{@teamline8}" in sidebar of loop-player to 8
3004 set score "{@teamline7}" in sidebar of loop-player to 7
3005 set score "{@teamline6}" in sidebar of loop-player to 6
3006 set score "{@teamline5}" in sidebar of loop-player to 5
3007 set score "{@teamline4}" in sidebar of loop-player to 4
3008 set score "{@teamline3}" in sidebar of loop-player to 3
3009 set score "{@teamline2}" in sidebar of loop-player to 2
3010 set score "{@teamline1}" in sidebar of loop-player to 1
3011 {staffmode::%loop-player%} is set
3012 set score "{@lobbyline8}" in sidebar of loop-player to 13
3013 set score "{@staffmode}" in sidebar of loop-player to 14
3014 set score "{@lobbyline2}" in sidebar of loop-player to 15
3015 set score "{@teamline2}" in sidebar of loop-player to 2
3016
3017command /ffa <text>:
3018 permission: uhc.admin
3019 permission: &bNo Permission
3020 executable by: players and console
3021 usage: /ffa <on/off>
3022 trigger:
3023 if arg-1 is "on" or "enable":
3024 set {ffa} to true
3025 broadcast "&aThe practice has been enabled!"
3026 if arg-1 is "off" or "disable":
3027 delete {ffa}
3028 broadcast "&cThe practice has been disabled!"
3029
3030command /practice:
3031 aliases: /a
3032 trigger:
3033 if {ffa} is true:
3034 teleport player to {UHC::PRACTICEFFA::SPAWN%a random integer between 1 and 6%}
3035 clear player's inventory
3036 heal the player
3037 command "/stuff %player%"
3038 heal the player
3039 set player's gamemode to survival
3040 set {practice::%player%} to true
3041 delete {staffmode::%player%}
3042 reveal player to all players
3043
3044 else:
3045 message "&cPractice is now disabled!"
3046 stop
3047
3048command /pleave:
3049 aliases: /practiceleave
3050 trigger:
3051 if {practice::%player%} is true:
3052 teleport player to {spawnuhc}
3053 clear player's inventory
3054 heal the player
3055 delete {practice::%player%}
3056 set slot 8 of player to a paper named "{@CurrentConfiguration}"
3057 set slot 4 of player to a iron sword named "{@Practice}"
3058 player has permission "uhc.admin"
3059 set slot 0 of player to a book named "{@GameSettings}"
3060 set slot 1 of player to a nether star named "{@TwitterAPI}"
3061
3062command /stuff <player>:
3063 executable by: console
3064 trigger:
3065 clear arg-1's inventory
3066 wait 3 ticks
3067 equip arg-1 with a iron helmet of unbreaking 10 and protection 2 named "&eHelmet"
3068 equip arg-1 with a diamond chestplate of unbreaking 10 and protection 2 named "&eChestplate"
3069 equip arg-1 with a iron leggings of unbreaking 10 and protection 2 named "&eLeggings"
3070 equip arg-1 with a diamond boots of unbreaking 10 and protection 2 named "&eBoots with the fur"
3071 give arg-1 a diamond sword of unbreaking 10 and sharpness 2 named "&eSword"
3072 give arg-1 1 fishing rod named "&eFishing Rod"
3073 give arg-1 a bow of infinity 1 and unbreaking 5 and power 1 named "&eBow"
3074 give arg-1 1 arrow named "&eArrow"
3075 give arg-1 1 golden apple named "&bGolden Apple"
3076 stop
3077
3078command /setffa [<text>]:
3079 trigger:
3080 if arg 1 is "Spawn1":
3081 if player has permission "uhc.admin":
3082 set {UHC::PRACTICEFFA::SPAWN1} to player's location
3083 send "&eSpawn &c1 &eset!"
3084 if arg 1 is "Spawn2":
3085 if player has permission "uhc.admin":
3086 set {UHC::PRACTICEFFA::SPAWN2} to player's location
3087 send "&eSpawn &c2 &eset!"
3088 if arg 1 is "Spawn3":
3089 if player has permission "uhc.admin":
3090 set {UHC::PRACTICEFFA::SPAWN3} to player's location
3091 send "&eSpawn &c3 &eset!"
3092 if arg 1 is "Spawn4":
3093 if player has permission "uhc.admin":
3094 set {UHC::PRACTICEFFA::SPAWN4} to player's location
3095 send "&eSpawn &c4 &eset!"
3096 if arg 1 is "Spawn5":
3097 if player has permission "uhc.admin":
3098 set {UHC::PRACTICEFFA::SPAWN5} to player's location
3099 send "&eSpawn &c5 &eset!"
3100 if arg 1 is "Spawn6":
3101 if player has permission "uhc.admin":
3102 set {UHC::PRACTICEFFA::SPAWN6} to player's location
3103 send "&eSpawn &c6 &eset!"
3104
3105every 1 second:
3106 if {started} is true:
3107 loop all players:
3108 if {spect::%loop-player%} is true:
3109 hide loop-player from all players
3110
3111command /heal <player>:
3112 permission: uhc.admin
3113 trigger:
3114 if arg-1 is not set:
3115 heal the player
3116 add 10 to player's hunger bar
3117 send "{@Prefix} &eHealed!"
3118 if arg-1 is set:
3119 heal argument 1
3120 add 10 to argument 1's hunger bar
3121 send "{@Prefix} &eHealed!"
3122 message "&6You have healed &c%argument 1%"
3123
3124command /gmc [<player>]:
3125 permission: uhc.admin
3126 trigger:
3127 if arg 1 is not set:
3128 set gamemode of sender to creative
3129 if arg 1 is set:
3130 set gamemode of arg-1 to creative
3131
3132command /gms [<player>]:
3133 permission: uhc.
3134 trigger:
3135 if arg 1 is not set:
3136 set gamemode of sender to survival
3137 if arg 1 is set:
3138 set gamemode of arg-1 to survival
3139
3140command /gma [<player>]:
3141 permission: uhc.admin
3142 trigger:
3143 if arg 1 is not set:
3144 set gamemode of sender to adventure
3145 if arg 1 is set:
3146 set gamemode of arg-1 to adventure
3147
3148command /unspec [<player>]:
3149 usage: /unspec [<player>]
3150 trigger:
3151 if {spect::%command sender%} is set:
3152 command "/unspec %command sender%"
3153 arg-1 is not set
3154 send "{@Prefix} You have unspec-ed yourself!"
3155 stop trigger
3156 if command sender does not have permission "uhc.admin":
3157 send "{@Prefix} You are not spectating, nor do you have permissions!"
3158 stop trigger
3159 if arg-1 is set:
3160 set {_player} to arg-1
3161 else:
3162 set {_player} to command sender
3163 if {spect::%{_player}%} is true:
3164 delete {spect::%{_player}%}
3165 set {_player}'s gamemode to survival
3166 clear the inventory of {_player}
3167 reveal {_player} to all players
3168 wait 5 seconds
3169 set {_player}'s gamemode to survival
3170 else:
3171 send "{@Prefix} %{_player}% is not spectating!"
3172
3173command /spec [<player>]:
3174 usage: /spec [<player>]
3175 permission: uhc.admin
3176 trigger:
3177 if arg-1 is set:
3178 send "&7&m-----------------------------------------------------------------" to arg-1
3179 send "{@Prefix} &eYou are now spectating!" to arg-1
3180 send "&7&m-----------------------------------------------------------------" to arg-1
3181 set arg-1's gamemode to creative
3182 hide arg-1 to all players
3183 clear arg-1's inventory
3184 set {spect::%arg-1%} to true
3185 command "/mvtp %arg-1% {@world}"
3186 clear inventory of arg-1
3187 set slot 0 of arg-1 to redstone named "&dInv Opener"
3188 set slot 2 of arg-1 to nether star named "&cNearby Players"
3189 set slot 4 of arg-1 to nether quartz named "&5Players in Nether"
3190 set slot 6 of arg-1 to player head named "&bTeleport to Random Player"
3191 set slot 8 of arg-1 to golden apple named "&aTeleport to 0,0"
3192 send "{@Prefix} %arg-1% is already spectating."
3193 wait 3 seconds
3194 set arg-1's gamemode to creative
3195
3196on right click on player:
3197 {spect::%event-player%} is true
3198 name of event-player's tool is "&dInv Opener"
3199 open the inventory of the clicked entity to the player
3200
3201on right click on player:
3202 {staffmode::%event-player%} is true
3203 name of event-player's tool is "&bInv Opener"
3204 open the inventory of the clicked entity to the player
3205
3206on inventory click:
3207 if {staffmode::%player%} is true:
3208 cancel event
3209 if {spect::%player%} is true:
3210 cancel event
3211
3212on command "/staff":
3213 player has permission "uhc.admin"
3214 {spect::%player%} is true
3215 delete {spect::%player%}
3216
3217command /seespecs:
3218 trigger:
3219 if {spect::%command sender%} is not set:
3220 send "{@Prefix} You are not spectating!"
3221 stop trigger
3222 if {spect::*} is set:
3223 send "{@Prefix} Current Spectators:"
3224 loop {spect::*}:
3225 send " &f- &c%loop-index%"
3226 else:
3227 send "{@Prefix} No current spectators!"
3228
3229on rightclick holding nether quartz:
3230 name of player's tool is "&5Players in Nether"
3231 {spect::%player%} is true
3232 loop all players:
3233 loop-player's biome is hell
3234 {spect::%loop-player%} is not set
3235 add loop-player to {_Nether::*}
3236 if {_Nether::*} is not set:
3237 send "{@Prefix} No players in the nether."
3238 stop
3239 send "{@Prefix} Players in Nether: &c%{_Nether::*}%"
3240
3241on rightclick holding glass bottle:
3242 name of player's tool is "&fClear Potion Effects"
3243 {spect::%player%} is true
3244 command "/effect %player% clear"
3245 send "{@Prefix} Potion effects cleared."
3246
3247on rightclick holding sugar:
3248 {spect::%player%} is true
3249 name of player's tool is "&fSpeed 2"
3250 send "{@Prefix} Fly/Walk Speed 2 applied"
3251 command "/speed walking 2 %player%"
3252 command "/speed fly 2 %player%"
3253
3254on rightclick holding a spider eye:
3255 name of player's tool is "&fSpeed 1"
3256 {spect::%player%} is true
3257 send "{@Prefix} Fly/Walk Speed normalized"
3258 command "/speed walk 1 %player%"
3259 command "/speed fly 1 %player%"
3260
3261on rightclick holding player head:
3262 name of player's tool is "&bTeleport to Random Player"
3263 {spect::%player%} is true
3264 loop all players:
3265 {spect::%loop-player%} is not set
3266 add loop-player to {_tp::*}
3267 set {_player} to (a random element out of {_tp::*})
3268 teleport player to {_player}
3269 if {_player} is not set:
3270 send "{@Prefix} Nobody to teleport to."
3271 stop
3272 send "{@Prefix} Teleported to &c%{_player}%"
3273
3274on rightclick holding a golden apple:
3275 name of player's tool is "&aTeleport to 0,0"
3276 {spect::%player%} is true
3277 set {_pos} to (location at 0, 250, 0)
3278 while block at location 2 below {_pos} is air:
3279 set {_pos} to (location 2 below {_pos})
3280 teleport the command sender to (location 15 above {_pos})
3281 send "{@Prefix} Teleported to 0,0"
3282
3283on rightclick holding a nether star:
3284 name of player's tool is "&cNearby Players"
3285 {spect::%player%} is true
3286 loop players in radius 1000 around player:
3287 {spect::%loop-player%} is not set
3288 loop-player is not player
3289 add "&7%loop-player%&f(&c%round(distance between player and loop-player)%m&f)" to {_nearby::*}
3290 if {_nearby::*} is not set:
3291 send "{@Prefix} No Nearby Players"
3292 stop
3293 send "{@Prefix} Nearby Players: &c%{_nearby::*}%"
3294
3295on death of player:
3296 {started} is true
3297 {wb} is true
3298 set {_loc} to location of player
3299 loop blocks in radius 10 around {_loc}:
3300 set {_distance} to rounded down distance between {_loc} and loop-block
3301 {_distance} is 4
3302 loop-block is air
3303 set block at loop-block to cobweb
3304
3305command /respawn [<player>]:
3306 permission: uhc.admin
3307 trigger:
3308 {respawn::%arg-1%} is set
3309 send "&a%arg-1% respawned!"
3310 wait 1 second
3311 execute player command "/unspec %arg-1%"
3312 execute player command "/leftmas"
3313 execute player command "/specmenos"
3314 set {build::%arg-1%} to true
3315 set {ingame::%arg-1%} to true
3316 delete {staffmode::%arg-1%}
3317 delete {practice::%arg-1%}
3318 delete {frozen::%arg-1%}
3319 reveal arg-1 from all players
3320 set {build::%arg-1%} to true
3321 teleport arg-1 to {respawn::%arg-1%}
3322 make the player-arg execute command "/§showinv"
3323 set arg-1's flight mode to false
3324 execute player command "/wl add %arg-1%"
3325
3326command /scatter [<player>]:
3327 permission: uhc.admin
3328 trigger:
3329 arg-1 is set
3330 send "&a%arg-1% scattered!"
3331 wait 1 second
3332 execute player command "/unspec %arg-1%"
3333 execute player command "/leftmas"
3334 remove 10 from {borderstart}
3335 execute player command "/sca {@world} %{borderstart}% %arg-1% 50"
3336 add 10 to {borderstart}
3337 clear arg-1's inventory
3338 remove resistance from the arg-1
3339 heal the arg-1
3340 set {build::%arg-1%} to true
3341 set {ingame::%arg-1%} to true
3342 delete {staffmode::%arg-1%}
3343 delete {practice::%arg-1%}
3344 delete {frozen::%arg-1%}
3345 reveal arg-1 from all players
3346 set {build::%arg-1%} to true
3347 clear arg-1's inventory
3348 set arg-1's flight mode to false
3349 execute player command "/wl add %arg-1%"
3350 if {builduhc.gamemode} is true:
3351 make arg-1 execute command "/§sadasdveinv"
3352 if {soup.gamemode} is true:
3353 make arg-1 execute command "/§soupinv"
3354
3355on command "/scatter":
3356 {started} is false
3357 cancel event
3358 send "{@nostart}"
3359
3360on command "/respawn":
3361 {started} is false
3362 cancel event
3363 send "{@nostart}"
3364
3365command /invsee <player>:
3366 trigger:
3367 send "&aAbriste el inventario de &2%arg-1%"
3368 open the inventory of the arg-1 to the player
3369
3370on command "/invsee":
3371 player does not have permission "uhc.admin"
3372 cancel event
3373
3374on craft of golden apple:
3375 if item is golden apple item named "{@goldenhead}":
3376 {goldenhead} is not set
3377 cancel event
3378
3379command /starttime:
3380 permission: uhc.admin
3381 trigger:
3382 loop 18000 times:
3383 if {started} is set:
3384 wait 5 seconds
3385 add 5 to {Time1}
3386 if {Time1} is 10:
3387 set {Time1} to 0
3388 add 1 to {Time2}
3389 if {Time2} is 6:
3390 set {Time2} to 0
3391 add 1 to {Time3}
3392 if {Time3} is 10:
3393 set {Time3} to 0
3394 add 1 to {Time4}
3395 if {Time4} is 6:
3396 set {Time4} to 0
3397 add 1 to {Time5}
3398
3399on command "/me":
3400 cancel event
3401 send "&cCommand blocked!"
3402
3403on command "/say":
3404 cancel event
3405 send "&cCommand blocked!"
3406
3407on command "/minecraft:me":
3408 cancel event
3409 send "&cCommand blocked!"
3410
3411on command "/minecraft:say":
3412 cancel event
3413 send "&cCommand blocked!"
3414
3415command /teamlist [<text>]:
3416 trigger:
3417 if arg-1 is not set:
3418 if {Teams::*} is not set:
3419 send "{@Prefix} &c No teams set."
3420 else:
3421 loop {Teams::*}:
3422 if size of {Team.%loop-value%::*} is not 0:
3423 send "{@Prefix} &r Team &b%loop-value%&r: %{Team.%loop-value%::*}%"
3424 else:
3425 add 1 to {_0}
3426 if {_0} is size of {Teams::*}:
3427 send "{@Prefix} &cNo teams set."
3428
3429command /tl [<text>]:
3430 trigger:
3431 if arg-1 is not set:
3432 if {Teams::*} is not set:
3433 send "{@Prefix} &c No teams set."
3434 else:
3435 loop {Teams::*}:
3436 if size of {Team.%loop-value%::*} is not 0:
3437 send "{@Prefix} &r Team &b%loop-value%&r: %{Team.%loop-value%::*}%"
3438 else:
3439 add 1 to {_0}
3440 if {_0} is size of {Teams::*}:
3441 send "{@Prefix} &cNo teams set."
3442
3443on portal create:
3444 {nether.status} is "OFF"
3445 cancel event
3446
3447on right click:
3448 if {soup} is true:
3449 {started} is true
3450 if player is holding Mushroom stew:
3451 remove 1 mushroom stew from player
3452 heal player by 2
3453
3454on right click with potion:8265 or potion:8193 or potion:8225 or potion:8257 or potion:16385 or potion:16427 or potion:16449 or potion:8194 or potion:8226 or potion:8258 or potion:16386 or potion:16418 or potion:16450 or potion:8201 or potion:8233 or potion:8265 or potion:16393 or potion:16425 or potion:16457:
3455 {nopotions} is "OFF"
3456 cancel event
3457 send "&cPotions disabled in GAME!"
3458
3459on quit:
3460 {combatlog::%player%} is true
3461 kill the player
3462
3463command /§showinv:
3464 trigger:
3465 restore inventory of player from {Stuff::%player%}
3466 set player's helmet to {uhc.helmet.%player%}
3467 set player's chestplate to {uhc.chestplate.%player%}
3468 set player's leggings to {uhc.leggings.%player%}
3469 set player's boots to {uhc.boots.%player%}
3470
3471command /§saveinv:
3472 trigger:
3473 set {Stuff::%player%} to player's serialized inventory
3474 set {uhc.helmet.%player%} to player's helmet
3475 set {uhc.chestplate.%player%} to player's chestplate
3476 set {uhc.leggings.%player%} to player's leggings
3477 set {uhc.boots.%player%} to player's boots
3478command /§sadasdveinv:
3479 trigger:
3480 clear player's inventory
3481 wait 3 ticks
3482 set player's helmet to diamond helmet of protection 2
3483 set player's chestplate to diamond chestplate of protection 3
3484 set player's leggings to diamond leggings of protection 3
3485 set player's boots to diamond boots of protection 2
3486 give diamond sword of sharpness 3 to player
3487 give 64 cobblestone to player
3488 give fishing rod to player
3489 give 1 lava bucket to player
3490 give 1 water bucket to player
3491 give 16 golden apple to player
3492 give 8 golden apple named "{@goldenhead}" to player
3493 give diamond pickaxe to player
3494 give bow of power 3 to player
3495 give 64 steak to player
3496 give 64 arrow to player
3497
3498command /§soupinv:
3499 trigger:
3500 clear player's inventory
3501 wait 3 ticks
3502 set player's helmet to diamond helmet of protection 2
3503 set player's chestplate to diamond chestplate of protection 2
3504 set player's leggings to diamond leggings of protection 1
3505 set player's boots to diamond boots of protection 1
3506 give iron sword of sharpness 1 to player
3507 give fishing rod to player
3508 give 64 steak to player
3509 give 32 mushroom stew to player
3510
3511on damage of player:
3512 wait 1 tick
3513 attacker is a player:
3514 projectile exists
3515 if projectile is arrow:
3516 wait 1 tick
3517 victim is not dead:
3518 message "{@bowhealth}" to the attacker
3519
3520# Código de https://www.spigotmc.org/resources/authors/diego_xd.176338/ #
3521
3522command /setrank <player> <text>:
3523 permission: uhc.admin, uhc.mod
3524 permission message: &cYou dont Have Permission
3525 usage: /setrank <player> <default/vip/ultimate/youtuber/twitch/famous/trialmod/mod/seniormod/owner>
3526 trigger:
3527 if arg-2 is "default":
3528 delete {rank.%player%}
3529 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3530 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3531 if arg-2 is "vip":
3532 set {rank.%arg-1%} to "vip"
3533 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3534 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3535 if arg-2 is "ultimate":
3536 set {rank.%arg-1%} to "ultimate"
3537 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3538 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3539 if arg-2 is "youtuber":
3540 set {rank.%arg-1%} to "youtuber"
3541 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3542 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3543 if arg-2 is "twitch":
3544 set {rank.%arg-1%} to "twitch"
3545 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3546 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3547 if arg-2 is "famous":
3548 set {rank.%arg-1%} to "famous"
3549 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3550 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3551 if arg-2 is "trialmod":
3552 set {rank.%arg-1%} to "trialmod"
3553 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3554 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3555 execute player command "/op %arg-1%"
3556 if arg-2 is "mod":
3557 set {rank.%arg-1%} to "mod"
3558 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3559 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3560 execute player command "/op %arg-1%"
3561 if arg-2 is "seniormod":
3562 set {rank.%arg-1%} to "seniormod"
3563 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3564 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3565 execute player command "/op %arg-1%"
3566 if arg-2 is "owner":
3567 set {rank.%arg-1%} to "owner"
3568 execute player command "/op %arg-1%"
3569 send "&fYou has been &bPromoted &fto &b%arg-2% &fby &b%player%" to player-arg
3570 send "&fNow, &b%arg-1% &fhas grade &b%arg-2%"
3571on chat:
3572 if {rank.%player%} is not set:
3573 set message format to "{@chatformat}"
3574 if {rank.%player%} is "vip":
3575 {useranks} is true
3576 {muted::%player%} is not set
3577 set message format to "{@vipprefix}"
3578 if {rank.%player%} is "ultimate":
3579 {useranks} is true
3580 {muted::%player%} is not set
3581 set message format to "{@ultimateprefix}"
3582 if {rank.%player%} is "youtuber":
3583 {useranks} is true
3584 {muted::%player%} is not set
3585 set message format to "{@youtuberprefix}"
3586 if {rank.%player%} is "twitch":
3587 {useranks} is true
3588 {muted::%player%} is not set
3589 set message format to "{@twitchprefix}"
3590 if {rank.%player%} is "famous":
3591 {useranks} is true
3592 {muted::%player%} is not set
3593 set message format to "{@famousprefix}"
3594 if {rank.%player%} is "trialmod":
3595 {useranks} is true
3596 {muted::%player%} is not set
3597 set message format to "{@trialmodprefix}"
3598 if {rank.%player%} is "mod":
3599 {useranks} is true
3600 {muted::%player%} is not set
3601 set message format to "{@modprefix}"
3602 if {rank.%player%} is "seniormod":
3603 {useranks} is true
3604 {muted::%player%} is not set
3605 set message format to "{@seniormodprefix}"
3606 if {rank.%player%} is "owner":
3607 {useranks} is true
3608 {muted::%player%} is not set
3609 set message format to "{@ownerprefix}"
3610
3611command /postuhc:
3612 permission: uhc.admin
3613 trigger:
3614 open chest with 1 rows named "&b&nPost UHC on Twitter." to player
3615 format slot 0 of player with clock named "&bWhitelist OFF" with lore "&fSet whitelist off time." to close then run [make player execute command "/§setwloff"]
3616 format slot 8 of player with light green wool named "&aPost Tweet" with lore "&fPost the UHC." to close then run [make player execute command "/§postontwitter"]
3617
3618on command "/§postontwitter":
3619 cancel event
3620 {started} is false
3621 tweet "{@ServerName}:%nl%%nl%{@Scenarios}: %{gamemodes::*}%%nl%%nl%{@Type}: %{Teams.LimitTwo}%%{Teams.Limit}%%nl%%nl%{@Host}: %{host}%%nl%%nl%{@WL-OFF}: %{wlofftime}%%nl%%nl% IP: {@ServerIP}"
3622 send "&aYou tweet has posted."
3623
3624on command "/§setwloff":
3625 cancel event
3626 {started} is false
3627 set {wloff.time.%player%} to true
3628 send "&aPut the WL OFF time in the chat."
3629 send ""
3630 send "&aExample: 17:04 [time.is/Peru]"
3631
3632on chat:
3633 {wloff.time.%player%} is true
3634 cancel event
3635 set {wlofftime} to message
3636 send "&bWl OFF set to: &6%{wlofftime}%"
3637 set {wloff.time.%player%} to false
3638
3639command /escenarios [<text>] [<text>]:
3640 permission: uhc.admin
3641 permission message: &cNo Permission.
3642 trigger:
3643 if arg 1 is "menu":
3644 play "CLICK" to player
3645 open chest with 6 rows named "&c" to player
3646 wait 3 ticks
3647 format slot 10 of player with chest named "&eBackPacks" to run [make player execute command "/escenarios backpack"]
3648 format slot 11 of player with log named "&eTimber" to run [make player execute command "/escenarios timber"]
3649 format slot 12 of player with iron ore named "&eBareBones" to run [make player execute command "/escenarios barebones"]
3650 format slot 13 of player with diamond pickaxe named "&eBlocked" to run [make player execute command "/escenarios blocked"]
3651 format slot 14 of player with diamond ore named "&eBloodDiamond" to run [make player execute command "/escenarios blooddiamond"]
3652 format slot 15 of player with enchantment table named "&eBloodEnchat" to run [make player execute command "/escenarios bloodenchant"]
3653 format slot 16 of player with gold ore named "&eBloodGold" to run [make player execute command "/escenarios bloodgold"]
3654 format slot 19 of player with lapis named "&eBloodLapis" to run [make player execute command "/escenarios bloodlapis"]
3655 format slot 20 of player with bow named "&eBowLess" to run [make player execute command "/escenarios bowless"]
3656 format slot 21 of player with coal named "&eCoalLess" to run [make player execute command "/escenarios coalless"]
3657 format slot 22 of player with ("61" parsed as item) named "&eCutClean" to run [make player execute command "/escenarios cutclean"]
3658 format slot 23 of player with flint and steel named "&eColdWeapons" to run [make player execute command "/escenarios coldweapons"]
3659 format slot 24 of player with diamond named "&eDiamondLess" to run [make player execute command "/escenarios diamondless"]
3660 format slot 25 of player with hopper named "&eDoubleOres" to run [make player execute command "/escenarios doubleores"]
3661 format slot 28 of player with blaze powder named "&eFireLess" to run [make player execute command "/escenarios fireless"]
3662 format slot 29 of player with skull of player named "&eGoldenHead" to run [make player execute command "/escenarios goldenhead"]
3663 format slot 30 of player with gold ingot named "&eGoldLess" to run [make player execute command "/escenarios goldless"]
3664 format slot 31 of player with gold ingot named "&eAbsorptionLess" to run [make player execute command "/escenarios absorptionless"]
3665 format slot 33 of player with saddle named "&eHorseLess" to run [make player execute command "/escenarios horseless"]
3666 format slot 34 of player with iron ingot named "&eIronLess" to run [make player execute command "/escenarios ironless"]
3667 format slot 36 of player with black stained glass pane named "" with lore "" to be unstealable
3668 format slot 37 of player with black stained glass pane named "" with lore "" to be unstealable
3669 format slot 38 of player with black stained glass pane named "" with lore "" to be unstealable
3670 format slot 39 of player with black stained glass pane named "" with lore "" to be unstealable
3671 format slot 40 of player with black stained glass pane named "" with lore "" to be unstealable
3672 format slot 41 of player with black stained glass pane named "" with lore "" to be unstealable
3673 format slot 42 of player with black stained glass pane named "" with lore "" to be unstealable
3674 format slot 43 of player with black stained glass pane named "" with lore "" to be unstealable
3675 format slot 44 of player with black stained glass pane named "" with lore "" to be unstealable
3676 format slot 46 of player with green carpet named "&7View scenarios assets" to close then run [make player execute command "/escenarios gamemodes menu"]
3677 format slot 47 of player with red carpet named "&7Disable all scenarios" to run [make player execute command "/escenarios vanilla"]
3678 format slot 49 of player with red dye named "&cBack" with lore "" to close then run "§3 %player% 1"
3679 format slot 51 of player with gray carpet named "&7Next" to close then run [make player execute command "/escenarios next menu"]
3680
3681 if arg 1 is "next":
3682 if arg 2 is "menu":
3683 play "CLICK" to player
3684 wait 3 ticks
3685 open chest with 6 rows named "&c" to player
3686 format slot 10 of player with arrow named "&eLongShots" to run [make player execute command "/escenarios longshots"]
3687 format slot 11 of player with ("38" parsed as item) named "&eLuckyFlowers" to run [make player execute command "/escenarios luckyflowers"]
3688 format slot 12 of player with ("18" parsed as item) named "&eLuckyLeaves" to run [make player execute command "/escenarios luckyleaves"]
3689 format slot 13 of player with potion:16421 named "&eNoCleanUp" to run [make player execute command "/escenarios nocleanup"]
3690 format slot 14 of player with bookshelf named "&eNoEnchant" to run [make player execute command "/escenarios noenchant"]
3691 format slot 15 of player with water bucket named "&eNoFallDamage" to run [make player execute command "/escenarios nofalldamage"]
3692 format slot 16 of player with iron pickaxe named "&eOreFrenzy" to run [make player execute command "/escenarios orefrenzy"]
3693 format slot 19 of player with fishing rod named "&eRodLess" to run [make player execute command "/escenarios rodless"]
3694 format slot 20 of player with tnt named "&eTimeBomb" to run [make player execute command "/escenarios timebomb"]
3695 format slot 21 of player with diamond block named "&eTripleOres" to run [make player execute command "/escenarios tripleores"]
3696 format slot 22 of player with mushroom stew named "&eSoup" to run [make player execute command "/escenarios soup"]
3697 format slot 24 of player with grass named "&eVanilla+" to run [make player execute command "/escenarios vanilla+"]
3698 format slot 25 of player with cobweb named "&eWebCage" to run [make player execute command "/escenarios webcage"]
3699 format slot 36 of player with black stained glass pane named "" with lore "" to be unstealable
3700 format slot 37 of player with black stained glass pane named "" with lore "" to be unstealable
3701 format slot 38 of player with black stained glass pane named "" with lore "" to be unstealable
3702 format slot 39 of player with black stained glass pane named "" with lore "" to be unstealable
3703 format slot 40 of player with black stained glass pane named "" with lore "" to be unstealable
3704 format slot 41 of player with black stained glass pane named "" with lore "" to be unstealable
3705 format slot 42 of player with black stained glass pane named "" with lore "" to be unstealable
3706 format slot 43 of player with black stained glass pane named "" with lore "" to be unstealable
3707 format slot 44 of player with black stained glass pane named "" with lore "" to be unstealable
3708 format slot 46 of player with green carpet named "&7View scenarios assets" to close then run [make player execute command "/escenarios gamemodes menu"]
3709 format slot 47 of player with red carpet named "&7Disable all scenarios" to run [make player execute command "/escenarios vanilla"]
3710 format slot 51 of player with gray carpet named "&7Back" with lore "&7Click to back" to run [make player execute command "/escenarios menu"]
3711 format slot 49 of player with red dye named "&cClose" to close
3712
3713
3714
3715 if arg 1 is "gamemodes":
3716 if arg 2 is "menu":
3717 play "CLICK" to player
3718 wait 3 ticks
3719 open chest with 3 rows named "&c" to player
3720 if size of {gamemodes::*} <= 0:
3721 format slot 13 of player with grass named "&eNo active scenarios." to be unstealable
3722 format slot 26 of player with arrow named "&7Back" with lore "" to run [make player execute command "/escenarios menu"]
3723 else:
3724 set {_gmslot} to 0
3725 if {absorptionless} is true:
3726 format slot {_gmslot} of player with golden apple named "&eAbsortionLess" to be unstealable
3727 add 1 to {_gmslot}
3728 if {backpack} is true:
3729 format slot {_gmslot} of player with chest named "&eBackPacks" to be unstealable
3730 add 1 to {_gmslot}
3731 if {barebones} is true:
3732 format slot {_gmslot} of player with gold ore named "&eBareBones" to be unstealable
3733 add 1 to {_gmslot}
3734 if {blockedp} is true:
3735 format slot {_gmslot} of player with diamond pickaxe named "&eBlocked" to be unstealable
3736 add 1 to {_gmslot}
3737 if {blooddiamond} is true:
3738 format slot {_gmslot} of player with diamond ore named "&eBloodDiamond" to be unstealable
3739 add 1 to {_gmslot}
3740 if {bloodenchant} is true:
3741 format slot {_gmslot} of player with enchantment table named "&eBloodEnchat" to be unstealable
3742 add 1 to {_gmslot}
3743 if {bloodgold} is true:
3744 format slot {_gmslot} of player with gold ore named "&eBloodGold" to be unstealable
3745 add 1 to {_gmslot}
3746 if {bloodlapis} is true:
3747 format slot {_gmslot} of player with lapis named "&eBloodLapis" to be unstealable
3748 add 1 to {_gmslot}
3749 if {bowless} is true:
3750 format slot {_gmslot} of player with bow named "&eBowLess" to be unstealable
3751 add 1 to {_gmslot}
3752 if {coalless} is true:
3753 format slot {_gmslot} of player with coal named "&eCoalLess" to be unstealable
3754 add 1 to {_gmslot}
3755 if {coldweapons} is true:
3756 format slot {_gmslot} of player with flint and steel named "&eColdWeapons" to be unstealable
3757 add 1 to {_gmslot}
3758 if {cutclean} is true:
3759 format slot {_gmslot} of player with ("61" parsed as item) named "&eCutClean" to be unstealable
3760 add 1 to {_gmslot}
3761 if {diamondless} is true:
3762 format slot {_gmslot} of player with diamond named "&eDiamondLess" to be unstealable
3763 add 1 to {_gmslot}
3764 if {doubleores} is true:
3765 format slot {_gmslot} of player with hopper named "&eDoubleOres" to be unstealable
3766 add 1 to {_gmslot}
3767 if {fireless} is true:
3768 format slot {_gmslot} of player with blaze powder named "&eFireLess" to be unstealable
3769 add 1 to {_gmslot}
3770 if {goldenhead} is true:
3771 format slot {_gmslot} of player with skull of player named "&eGoldenHead" to be unstealable
3772 add 1 to {_gmslot}
3773 if {goldless} is true:
3774 format slot {_gmslot} of player with gold ingot named "&eGoldLessG" to be unstealable
3775 add 1 to {_gmslot}
3776 if {horseless} is true:
3777 format slot {_gmslot} of player with saddle named "&eHorseLess" to be unstealable
3778 add 1 to {_gmslot}
3779 if {ironless} is true:
3780 format slot {_gmslot} of player with iron ore named "&eIronLess" to be unstealable
3781 add 1 to {_gmslot}
3782 if {longshots} is true:
3783 format slot {_gmslot} of player with arrow named "&eLongShots" to be unstealable
3784 add 1 to {_gmslot}
3785 if {luckyflowers} is true:
3786 format slot {_gmslot} of player with ("38" parsed as item) named "&eLuckyFlowers" to be unstealable
3787 add 1 to {_gmslot}
3788 if {luckyleaves} is true:
3789 format slot {_gmslot} of player with ("18" parsed as item) named "&eLuckyLeaves" to be unstealable
3790 add 1 to {_gmslot}
3791 if {nocleanup} is true:
3792 format slot {_gmslot} of player with potion:16421 named "&eNoCleanUp" to be unstealable
3793 add 1 to {_gmslot}
3794 if {noenchant} is true:
3795 format slot {_gmslot} of player with bookshelf named "&eNoEnchant" to be unstealable
3796 add 1 to {_gmslot}
3797 if {nofalldamage} is true:
3798 format slot {_gmslot} of player with water bucket named "&eNoFallDamage" to be unstealable
3799 add 1 to {_gmslot}
3800 if {orefrenzy} is true:
3801 format slot {_gmslot} of player with iron pickaxe named "&eOreFrenzy" to be unstealable
3802 add 1 to {_gmslot}
3803 if {rodless} is true:
3804 format slot {_gmslot} of player with fishing rod named "&eRodLess" to be unstealable
3805 add 1 to {_gmslot}
3806 if {soup} is true:
3807 format slot {_gmslot} of player with mushroom stew named "&eSoup" to be unstealable
3808 add 1 to {_gmslot}
3809 if {timebomb} is true:
3810 format slot {_gmslot} of player with tnt named "&eTimeBomb" to be unstealable
3811 add 1 to {_gmslot}
3812 if {tripleores} is true:
3813 format slot {_gmslot} of player with diamond block named "&eTripleOres" to be unstealable
3814 add 1 to {_gmslot}
3815 if {vanillaplus} is true:
3816 format slot {_gmslot} of player with grass named "&eVanilla+" to be unstealable
3817 add 1 to {_gmslot}
3818 if {webcage} is true:
3819 format slot {_gmslot} of player with cobweb named "&eWebCage" to be unstealable
3820 add 1 to {_gmslot}
3821 format slot 26 of player with arrow named "&7Back" with lore "" to run [make player execute command "/escenarios menu"]
3822
3823 if arg 1 is "AbsorptionLess":
3824 if {absorptionless} is not set:
3825 play "CLICK" to player
3826 set {absorptionless} to true
3827 add arg-1 to {gamemodes::*}
3828 else if {absorptionless} is false:
3829 play "CLICK" to player
3830 set {absorptionless} to true
3831 add arg-1 to {gamemodes::*}
3832 else if {absorptionless} is true:
3833 play "CLICK" to player
3834 set {absorptionless} to false
3835 remove arg-1 from {gamemodes::*}
3836
3837 if arg 1 is "35" or "nton":
3838 set {nether.status} to "ON"
3839 broadcast "{@Prefix} &aNether &aenable"
3840 if arg 1 is "36" or "ntoff":
3841 set {nether.status} to "OFF"
3842 broadcast "{@Prefix} &cNether &cdisable"
3843
3844 if arg 1 is "43" or "hhon":
3845 set {horsehealing} to "ON"
3846 broadcast "{@Prefix} &aHorsehealing &aenable"
3847 if arg 1 is "44" or "hhoff":
3848 set {horsehealing} to "OFF"
3849 broadcast "{@Prefix} &cHorsehealing &cdisable"
3850 if arg 1 is "45" or "npon":
3851 set {nopotions} to "ON"
3852 broadcast "{@Prefix} &aPotions &aenable"
3853 if arg 1 is "46" or "npoff":
3854 set {nopotions} to "OFF"
3855 broadcast "{@Prefix} &cPotions &cdisable"
3856
3857
3858 if arg 1 is "BareBones":
3859 if {barebones} is not set:
3860 play "CLICK" to player
3861 set {barebones} to true
3862 set {nether} to false
3863 add arg-1 to {gamemodes::*}
3864 send "{@Prefix} &aBareBones &aenable"
3865 else if {barebones} is false:
3866 play "CLICK" to player
3867 set {barebones} to true
3868 set {nether} to false
3869 add arg-1 to {gamemodes::*}
3870 send "{@Prefix} &aBareBones &aenable"
3871 else if {barebones} is true:
3872 play "CLICK" to player
3873 set {barebones} to false
3874 set {nether} to true
3875 remove arg-1 from {gamemodes::*}
3876 send "{@Prefix} &cBareBones &cdisable"
3877
3878 if arg 1 is "Blocked":
3879 if {blockedp} is not set:
3880 play "CLICK" to player
3881 set {blockedp} to true
3882 loop all players:
3883 delete {blockedplaced.%loop-player%::*}
3884 add arg-1 to {gamemodes::*}
3885 send "{@Prefix} &aBlocked &aenable"
3886 else if {blockedp} is false:
3887 play "CLICK" to player
3888 set {blockedp} to true
3889 loop all players:
3890 delete {blockedplaced.%loop-player%::*}
3891 add arg-1 to {gamemodes::*}
3892 send "{@Prefix} &aBlocked &aenable"
3893 else if {blockedp} is true:
3894 play "CLICK" to player
3895 set {blockedp} to false
3896 loop all players:
3897 delete {blockedplaced.%loop-player%::*}
3898 remove arg-1 from {gamemodes::*}
3899 send "{@Prefix} &cBlocked &cdisable"
3900
3901 if arg 1 is "BloodDiamond":
3902 if {blooddiamond} is not set:
3903 play "CLICK" to player
3904 set {blooddiamond} to true
3905 add arg-1 to {gamemodes::*}
3906 send "{@Prefix} &aBloodDiamond &aenable"
3907 else if {blooddiamond} is false:
3908 play "CLICK" to player
3909 set {blooddiamond} to true
3910 add arg-1 to {gamemodes::*}
3911 send "{@Prefix} &aBloodDiamond &aenable"
3912 else if {blooddiamond} is true:
3913 play "CLICK" to player
3914 set {blooddiamond} to false
3915 remove arg-1 from {gamemodes::*}
3916 send "{@Prefix} &cBloodDiamond &cdisable"
3917
3918 if arg 1 is "BloodEnchant":
3919 if {bloodenchant} is not set:
3920 play "CLICK" to player
3921 set {bloodenchant} to true
3922 add arg-1 to {gamemodes::*}
3923 send "{@Prefix} &aBloodEnchant &aenable"
3924 else if {bloodenchant} is false:
3925 play "CLICK" to player
3926 set {bloodenchant} to true
3927 add arg-1 to {gamemodes::*}
3928 send "{@Prefix} &aBloodEnchant &aenable"
3929 else if {bloodenchant} is true:
3930 play "CLICK" to player
3931 set {bloodenchant} to false
3932 remove arg-1 from {gamemodes::*}
3933 send "{@Prefix} &cBloodEnchant &cdisable"
3934
3935 if arg 1 is "BloodGold":
3936 if {bloodgold} is not set:
3937 play "CLICK" to player
3938 set {bloodgold} to true
3939 add arg-1 to {gamemodes::*}
3940 send "{@Prefix} &aBloodGold &aenable"
3941 else if {bloodgold} is false:
3942 play "CLICK" to player
3943 set {bloodgold} to true
3944 add arg-1 to {gamemodes::*}
3945 send "{@Prefix} &aBloodGold &aenable"
3946 else if {bloodgold} is true:
3947 play "CLICK" to player
3948 set {bloodgold} to false
3949 remove arg-1 from {gamemodes::*}
3950 send "{@Prefix} &cBloodGold &cdisable"
3951
3952 if arg 1 is "BloodLapis":
3953 if {bloodlapis} is not set:
3954 play "CLICK" to player
3955 set {bloodlapis} to true
3956 add arg-1 to {gamemodes::*}
3957 send "{@Prefix} &aBloodLapis &aenable"
3958 else if {bloodlapis} is false:
3959 play "CLICK" to player
3960 set {bloodlapis} to true
3961 add arg-1 to {gamemodes::*}
3962 send "{@Prefix} &aBloodLapis &aenable"
3963 else if {bloodlapis} is true:
3964 play "CLICK" to player
3965 set {bloodlapis} to false
3966 remove arg-1 from {gamemodes::*}
3967 send "{@Prefix} &cBloodLapis &cdisable"
3968
3969 if arg 1 is "BowLess":
3970 if {bowless} is not set:
3971 play "CLICK" to player
3972 set {bowless} to true
3973 add arg-1 to {gamemodes::*}
3974 send "{@Prefix} &aBowLess &aenable"
3975 else if {bowless} is false:
3976 play "CLICK" to player
3977 set {bowless} to true
3978 add arg-1 to {gamemodes::*}
3979 send "{@Prefix} &aBowLess &aenable"
3980 else if {bowless} is true:
3981 play "CLICK" to player
3982 set {bowless} to false
3983 remove arg-1 from {gamemodes::*}
3984 send "{@Prefix} &cBowLess &cdisable"
3985
3986 if arg 1 is "CoalLess":
3987 if {coalless} is not set:
3988 play "CLICK" to player
3989 set {coalless} to true
3990 add arg-1 to {gamemodes::*}
3991 send "{@Prefix} &aCoalLess &aenable"
3992 else if {coalless} is false:
3993 play "CLICK" to player
3994 set {coalless} to true
3995 add arg-1 to {gamemodes::*}
3996 send "{@Prefix} &aCoalLess &aenable"
3997 else if {coalless} is true:
3998 play "CLICK" to player
3999 set {coalless} to false
4000 remove arg-1 from {gamemodes::*}
4001 send "{@Prefix} &cCoalLess &cdisable"
4002
4003 if arg 1 is "ColdWeapons":
4004 if {coldweapons} is not set:
4005 play "CLICK" to player
4006 set {coldweapons} to true
4007 add arg-1 to {gamemodes::*}
4008 send "{@Prefix} &aColdWeapons &aenable"
4009 else if {coldweapons} is false:
4010 play "CLICK" to player
4011 set {coldweapons} to true
4012 add arg-1 to {gamemodes::*}
4013 send "{@Prefix} &aColdWeapons &aenable"
4014 else if {coldweapons} is true:
4015 play "CLICK" to player
4016 set {coldweapons} to false
4017 remove arg-1 from {gamemodes::*}
4018 send "{@Prefix} &cColdWeapons &cdisable"
4019
4020 if arg 1 is "CutClean":
4021 if {cutclean} is not set:
4022 play "CLICK" to player
4023 set {cutclean} to true
4024 add arg-1 to {gamemodes::*}
4025 send "{@Prefix} &aCutClean &aenable"
4026 else if {cutclean} is false:
4027 play "CLICK" to player
4028 set {cutclean} to true
4029 add arg-1 to {gamemodes::*}
4030 send "{@Prefix} &aCutClean &aenable"
4031 else if {cutclean} is true:
4032 play "CLICK" to player
4033 set {cutclean} to false
4034 remove arg-1 from {gamemodes::*}
4035 send "{@Prefix} &cCutClean &cdisable"
4036
4037 if arg 1 is "DiamondLess":
4038 if {diamondless} is not set:
4039 play "CLICK" to player
4040 set {diamondless} to true
4041 add arg-1 to {gamemodes::*}
4042 send "{@Prefix} &aDiamondLess &aenable"
4043 else if {diamondless} is false:
4044 play "CLICK" to player
4045 set {diamondless} to true
4046 add arg-1 to {gamemodes::*}
4047 send "{@Prefix} &aDiamondLess &aenable"
4048 else if {diamondless} is true:
4049 play "CLICK" to player
4050 set {diamondless} to false
4051 remove arg-1 from {gamemodes::*}
4052 send "{@Prefix} &cDiamondLess &cdisable"
4053
4054 if arg 1 is "DoubleOres":
4055 if {doubleores} is not set:
4056 play "CLICK" to player
4057 set {doubleores} to true
4058 set {tripleores} to false
4059 add arg-1 to {gamemodes::*}
4060 remove "TripleOres" from {gamemodes::*}
4061 send "{@Prefix} &aDoubleOres &aenable"
4062 else if {doubleores} is false:
4063 play "CLICK" to player
4064 set {doubleores} to true
4065 set {tripleores} to false
4066 add arg-1 to {gamemodes::*}
4067 remove "TripleOres" from {gamemodes::*}
4068 send "{@Prefix} &aDoubleOres &aenable"
4069 else if {doubleores} is true:
4070 play "CLICK" to player
4071 set {doubleores} to false
4072 remove arg-1 from {gamemodes::*}
4073 send "{@Prefix} &cDoubleOres &cdisable"
4074
4075 if arg 1 is "FireLess":
4076 if {fireless} is not set:
4077 play "CLICK" to player
4078 set {fireless} to true
4079 add arg-1 to {gamemodes::*}
4080 send "{@Prefix} &aFireLess &aenable"
4081 else if {fireless} is false:
4082 play "CLICK" to player
4083 set {fireless} to true
4084 add arg-1 to {gamemodes::*}
4085 send "{@Prefix} &aFireLess &aenable"
4086 else if {fireless} is true:
4087 play "CLICK" to player
4088 set {fireless} to false
4089 remove arg-1 from {gamemodes::*}
4090 send "{@Prefix} &cFireLess &cdisable"
4091
4092 if arg 1 is "GoldenHead":
4093 if {goldenhead} is not set:
4094 play "CLICK" to player
4095 set {goldenhead} to true
4096 add arg-1 to {gamemodes::*}
4097 send "{@Prefix} &aGoldenHead &aenable"
4098 else if {goldenhead} is false:
4099 play "CLICK" to player
4100 set {goldenhead} to true
4101 add arg-1 to {gamemodes::*}
4102 send "{@Prefix} &aGoldenHead &aenable"
4103 else if {goldenhead} is true:
4104 play "CLICK" to player
4105 set {goldenhead} to false
4106 remove arg-1 from {gamemodes::*}
4107 send "{@Prefix} &cGoldenHead &cdisable"
4108
4109 if arg 1 is "GoldLess":
4110 if {goldless} is not set:
4111 play "CLICK" to player
4112 set {goldless} to true
4113 add arg-1 to {gamemodes::*}
4114 send "{@Prefix} &aGoldLess &aenable"
4115 else if {goldless} is false:
4116 play "CLICK" to player
4117 set {goldless} to true
4118 add arg-1 to {gamemodes::*}
4119 send "{@Prefix} &aGoldLess &aenable"
4120 else if {goldless} is true:
4121 play "CLICK" to player
4122 set {goldless} to false
4123 remove arg-1 from {gamemodes::*}
4124 send "{@Prefix} &cGoldLess &cdisable"
4125
4126
4127
4128 if arg 1 is "IronLess":
4129 if {ironless} is not set:
4130 play "CLICK" to player
4131 set {ironless} to true
4132 add arg-1 to {gamemodes::*}
4133 send "{@Prefix} &aIronLess &aenable"
4134 else if {ironless} is false:
4135 play "CLICK" to player
4136 set {ironless} to true
4137 add arg-1 to {gamemodes::*}
4138 send "{@Prefix} &aIronLess &aenable"
4139 else if {ironless} is true:
4140 play "CLICK" to player
4141 set {ironless} to false
4142 remove arg-1 from {gamemodes::*}
4143 send "{@Prefix} &cIronLess &cdisable"
4144
4145 if arg 1 is "LongShots":
4146 if {longshots} is not set:
4147 play "CLICK" to player
4148 set {longshots} to true
4149 add arg-1 to {gamemodes::*}
4150 send "{@Prefix} &aLongShots &aenable"
4151 else if {longshots} is false:
4152 play "CLICK" to player
4153 set {longshots} to true
4154 add arg-1 to {gamemodes::*}
4155 send "{@Prefix} &aLongShots &aenable"
4156 else if {longshots} is true:
4157 play "CLICK" to player
4158 set {longshots} to false
4159 remove arg-1 from {gamemodes::*}
4160 send "{@Prefix} &cLongShots &cdisable"
4161
4162 if arg 1 is "LuckyFlowers":
4163 if {luckyflowers} is not set:
4164 play "CLICK" to player
4165 set {luckyflowers} to true
4166 add arg-1 to {gamemodes::*}
4167 send "{@Prefix} &aLuckyFlowers &aenable"
4168 else if {luckyflowers} is false:
4169 play "CLICK" to player
4170 set {luckyflowers} to true
4171 add arg-1 to {gamemodes::*}
4172 send "{@Prefix} &aLuckyFlowers &aenable"
4173 else if {luckyflowers} is true:
4174 play "CLICK" to player
4175 set {luckyflowers} to false
4176 remove arg-1 from {gamemodes::*}
4177 send "{@Prefix} &cLuckyFlowers &cdisable"
4178
4179 if arg 1 is "LuckyLeaves":
4180 if {luckyleaves} is not set:
4181 play "CLICK" to player
4182 set {luckyleaves} to true
4183 add arg-1 to {gamemodes::*}
4184 send "{@Prefix} &aLuckyLeaves &aenable"
4185 else if {luckyleaves} is false:
4186 play "CLICK" to player
4187 set {luckyleaves} to true
4188 add arg-1 to {gamemodes::*}
4189 send "{@Prefix} &aLuckyLeaves &aenable"
4190 else if {luckyleaves} is true:
4191 play "CLICK" to player
4192 set {luckyleaves} to false
4193 remove arg-1 from {gamemodes::*}
4194 send "{@Prefix} &cLuckyLeaves &cdisable"
4195
4196 if arg 1 is "NoCleanUp":
4197 if {nocleanup} is not set:
4198 play "CLICK" to player
4199 set {nocleanup} to true
4200 add arg-1 to {gamemodes::*}
4201 send "{@Prefix} &aNoCleanUp &aenable"
4202 else if {nocleanup} is false:
4203 play "CLICK" to player
4204 set {nocleanup} to true
4205 add arg-1 to {gamemodes::*}
4206 send "{@Prefix} &aNoCleanUp &aenable"
4207 else if {nocleanup} is true:
4208 play "CLICK" to player
4209 set {nocleanup} to false
4210 remove arg-1 from {gamemodes::*}
4211 send "{@Prefix} &cNoCleanUp &cdisable"
4212
4213 if arg 1 is "NoEnchant":
4214 if {noenchant} is not set:
4215 play "CLICK" to player
4216 set {noenchant} to true
4217 add arg-1 to {gamemodes::*}
4218 send "{@Prefix} &aNoEnchant &aenable"
4219 else if {noenchant} is false:
4220 play "CLICK" to player
4221 set {noenchant} to true
4222 add arg-1 to {gamemodes::*}
4223 send "{@Prefix} &aNoEnchant &aenable"
4224 else if {noenchant} is true:
4225 play "CLICK" to player
4226 set {noenchant} to false
4227 remove arg-1 from {gamemodes::*}
4228 send "{@Prefix} &cNoEnchant &cdisable"
4229
4230 if arg 1 is "NoFallDamage":
4231 if {nofalldamage} is not set:
4232 play "CLICK" to player
4233 set {nofalldamage} to true
4234 add arg-1 to {gamemodes::*}
4235 send "{@Prefix} &aNoFallDamage &aenable"
4236 else if {nofalldamage} is false:
4237 play "CLICK" to player
4238 set {nofalldamage} to true
4239 add arg-1 to {gamemodes::*}
4240 send "{@Prefix} &aNoFallDamage &aenable"
4241 else if {nofalldamage} is true:
4242 play "CLICK" to player
4243 set {nofalldamage} to false
4244 remove arg-1 from {gamemodes::*}
4245 send "{@Prefix} &cNoFallDamage &cdisable"
4246
4247 if arg 1 is "OreFrenzy":
4248 if {orefrenzy} is not set:
4249 play "CLICK" to player
4250 set {orefrenzy} to true
4251 add arg-1 to {gamemodes::*}
4252 send "{@Prefix} &aOreFrenzy &aenable"
4253 else if {orefrenzy} is false:
4254 play "CLICK" to player
4255 set {orefrenzy} to true
4256 add arg-1 to {gamemodes::*}
4257 send "{@Prefix} &aOreFrenzy &aenable"
4258 else if {orefrenzy} is true:
4259 play "CLICK" to player
4260 set {orefrenzy} to false
4261 remove arg-1 from {gamemodes::*}
4262 send "{@Prefix} &cOreFrenzy &cdisable"
4263
4264 if arg 1 is "RodLess":
4265 if {rodless} is not set:
4266 play "CLICK" to player
4267 set {rodless} to true
4268 add arg-1 to {gamemodes::*}
4269 send "{@Prefix} &aRodLess &aenable"
4270 else if {rodless} is false:
4271 play "CLICK" to player
4272 set {rodless} to true
4273 add arg-1 to {gamemodes::*}
4274 send "{@Prefix} &aRodLess &aenable"
4275 else if {rodless} is true:
4276 play "CLICK" to player
4277 set {rodless} to false
4278 remove arg-1 from {gamemodes::*}
4279 send "{@Prefix} &cRodLess &cdisable"
4280
4281 if arg 1 is "Soup":
4282 if {soup} is not set:
4283 play "CLICK" to player
4284 set {soup} to true
4285 add arg-1 to {gamemodes::*}
4286 send "{@Prefix} &aSoup &aenable."
4287 else if {soup} is false:
4288 play "CLICK" to player
4289 set {soup} to true
4290 add arg-1 to {gamemodes::*}
4291 send "{@Prefix} &aSoup &aenable"
4292 else if {soup} is true:
4293 play "CLICK" to player
4294 set {soup} to false
4295 remove arg-1 from {gamemodes::*}
4296 send "{@Prefix} &cSoup &cdisable"
4297
4298 if arg 1 is "TimeBomb":
4299 if {timebomb} is not set:
4300 play "CLICK" to player
4301 set {timebomb} to true
4302 add arg-1 to {gamemodes::*}
4303 send "{@Prefix} &aTimeBomb &aenable"
4304 else if {timebomb} is false:
4305 play "CLICK" to player
4306 set {timebomb} to true
4307 add arg-1 to {gamemodes::*}
4308 send "{@Prefix} &aTimeBomb &aenable"
4309 else if {timebomb} is true:
4310 play "CLICK" to player
4311 set {timebomb} to false
4312 remove arg-1 from {gamemodes::*}
4313 send "{@Prefix} &cTimeBomb &cdisable"
4314
4315 if arg 1 is "backpack":
4316 if {backpack} is not set:
4317 play "CLICK" to player
4318 set {backpack} to true
4319 add arg-1 to {gamemodes::*}
4320 send "{@Prefix} &aBackpack &aenable"
4321 else if {backpack} is false:
4322 play "CLICK" to player
4323 set {backpack} to true
4324 add arg-1 to {gamemodes::*}
4325 send "{@Prefix} &aBackpack &aenable"
4326 else if {backpack} is true:
4327 play "CLICK" to player
4328 set {backpack} to false
4329 send "{@Prefix} &cBackpack &cdisable"
4330 remove arg-1 from {gamemodes::*}
4331
4332 if arg 1 is "horseless":
4333 if {horseless} is not set:
4334 play "CLICK" to player
4335 set {horseless} to true
4336 add arg-1 to {gamemodes::*}
4337 send "{@Prefix} &aHorseless &aenable"
4338 else if {horseless} is false:
4339 play "CLICK" to player
4340 set {horseless} to true
4341 add arg-1 to {gamemodes::*}
4342 send "{@Prefix} &aHorseless &aenable"
4343 else if {horseless} is true:
4344 play "CLICK" to player
4345 set {horseless} to false
4346 remove arg-1 from {gamemodes::*}
4347 send "{@Prefix} &cHorseless &cdisable"
4348
4349 if arg 1 is "timber":
4350 if {timber} is not set:
4351 play "CLICK" to player
4352 set {timber} to true
4353 add arg-1 to {gamemodes::*}
4354 set {timber} to true
4355 else if {timber} is false:
4356 play "CLICK" to player
4357 set {timber} to true
4358 add arg-1 to {gamemodes::*}
4359 else if {timber} is true:
4360 play "CLICK" to player
4361 set {timber} to false
4362 remove arg-1 from {gamemodes::*}
4363
4364 if arg 1 is "TripleOres":
4365 if {tripleores} is not set:
4366 play "CLICK" to player
4367 set {tripleores} to true
4368 set {doubleores} to false
4369 add arg-1 to {gamemodes::*}
4370 remove "DoubleOres" from {gamemodes::*}
4371 send "{@Prefix} &aTripleOres &aenable"
4372 else if {tripleores} is false:
4373 play "CLICK" to player
4374 set {tripleores} to true
4375 set {doubleores} to false
4376 add arg-1 to {gamemodes::*}
4377 remove "DoubleOres" from {gamemodes::*}
4378 send "{@Prefix} &aTripleOres &aenable"
4379 else if {tripleores} is true:
4380 play "CLICK" to player
4381 set {tripleores} to false
4382 remove arg-1 from {gamemodes::*}
4383 send "{@Prefix} &cTripleOres &cdisable"
4384
4385 if arg 1 is "Vanilla+":
4386 if {vanillaplus} is not set:
4387 play "CLICK" to player
4388 set {vanillaplus} to true
4389 add arg-1 to {gamemodes::*}
4390 send "{@Prefix} &aVanilla+ &aenable"
4391 else if {vanillaplus} is false:
4392 play "CLICK" to player
4393 set {vanillaplus} to true
4394 add arg-1 to {gamemodes::*}
4395 send "{@Prefix} &aVanilla+ &aenable"
4396 else if {vanillaplus} is true:
4397 play "CLICK" to player
4398 set {vanillaplus} to false
4399 remove arg-1 from {gamemodes::*}
4400 send "{@Prefix} &cVanilla+ &cdisable"
4401
4402 if arg 1 is "WebCage":
4403 if {webcage} is not set:
4404 play "CLICK" to player
4405 set {webcage} to true
4406 add arg-1 to {gamemodes::*}
4407 send "{@Prefix} &aWebCage &aenable"
4408 else if {webcage} is false:
4409 play "CLICK" to player
4410 set {webcage} to true
4411 add arg-1 to {gamemodes::*}
4412 send "{@Prefix} &aWebCage &aenable"
4413 else if {webcage} is true:
4414 play "CLICK" to player
4415 set {webcage} to false
4416 remove arg-1 from {gamemodes::*}
4417 send "{@Prefix} &cWebCage &cdisable"
4418
4419 if arg 1 is "Vanilla":
4420 if {vanilla} is set:
4421 play "CLICK" to player
4422 delete {gamemodes::*}
4423 set {absorptionless} to false
4424 set {barebones} to false
4425 set {blockedp} to false
4426 set {blooddiamond} to false
4427 set {bloodenchant} to false
4428 set {bloodgold} to false
4429 set {bloodlapis} to false
4430 set {bowless} to false
4431 set {timber} to false
4432 set {coalless} to false
4433 set {coldweapons} to false
4434 set {cutclean} to false
4435 set {diamondless} to false
4436 set {doubleores} to false
4437 set {fireless} to false
4438 set {goldenhead} to false
4439 set {goldless} to false
4440 set {horseless} to false
4441 set {ironless} to false
4442 set {longshots} to false
4443 set {luckyflowers} to false
4444 set {luckyleaves} to false
4445 set {nocleanup} to false
4446 set {noenchant} to false
4447 set {nofalldamage} to false
4448 set {orefrenzy} to false
4449 set {rodless} to false
4450 set {soup} to false
4451 set {timebomb} to false
4452 set {tripleores} to false
4453 set {vanillaplus} to false
4454 set {webcage} to false
4455 send "{@Prefix} &cAll scenarios desactivated"
4456
4457
4458
4459on death:
4460 if {barebones} is true:
4461 if victim is a player:
4462 {started} is true
4463 drop 1 diamond at location of victim
4464 drop 1 golden apple at location of victim
4465 drop 32 arrow at location of victim
4466 drop 2 string at location of victim
4467 if {bowless} is true:
4468 if victim is a skeleton:
4469 clear drops
4470 if {cutclean} is true:
4471 if victim is a pig:
4472 clear drops
4473 drop 1 cooked porkchop at location of victim
4474 if victim is a sheep:
4475 clear drops
4476 drop 1 cooked porkchop at location of victim
4477 drop 1 string at location of victim
4478 if victim is a cow:
4479 clear drops
4480 drop 1 cooked beef at location of victim
4481 drop 1 leather at location of victim
4482 if victim is a mooshroom:
4483 clear drops
4484 drop 1 cooked beef at location of victim
4485 drop 1 leather at location of victim
4486 if victim is a rabbit:
4487 clear drops
4488 drop 1 cooked beef at location of victim
4489 if victim is a chicken:
4490 clear drops
4491 drop 1 feather at location of victim
4492 drop 1 cooked chicken at location of victim
4493 if {diamondless} is true:
4494 if victim is a player:
4495 {started} is true
4496 drop 1 diamond at location of victim
4497 if {goldless} is true:
4498 if victim is a player:
4499 {started} is true
4500 give golden apple to attacker
4501 drop 16 gold ingot at location of victim
4502 if {ironless} is true:
4503 if victim is a player:
4504 {started} is true
4505 drop 8 iron ingot at location of victim
4506 if {nocleanup} is true:
4507 if victim is a player:
4508 {started} is true
4509 apply regeneration 2 to the attacker for 10 seconds
4510 apply resistance 100 to the attacker for 3 seconds
4511 set {nocleanup.%attacker%.cooldown} to true
4512 wait {@Cooldown-NoCleanUp} seconds
4513 {nocleanup.%attacker%.cooldown} is true
4514 send "&cYou lost the invencibility!" to attacker
4515 set {nocleanup.%attacker%.cooldown} to false
4516
4517on death of player:
4518 if {timebomb} is true:
4519 {started} is true
4520 clear drops
4521 set block at location of victim to chest
4522 set block west of block at location of victim to chest
4523 set {deathchest::%block at location of victim%} to victim
4524 set {_deathchest} to block at location of victim
4525 add inventory of victim to {_deathchest}
4526 add helmet of victim to {_deathchest}
4527 add chestplate of victim to {_deathchest}
4528 add leggings of victim to {_deathchest}
4529 add boots of victim to {_deathchest}
4530 if {goldenhead} is true:
4531 add 1 golden apple named "{@goldenhead}" to {_deathchest}
4532 if {barebones} is true:
4533 add 1 diamond to {_deathchest}
4534 add 1 golden apple to {_deathchest}
4535 add 32 arrow to {_deathchest}
4536 add 2 string to {_deathchest}
4537 if {coalless} is true:
4538 add 2 coal to {_deathchest}
4539 if {diamondless} is true:
4540 add 1 diamond to {_deathchest}
4541 if {goldless} is true:
4542 add 1 golden apple named "{@goldenhead}" to {_deathchest}
4543 add 16 gold ingot to {_deathchest}
4544 if {ironless} is true:
4545 add 8 iron ingot to {_deathchest}
4546 wait 30 seconds
4547 broadcast "{@timebomb}"
4548 set block at location of victim to air
4549 set block west of block at location of victim to air
4550 create an explosion of force 4.5 at {_deathchest}
4551 create a safe explosion of force 4.5 at {_deathchest}
4552 strike lightning effect at {_deathchest}
4553 clear dropped items
4554 if {timebomb} is false:
4555 {goldenhead} is true
4556 {started} is true
4557 {spect::%victim%} is not set
4558 {staffmode::%victim%} is not set
4559 {ingame::%victim%} is true
4560 drop 1 player head named "{@HeadName}" at victim
4561
4562on damage of player:
4563 if {longshots} is true:
4564 damage was caused by projectile
4565 set {_longshot} to the distance between the attacker and victim
4566 if {_longshot} is greater than 45:
4567 broadcast "&a%attacker% &epierced to &c%victim% &ewith an arrow from &6%{_longshot}% &eblocks!"
4568 add 1 to attacker's health
4569 damage attacker by 0.5 hearts
4570 if {nocleanup} is true:
4571 if {nocleanup.%victim%.cooldown} is true:
4572 cancel event
4573 if {nocleanup.%attacker%.cooldown} is true:
4574 set {nocleanup.%attacker%.cooldown} to false
4575 send "&cYou lost the invencibility!" to attacker
4576 stop
4577
4578on damage:
4579 if {started} is true:
4580 {fireless} is true
4581 if victim is a player:
4582 damage is caused by burning or lava or fire
4583 cancel event
4584 if {started} is false:
4585 if victim is a player:
4586 damage is caused by fall
4587 cancel event
4588 if {started} is true:
4589 {nofalldamage} is true
4590 if victim is a player:
4591 damage is caused by fall
4592 cancel event
4593 if {staffmode::%attacker%} is true:
4594 cancel event
4595 if {staffmode::%victim%} is true:
4596 cancel event
4597 if {frozen::%victim%} is true:
4598 cancel event
4599 if {frozen::%attacker%} is true:
4600 cancel event
4601 if {spect::%attacker%} is true:
4602 cancel event
4603 if {spect::%victim%} is true:
4604 cancel event
4605 if attacker is player:
4606 set action bar of attacker to "{@damageindicator}"
4607 if {started} is true:
4608 set {combatlog::%attacker%} to true
4609 set {combatlog::%victim%} to true
4610 wait 30 seconds
4611 delete {combatlog::%attacker%}
4612 delete {combatlog::%victim%}
4613 if {Scatter.Scattering::%victim%} is set:
4614 cancel event
4615
4616on craft of golden apple:
4617 if {barebones} is true:
4618 cancel event
4619on craft of enchantment table:
4620 if {barebones} is true:
4621 cancel event
4622on craft of anvil:
4623 if {barebones} is true:
4624 cancel event
4625on craft of bow:
4626 if {bowless} is true:
4627 cancel event
4628on craft of fishing rod:
4629 if {rodless} is true:
4630 cancel event
4631on enchant:
4632 if {bloodenchant} is true:
4633 damage player by 0.5 hearts
4634 if {noenchant} is true:
4635 cancel event
4636
4637on damage of a player:
4638 if {coldweapons} is true:
4639 attacker is a player:
4640 wait 1 tick
4641 extinguish victim
4642
4643on break of coal ore:
4644 if {coalless} is true:
4645 cancel event
4646 set block to air
4647 stop
4648
4649on break of iron ore:
4650 if {ironless} is true:
4651 cancel event
4652 set block to air
4653 stop
4654
4655on break of gold ore:
4656 if {goldless} is true:
4657 cancel event
4658 set block to air
4659 stop
4660
4661on break of leaves:
4662 if {vanillaplus} is true:
4663 chance of 100%
4664 drop apple
4665 if {luckyleaves} is true:
4666 chance of 0.3%
4667 drop golden apple
4668
4669on break of gravel:
4670 if {vanillaplus} is true:
4671 chance of 100%
4672 drop flint
4673
4674on leaves decay:
4675 if {vanillaplus} is true:
4676 chance of 100%
4677 drop apple
4678
4679on mine of coal ore:
4680 if {coalless} is true:
4681 cancel event
4682 set block to air
4683 stop
4684 if {cutclean} is true:
4685 set block to air
4686 drop 3 torch
4687 drop 5 experience
4688 cancel event
4689
4690on mine of iron ore:
4691 if {barebones} is false:
4692 if {cutclean} is false:
4693 if {doubleores} is true:
4694 set {tripleores} to false
4695 set block to air
4696 give 2 iron ore to player
4697 cancel event
4698 if {tripleores} is true:
4699 set {doubleores} to false
4700 set block to air
4701 drop 3 iron ore
4702 cancel event
4703 if {barebones} is true:
4704 set block to air
4705 give 1 iron ingot to player
4706 cancel event
4707 if {doubleores} is true:
4708 set block to air
4709 give 2 iron ingot to player
4710 cancel event
4711 if {tripleores} is true:
4712 set block to air
4713 give 3 iron ingot to player
4714 cancel event
4715 if {cutclean} is true:
4716 set block to air
4717 give 1 iron ingot to player
4718 drop 6 experience
4719 cancel event
4720 if {doubleores} is true:
4721 set block to air
4722 give 1 iron ingot to player
4723 drop 6 experience
4724 cancel event
4725 if {tripleores} is true:
4726 set block to air
4727 give 2 iron ingot to player
4728 drop 6 experience
4729 cancel event
4730 if {ironless} is true:
4731 cancel event
4732 set block to air
4733 stop
4734
4735on mine of diamond ore:
4736 if {barebones} is false:
4737 if {cutclean} is false:
4738 if {doubleores} is true:
4739 set {tripleores} to false
4740 set block to air
4741 give 2 diamond to player
4742 drop 1 experience
4743 cancel event
4744 if {tripleores} is true:
4745 set {doubleores} to false
4746 set block to air
4747 give 3 diamond to player
4748 drop 1 experience
4749 cancel event
4750 if {barebones} is true:
4751 set block to air
4752 give 1 iron ingot to player
4753 cancel event
4754 if {doubleores} is true:
4755 set block to air
4756 give 2 iron ingot to player
4757 cancel event
4758 if {tripleores} is true:
4759 set block to air
4760 give 3 iron ingot to player
4761 cancel event
4762 if {blooddiamond} is true:
4763 damage player by 0.5 hearts
4764 if {cutclean} is true:
4765 set block to air
4766 give 1 diamond to player
4767 drop 6 experience
4768 cancel event
4769 if {doubleores} is true:
4770 set block to air
4771 give 1 diamond to player
4772 drop 6 experience
4773 cancel event
4774 if {tripleores} is true:
4775 set block to air
4776 give 2 diamond to player
4777 drop 6 experience
4778 cancel event
4779 if {diamondless} is true:
4780 cancel event
4781 set block to air
4782 stop
4783 if {orefrenzy} is true:
4784 set block to air
4785 give 1 diamond to player
4786 drop 4 experience bottle
4787 drop 1 experience
4788 cancel event
4789
4790on mine of gold ore:
4791 if {barebones} is false:
4792 if {cutclean} is false:
4793 if {doubleores} is true:
4794 set {tripleores} to false
4795 set block to air
4796 give 2 gold ore to player
4797 cancel event
4798 if {tripleores} is true:
4799 set {doubleores} to false
4800 set block to air
4801 give 3 gold ore to player
4802 cancel event
4803 if {barebones} is true:
4804 set block to air
4805 give 1 iron ingot to player
4806 cancel event
4807 if {doubleores} is true:
4808 set block to air
4809 give 2 iron ingot to player
4810 cancel event
4811 if {tripleores} is true:
4812 set block to air
4813 give 3 iron ingot to player
4814 cancel event
4815 if {cutclean} is true:
4816 set block to air
4817 give 1 gold ingot to player
4818 drop 1 experience
4819 cancel event
4820 if {doubleores} is true:
4821 set block to air
4822 give 1 gold ingot to player
4823 drop 1 experience
4824 cancel event
4825 if {tripleores} is true:
4826 set block to air
4827 give 2 gold ingot to player
4828 drop 1 experience
4829 cancel event
4830 if {goldless} is true:
4831 cancel event
4832 if {bloodgold} is true:
4833 damage player by 0.5 hearts
4834
4835on mine of lapis ore:
4836 if {barebones} is true:
4837 set block to air
4838 give 1 iron ingot to player
4839 cancel event
4840 if {doubleores} is true:
4841 set block to air
4842 give 2 iron ingot to player
4843 cancel event
4844 if {tripleores} is true:
4845 set block to air
4846 give 3 iron ingot to player
4847 cancel event
4848 if {orefrenzy} is true:
4849 set block to air
4850 drop 1 splash potion of health
4851 drop 4 experience
4852 cancel event
4853 if {bloodlapis} is true:
4854 damage player by 1.0 hearts
4855
4856on mine of redstone ore:
4857 if {barebones} is true:
4858 set block to air
4859 give 1 iron ingot to player
4860 cancel event
4861 if {doubleores} is true:
4862 set block to air
4863 give 1 iron ingot to player
4864 cancel event
4865 if {tripleores} is true:
4866 set block to air
4867 give 3 iron ingot to player
4868 cancel event
4869 if {cutclean} is true:
4870 set block to air
4871 give 1 redstone to player
4872 drop 6 experience
4873 cancel event
4874 if {doubleores} is true:
4875 set block to air
4876 give 1 redstone to player
4877 drop 6 experience
4878 cancel event
4879 if {tripleores} is true:
4880 set block to air
4881 give 2 redstone to player
4882 drop 6 experience
4883 cancel event
4884 if {orefrenzy} is true:
4885 set block to air
4886 drop 1 book
4887 drop 6 experience
4888 cancel event
4889
4890on mine of emerald ore:
4891 if {doubleores} is true:
4892 set block to air
4893 give 2 emerald to player
4894 drop 1 experience
4895 cancel event
4896 if {tripleores} is true:
4897 set block to air
4898 give 3 emerald to player
4899 drop 1 experience
4900 cancel event
4901 if {barebones} is true:
4902 set block to air
4903 give 1 iron ingot to player
4904 cancel event
4905 if {doubleores} is true:
4906 set block to air
4907 give 2 iron ingot to player
4908 cancel event
4909 if {tripleores} is true:
4910 set block to air
4911 give 3 iron ingot to player
4912 cancel event
4913 if {cutclean} is true:
4914 set block to air
4915 give 1 emerald to player
4916 drop 6 experience
4917 cancel event
4918 if {doubleores} is true:
4919 set block to air
4920 give 1 emerald to player
4921 drop 6 experience
4922 cancel event
4923 if {tripleores} is true:
4924 set block to air
4925 give 2 emerald to player
4926 drop 6 experience
4927 cancel event
4928 if {orefrenzy} is true:
4929 set block to air
4930 drop 32 arrow
4931 drop 6 experience
4932 cancel event
4933
4934on mine of quartz ore:
4935 if {barebones} is true:
4936 set block to air
4937 give 1 iron ingot to player
4938 cancel event
4939 if {doubleores} is true:
4940 set block to air
4941 give 2 iron ingot to player
4942 cancel event
4943 if {tripleores} is true:
4944 set block to air
4945 give 3 iron ingot to player
4946 cancel event
4947 if {orefrenzy} is true:
4948 set block to air
4949 drop 1 tnt
4950 drop 5 experience
4951 cancel event
4952
4953on item spawning of all flowers:
4954 if {luckyflowers} is true:
4955 cancel the event
4956 set {items.random} to random number between 0 and 100
4957 if {items.random} is less than or equal to {@LuckyFlowers-Percentage}:
4958 drop (random number between 1 and 2) of random item out of all items
4959
4960on mine:
4961 if {blockedp} is true:
4962 if {blockedplaced.%player%::%event-block%} is true:
4963 cancel event
4964on place:
4965 if {blockedp} is true:
4966 set {blockedplaced.%player%::%event-block%} to true
4967
4968on rightclick on horse:
4969 if {horseless} is true:
4970 cancel event
4971
4972on rightclick on donkey:
4973 if {horseless} is true:
4974 cancel event
4975
4976on rightclick holding a mushroom soup:
4977 if {soup} is true:
4978 if player's health = 10:
4979 cancel event
4980 else if player's health < 10:
4981 remove 1 mushroom soup from the player's tool
4982 set the player's tool to bowl
4983 heal player by 2
4984 stop
4985
4986
4987on load:
4988 loop all players:
4989 clear loop-player's ender chest
4990 delete {gamemodes::*}
4991 set {absorptionless} to false
4992 set {barebones} to false
4993 set {blockedp} to false
4994 set {blooddiamond} to false
4995 set {bloodenchant} to false
4996 set {bloodgold} to false
4997 set {bloodlapis} to false
4998 set {bowless} to false
4999 set {timber} to false
5000 set {coalless} to false
5001 set {cutclean} to false
5002 set {coldweapons} to false
5003 set {diamondless} to false
5004 set {doubleores} to false
5005 set {fireless} to false
5006 set {goldenhead} to false
5007 set {goldless} to false
5008 set {horseless} to false
5009 set {backpack} to false
5010 set {ironless} to false
5011 set {longshots} to false
5012 set {luckyflowers} to false
5013 set {luckyleaves} to false
5014 set {nocleanup} to false
5015 set {noenchant} to false
5016 set {nofalldamage} to false
5017 set {orefrenzy} to false
5018 set {rodless} to false
5019 set {timebomb} to false
5020 set {tripleores} to false
5021 set {soup} to false
5022 set {vanillaplus} to false
5023 set {webcage} to false
5024
5025command /scenarios [<text>] [<text>]:
5026 trigger:
5027 if arg 1 is not set:
5028 if arg 2 is not set:
5029 play "CLICK" to player
5030 wait 3 ticks
5031 open chest with 3 rows named "&c" to player
5032 if size of {gamemodes::*} <= 0:
5033 format slot 13 of player with grass named "&eNo active scenarios." to be unstealable
5034 else:
5035 set {_gmslot} to 0
5036 if {absorptionless} is true:
5037 format slot {_gmslot} of player with golden apple named "&eAbsortionLess" to be unstealable
5038 add 1 to {_gmslot}
5039 if {backpack} is true:
5040 format slot {_gmslot} of player with chest named "&eBackPacks" to be unstealable
5041 add 1 to {_gmslot}
5042 if {barebones} is true:
5043 format slot {_gmslot} of player with gold ore named "&eBareBones" to be unstealable
5044 add 1 to {_gmslot}
5045 if {blockedp} is true:
5046 format slot {_gmslot} of player with diamond pickaxe named "&eBlocked" to be unstealable
5047 add 1 to {_gmslot}
5048 if {blooddiamond} is true:
5049 format slot {_gmslot} of player with diamond ore named "&eBloodDiamond" to be unstealable
5050 add 1 to {_gmslot}
5051 if {bloodenchant} is true:
5052 format slot {_gmslot} of player with enchantment table named "&eBloodEnchat" to be unstealable
5053 add 1 to {_gmslot}
5054 if {bloodgold} is true:
5055 format slot {_gmslot} of player with gold ore named "&eBloodGold" to be unstealable
5056 add 1 to {_gmslot}
5057 if {bloodlapis} is true:
5058 format slot {_gmslot} of player with lapis named "&eBloodLapis" to be unstealable
5059 add 1 to {_gmslot}
5060 if {bowless} is true:
5061 format slot {_gmslot} of player with bow named "&eBowLess" to be unstealable
5062 add 1 to {_gmslot}
5063 if {coalless} is true:
5064 format slot {_gmslot} of player with coal named "&eCoalLess" to be unstealable
5065 add 1 to {_gmslot}
5066 if {coldweapons} is true:
5067 format slot {_gmslot} of player with flint and steel named "&eColdWeapons" to be unstealable
5068 add 1 to {_gmslot}
5069 if {cutclean} is true:
5070 format slot {_gmslot} of player with ("61" parsed as item) named "&eCutClean" to be unstealable
5071 add 1 to {_gmslot}
5072 if {diamondless} is true:
5073 format slot {_gmslot} of player with diamond named "&eDiamondLess" to be unstealable
5074 add 1 to {_gmslot}
5075 if {doubleores} is true:
5076 format slot {_gmslot} of player with hopper named "&eDoubleOres" to be unstealable
5077 add 1 to {_gmslot}
5078 if {fireless} is true:
5079 format slot {_gmslot} of player with blaze powder named "&eFireLess" to be unstealable
5080 add 1 to {_gmslot}
5081 if {goldenhead} is true:
5082 format slot {_gmslot} of player with skull of player named "&eGoldenHead" to be unstealable
5083 add 1 to {_gmslot}
5084 if {goldless} is true:
5085 format slot {_gmslot} of player with gold ingot named "&eGoldLessG" to be unstealable
5086 add 1 to {_gmslot}
5087 if {horseless} is true:
5088 format slot {_gmslot} of player with saddle named "&eHorseLess" to be unstealable
5089 add 1 to {_gmslot}
5090 if {ironless} is true:
5091 format slot {_gmslot} of player with iron ore named "&eIronLess" to be unstealable
5092 add 1 to {_gmslot}
5093 if {longshots} is true:
5094 format slot {_gmslot} of player with arrow named "&eLongShots" to be unstealable
5095 add 1 to {_gmslot}
5096 if {luckyflowers} is true:
5097 format slot {_gmslot} of player with ("38" parsed as item) named "&eLuckyFlowers" to be unstealable
5098 add 1 to {_gmslot}
5099 if {luckyleaves} is true:
5100 format slot {_gmslot} of player with ("18" parsed as item) named "&eLuckyLeaves" to be unstealable
5101 add 1 to {_gmslot}
5102 if {nocleanup} is true:
5103 format slot {_gmslot} of player with potion:16421 named "&eNoCleanUp" to be unstealable
5104 add 1 to {_gmslot}
5105 if {noenchant} is true:
5106 format slot {_gmslot} of player with bookshelf named "&eNoEnchant" to be unstealable
5107 add 1 to {_gmslot}
5108 if {nofalldamage} is true:
5109 format slot {_gmslot} of player with water bucket named "&eNoFallDamage" to be unstealable
5110 add 1 to {_gmslot}
5111 if {orefrenzy} is true:
5112 format slot {_gmslot} of player with iron pickaxe named "&eOreFrenzy" to be unstealable
5113 add 1 to {_gmslot}
5114 if {rodless} is true:
5115 format slot {_gmslot} of player with fishing rod named "&eRodLess" to be unstealable
5116 add 1 to {_gmslot}
5117 if {soup} is true:
5118 format slot {_gmslot} of player with mushroom stew named "&eSoup" to be unstealable
5119 add 1 to {_gmslot}
5120 if {timebomb} is true:
5121 format slot {_gmslot} of player with tnt named "&eTimeBomb" to be unstealable
5122 add 1 to {_gmslot}
5123 if {tripleores} is true:
5124 format slot {_gmslot} of player with diamond block named "&eTripleOres" to be unstealable
5125 add 1 to {_gmslot}
5126 if {vanillaplus} is true:
5127 format slot {_gmslot} of player with grass named "&eVanilla+" to be unstealable
5128 add 1 to {_gmslot}
5129 if {webcage} is true:
5130 format slot {_gmslot} of player with cobweb named "&eWebCage" to be unstealable
5131 add 1 to {_gmslot}
5132 if {timber} is true:
5133 format slot {_gmslot} of player with log named "&eTimber" to be unstealable
5134 add 1 to {_gmslot}
5135
5136command /explain [<text>] [<text>]:
5137 trigger:
5138 if arg 1 is not set:
5139 if arg 2 is not set:
5140 play "CLICK" to player
5141 wait 3 ticks
5142 open chest with 3 rows named "&c" to player
5143 if size of {gamemodes::*} <= 0:
5144 format slot 13 of player with grass named "&eNo active scenarios." to be unstealable
5145 else:
5146 set {_gmslot} to 0
5147 if {absorptionless} is true:
5148 format slot {_gmslot} of player with golden apple named "&eAbsortionLess" to be unstealable
5149 add 1 to {_gmslot}
5150 if {backpack} is true:
5151 format slot {_gmslot} of player with chest named "&eBackPacks" to be unstealable
5152 add 1 to {_gmslot}
5153 if {barebones} is true:
5154 format slot {_gmslot} of player with gold ore named "&eBareBones" to be unstealable
5155 add 1 to {_gmslot}
5156 if {blockedp} is true:
5157 format slot {_gmslot} of player with diamond pickaxe named "&eBlocked" to be unstealable
5158 add 1 to {_gmslot}
5159 if {blooddiamond} is true:
5160 format slot {_gmslot} of player with diamond ore named "&eBloodDiamond" to be unstealable
5161 add 1 to {_gmslot}
5162 if {bloodenchant} is true:
5163 format slot {_gmslot} of player with enchantment table named "&eBloodEnchat" to be unstealable
5164 add 1 to {_gmslot}
5165 if {bloodgold} is true:
5166 format slot {_gmslot} of player with gold ore named "&eBloodGold" to be unstealable
5167 add 1 to {_gmslot}
5168 if {bloodlapis} is true:
5169 format slot {_gmslot} of player with lapis named "&eBloodLapis" to be unstealable
5170 add 1 to {_gmslot}
5171 if {bowless} is true:
5172 format slot {_gmslot} of player with bow named "&eBowLess" to be unstealable
5173 add 1 to {_gmslot}
5174 if {coalless} is true:
5175 format slot {_gmslot} of player with coal named "&eCoalLess" to be unstealable
5176 add 1 to {_gmslot}
5177 if {coldweapons} is true:
5178 format slot {_gmslot} of player with flint and steel named "&eColdWeapons" to be unstealable
5179 add 1 to {_gmslot}
5180 if {cutclean} is true:
5181 format slot {_gmslot} of player with ("61" parsed as item) named "&eCutClean" to be unstealable
5182 add 1 to {_gmslot}
5183 if {diamondless} is true:
5184 format slot {_gmslot} of player with diamond named "&eDiamondLess" to be unstealable
5185 add 1 to {_gmslot}
5186 if {doubleores} is true:
5187 format slot {_gmslot} of player with hopper named "&eDoubleOres" to be unstealable
5188 add 1 to {_gmslot}
5189 if {fireless} is true:
5190 format slot {_gmslot} of player with blaze powder named "&eFireLess" to be unstealable
5191 add 1 to {_gmslot}
5192 if {goldenhead} is true:
5193 format slot {_gmslot} of player with skull of player named "&eGoldenHead" to be unstealable
5194 add 1 to {_gmslot}
5195 if {goldless} is true:
5196 format slot {_gmslot} of player with gold ingot named "&eGoldLessG" to be unstealable
5197 add 1 to {_gmslot}
5198 if {horseless} is true:
5199 format slot {_gmslot} of player with saddle named "&eHorseLess" to be unstealable
5200 add 1 to {_gmslot}
5201 if {ironless} is true:
5202 format slot {_gmslot} of player with iron ore named "&eIronLess" to be unstealable
5203 add 1 to {_gmslot}
5204 if {longshots} is true:
5205 format slot {_gmslot} of player with arrow named "&eLongShots" to be unstealable
5206 add 1 to {_gmslot}
5207 if {luckyflowers} is true:
5208 format slot {_gmslot} of player with ("38" parsed as item) named "&eLuckyFlowers" to be unstealable
5209 add 1 to {_gmslot}
5210 if {luckyleaves} is true:
5211 format slot {_gmslot} of player with ("18" parsed as item) named "&eLuckyLeaves" to be unstealable
5212 add 1 to {_gmslot}
5213 if {nocleanup} is true:
5214 format slot {_gmslot} of player with potion:16421 named "&eNoCleanUp" to be unstealable
5215 add 1 to {_gmslot}
5216 if {noenchant} is true:
5217 format slot {_gmslot} of player with bookshelf named "&eNoEnchant" to be unstealable
5218 add 1 to {_gmslot}
5219 if {nofalldamage} is true:
5220 format slot {_gmslot} of player with water bucket named "&eNoFallDamage" to be unstealable
5221 add 1 to {_gmslot}
5222 if {orefrenzy} is true:
5223 format slot {_gmslot} of player with iron pickaxe named "&eOreFrenzy" to be unstealable
5224 add 1 to {_gmslot}
5225 if {rodless} is true:
5226 format slot {_gmslot} of player with fishing rod named "&eRodLess" to be unstealable
5227 add 1 to {_gmslot}
5228 if {soup} is true:
5229 format slot {_gmslot} of player with mushroom stew named "&eSoup" to be unstealable
5230 add 1 to {_gmslot}
5231 if {timebomb} is true:
5232 format slot {_gmslot} of player with tnt named "&eTimeBomb" to be unstealable
5233 add 1 to {_gmslot}
5234 if {tripleores} is true:
5235 format slot {_gmslot} of player with diamond block named "&eTripleOres" to be unstealable
5236 add 1 to {_gmslot}
5237 if {vanillaplus} is true:
5238 format slot {_gmslot} of player with grass named "&eVanilla+" to be unstealable
5239 add 1 to {_gmslot}
5240 if {webcage} is true:
5241 format slot {_gmslot} of player with cobweb named "&eWebCage" to be unstealable
5242 add 1 to {_gmslot}
5243 if {timber} is true:
5244 format slot {_gmslot} of player with log named "&eTimber" to be unstealable
5245 add 1 to {_gmslot}
5246
5247on death of player:
5248 {started} is true
5249 {webcage} is true
5250 set {_loc} to location of player
5251 loop blocks in radius 10 around {_loc}:
5252 set {_distance} to rounded down distance between {_loc} and loop-block
5253 {_distance} is 4
5254 loop-block is air
5255 set block at loop-block to cobweb
5256
5257on load:
5258 register new shapeless recipe for book item using air, air, enchanted book, enchanted book, air, air, air, air, air