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