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