Added newer MirriCraft to repo

This commit is contained in:
Christer Warén 2020-10-20 03:39:03 +03:00
parent 119943711a
commit 51b3188889

View File

@ -1,220 +1,254 @@
command /mirricraft [<text>] [<text>] [<text>]: command /mirricraft [<string>] [<string>] [<string>]:
description: MirriCraft description: MirriCraft
aliases: /mirri, /mc aliases: /mirri, /mc
executable by: players executable by: players
trigger: trigger:
if arg-1 is not set: if arg-1 is not set:
message "&7[&2MIRRICRAFT&7]&r Starting GUI" make player execute command "/mirricraft item"
make player execute command "/mirricraft gui"
stop
else:
if arg-1 is "gui":
if arg-2 is not set:
wait 2 tick wait 2 tick
open chest inventory with 3 row named "MirriCraft" to player open chest inventory with 3 row named "MirriCraft" to player
wait 1 tick wait 2 tick
loop integers between 0 and 26: loop integers between 0 and 26:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
if player have permission "mirricraft.visit": if player have permission "mirricraft.visit":
format slot 10 of player with filled map named "&2Visit" with lore "&o&fStatus: &2Enabled" to close then run [execute player command "/mirricraft visit"] format slot 11 of player with compass named "&4Mene" with lore "&o&fTila: Käytössä" to close then run [execute player command "/mirricraft gui visit"]
else: else:
format slot 10 of player with filled map named "&2Visit" with lore "&o&fStatus: &4Disabled" to close then run [execute player command "/mirricraft visit"] format slot 11 of player with compass named "&4Mene" with lore "&o&fTila: Pois käytöstä" to close then run [execute player command "/mirricraft visit"]
if player have permission "mirricraft.kits": #if player have permission "mirricraft.kits":
format slot 12 of player with chest named "&6Kits" with lore "&o&fStatus: &2Enabled" to close then run [execute player command "/mirricraft kits"] # format slot 12 of player with chest named "&6Kits" with lore "&o&fTila: Käytössä" to close then run [execute player command "/mirricraft kits"]
else: #else:
format slot 12 of player with chest named "&6Kits" with lore "&o&fStatus: &4Disabled" to close then run [execute player command "/mirricraft kits"] # format slot 12 of player with chest named "&6Kits" with lore "&o&fTila: Pois käytöstä" to close then run [execute player command "/mirricraft kits"]
if player have permission "mirricraft.vip": if player have permission "mirricraft.vip":
format slot 14 of player with nether star named "&eVIP" with lore "&o&fStatus: &2Enabled" to close then run [execute player command "/mirricraft vip"] format slot 13 of player with diamond named "&bVIP" with lore "&o&fTila: Käytössä" to close then run [execute player command "/mirricraft gui vip"]
else: else:
format slot 14 of player with nether star named "&eVIP" with lore "&o&fStatus: &4Disabled" to close then run [execute player command "/mirricraft vip"] format slot 13 of player with diamond named "&bVIP" with lore "&o&fTila: Pois käytöstä" to close then run [execute player command "/mirricraft gui vip"]
if player have permission "mirricraft.admin": format slot 15 of player with player's skull named "&6Player" with lore "&o&f%player%" to close then run [execute player command "/mirricraft gui player"]
format slot 16 of player with diamond axe named "&5Admin" with lore "&o&fStatus: &2Enabled" to close then run [execute player command "/mirricraft admin"]
else: #if player have permission "mirricraft.admin":
format slot 16 of player with diamond axe named "&5Admin" with lore "&o&fStatus: &4Disabled" to close then run [execute player command "/mirricraft admin"] # format slot 16 of player with diamond axe named "&5Ylläpito" with lore "&o&fTila: Käytössä" to close then run [execute player command "/mirricraft admin"]
#else:
# format slot 16 of player with diamond axe named "&5Ylläpito" with lore "&o&fTila: Pois käytöstä" to close then run [execute player command "/mirricraft admin"]
stop stop
else: else:
if arg-1 is "visit": if arg-2 is "visit":
if player have permission "mirricraft.visit": if player have permission "mirricraft.visit":
if arg-2 is not set: wait 2 tick
message "&7[&2MIRRICRAFT&7]&r Visit - Starting Gui" open chest inventory with 4 row named "MirriCraft - Mene" to player
wait 2 tick wait 2 tick
open chest inventory with 5 row named "MirriCraft - Visit" to player loop integers between 0 and 35:
wait 1 tick format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 27 of player with arrow named "&fTakaisin" to close then run [execute player command "/mirricraft gui"]
format slot 11 of player with diamond sword with no nbt named "&f&nTruelo" with lore "&o&fSelviydy elämän haasteista" and "&7Avautuu myöhemmin" to close then run [execute player command "/mirricraft visit truelo"]
format slot 13 of player with allium named "&f&nUtopia" with lore "&o&fVain luovuus on rajanasi" and "&7Avautuu myöhemmin" to close then run [execute player command "/mirricraft visit utopia"]
format slot 15 of player with oak sapling named "&f&nSkyBlock" with lore "&o&fTunne vapauden tuulenvire" and "&7Avautuu myöhemmin" to close then run [execute player command "/mirricraft visit skyblock"]
format slot 21 of player with end crystal named "&f&nMinigames" with lore "&o&fHauskaa kavereiden kanssa" and "&7Avautuu myöhemmin" to close then run [execute player command "/mirricraft visit minigames"]
format slot 23 of player with ender eye named "&f&nMultiverse" with lore "&o&fKäväise vanhoissa maailmoissa" to close then run [execute player command "/mirricraft visit multiverse"]
format slot 35 of player with nether star named "&f&nLobby" to close then run [execute player command "/mirricraft visit lobby"]
if player's world is "lobby":
stop
else:
stop
stop
stop
if arg-2 is "vip":
if player has the permission "mirricraft.vip":
wait 2 tick
open chest inventory with 4 row named "VIP" to player
wait 2 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 27 of player with arrow named "&fTakaisin" to close then run [execute player command "/mirricraft gui"]
if player's world is "lobby":
format slot 11 of player with ender chest named "&fCosmetics" to close then run [execute player command "/mirricraft vip cosmetics"]
format slot 13 of player with elytra named "&fFly" to close then run [execute player command "/mirricraft vip fly"]
format slot 15 of player with music disc cat named "&fMusic" to close then run [execute player command "/mirricraft vip music"]
else:
format slot 11 of player with white standing banner named "&fBannerBuilder" to close then run [execute player command "/mirricraft vip bannerbuilder"]
format slot 13 of player with elytra named "&fFly" to close then run [execute player command "/mirricraft vip fly"]
format slot 15 of player with ender chest named "&fEnderChest" to close then run [execute player command "/mirricraft vip enderchest"]
stop
stop
if arg-2 is "player":
wait 2 tick
open chest inventory with 5 row named "%player%" to player
wait 2 tick
loop integers between 0 and 44: loop integers between 0 and 44:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 11 of player with stone sword named "&fSurvival" to close then run [execute player command "/mirricraft visit survival"] format slot 36 of player with arrow named "&fTakaisin" to close then run [execute player command "/mirricraft gui"]
format slot 19 of player with diamond named "&fResources" to close then run [execute player command "/mirricraft visit survival_resources"]
format slot 20 of player with netherrack named "&fNether" to close then run [execute player command "/mirricraft visit survival_nether"]
format slot 21 of player with end portal frame named "&fEnd" to close then run [execute player command "/mirricraft visit survival_end"]
format slot 15 of player with stone named "&fSkyBlock" to close then run [execute player command "/mirricraft visit skyblock"]
format slot 24 of player with chiseled quartz block named "&fCreative" to close then run [execute player command "/mirricraft visit creative"]
format slot 36 of player with arrow named "&fBack" to close then run [execute player command "/mirricraft"]
format slot 40 of player with ender eye named "&fRandom" to close then run [execute player command "/mirricraft visit random"]
format slot 44 of player with nether star named "&fHUB" to close then run [execute player command "/mirricraft visit hub"]
stop stop
else:
if arg-2 is "hub":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to HUB"
make player execute command "/mv tp hub"
stop stop
if arg-2 is "survival": else if arg-1 is "visit":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to Survival" if player has the permission "mirricraft.visit":
make player execute command "/mv tp survival" if arg-2 is "lobby":
connect player to "lobby"
stop stop
if arg-2 is "survival_resources": else if arg-2 is "truelo":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to Survival Resources" connect player to "truelo"
make player execute command "/mv tp survival_resources"
stop stop
if arg-2 is "survival_nether": else if arg-2 is "utopia":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to Survival Nether" connect player to "utopia"
make player execute command "/mv tp survival_nether"
stop
if arg-2 is "survival_end":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to Survival End"
make player execute command "/mv tp survival_end"
stop
if arg-2 is "creative":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to Creative"
make player execute command "/mv tp creative"
stop stop
else if arg-2 is "skyblock": else if arg-2 is "skyblock":
message "&7[&2MIRRICRAFT&7]&r Visit Teleporting to SkyBlock Lobby" connect player to "skyblock"
make player execute command "/mv tp skyblock" stop
else if arg-2 is "minigames":
connect player to "minigames"
stop
else if arg-2 is "multiverse":
connect player to "multiverse"
stop
else if arg-2 is "multiverse-hub" or "hub" or "multiverse-creative" or "multiverse-survival" or "multiverse-skyblock":
if arg-2 is "multiverse-hub":
teleport player to world "hub"
stop
if arg-2 is "multiverse-creative":
teleport player to world "creative"
stop
if arg-2 is "multiverse-survival":
teleport player to world "survival"
stop
if arg-2 is "multiverse-skyblock":
teleport player to world "skyblock"
stop stop
else if arg-2 is "random":
message "&7[&2MIRRICRAFT&7]&r Visit Going into random place in this map"
make player execute command "/rtp"
stop stop
else: else:
make player execute command "/mirricraft visit" message "&7[&2MIRRICRAFT&7]&r Sinun tulee syöttää matkakohde, johon haluat matkustaa"
stop stop
stop
stop
else if arg-1 is "item":
if player's world is "lobby":
remove all items from player
set slot 0 of player's inventory to 1 of compass named "&4Mene"
set slot 4 of player's inventory to 1 of diamond named "&bVIP"
set slot 8 of player's inventory to 1 of player's skull named "&6%player%"
else: else:
make player execute command "/mirricraft" set slot 8 of player's inventory to 1 of ender chest named "&fMirriCraft"
stop stop
else if arg-1 is "gamemode":
else if arg-1 is "kits": if arg-2 is "0" or "s" or "survival":
if player have permission "mirricraft.kits": if player has the permission "mirricraft.gamemode.survival":
message "&7[&2MIRRICRAFT&7]&r Kits - Starting Gui" set gamemode of player to Survival
wait 2 tick
open chest inventory with 4 row named "MirriCraft - Kits" to player
wait 1 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 11 of player with wooden pickaxe named "&fBasic" to close then run [execute player command "/kit basic"]
format slot 15 of player with golden shovel named "&fProtect" to close then run [execute player command "/kit protect"]
format slot 27 of player with arrow named "&fBack" to close then run [execute player command "/mirricraft"]
stop stop
else:
make player execute command "/mirricraft"
stop stop
else if arg-1 is "admin": if arg-2 is "1" or "c" or "creative":
if player have permission "mirricraft.admin": if player has the permission "mirricraft.gamemode.creative":
if arg-2 is not set: set gamemode of player to Creative
message "&7[&2MIRRICRAFT&7]&r Admin - Starting Gui"
wait 2 tick
open chest inventory with 4 row named "MirriCraft - Admin (maintenance)" to player
wait 1 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 11 of player with paper named "&fGrief History" to close then run [execute player command "/mirricraft admin griefhistory"]
format slot 13 of player with ender eye named "&fVanish" to close then run [execute player command "/mirricraft admin vanish"]
format slot 27 of player with arrow named "&fBack" to close then run [execute player command "/mirricraft"]
format slot 35 of player with hopper named "&fReload" to close then run [execute player command "/mirricraft admin reload"]
stop stop
else:
if arg-2 is "griefhistory":
make player execute command "/co inspect"
stop stop
if arg-2 is "vanish": if arg-2 is "2" or "a" or "adventure":
make player execute command "/vanish" if player has the permission "mirricraft.gamemode.adventure":
set gamemode of player to Adventure
stop stop
if arg-2 is "reload":
make player execute command "/mirricraft reload"
wait 10 ticks
make player execute command "/mirricraft"
stop stop
else: if arg-2 is "3" or "sp" or "spectator":
make player execute command "/mirricraft admin" if player has the permission "mirricraft.gamemode.spectator":
set gamemode of player to Spectator
stop stop
else: stop
make player execute command "/mirricraft" stop
else if arg-1 is "clearinventory":
if player has the permission "mirricraft.clearinventory":
remove all items from player
stop stop
else if arg-1 is "vip": else if arg-1 is "vip":
if player have permission "mirricraft.vip": if player has the permission "mirricraft.vip":
if arg-2 is not set: if arg-2 is "fly":
message "&7[&2MIRRICRAFT&7]&r VIP - Starting Gui" if {fly.%player%} is not set:
wait 2 tick message "&7[&2MirriCraft&7]&r Lento on nyt sallittu"
set player's flight mode to true
open chest inventory with 4 row named "MirriCraft - VIP" to player set {fly.%player%} to true
wait 1 tick
loop integers between 0 and 35:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 10 of player with white standing banner named "&fBannerBuilder" to close then run [execute player command "/mirricraft vip bannerbuilder"]
format slot 12 of player with ender chest named "&fCosmetics" to close then run [execute player command "/mirricraft vip cosmetics"]
format slot 14 of player with elytra named "&fFly" to close then run [execute player command "/mirricraft vip fly"]
format slot 16 of player with music disc cat named "&fMusic" to close then run [execute player command "/mirricraft vip music"]
format slot 20 of player with grass block named "&fWorld" to close then run [execute player command "/mirricraft vip world"]
format slot 27 of player with arrow named "&fBack" to close then run [execute player command "/mirricraft"]
stop stop
else: message "&7[&2MirriCraft&7]&r Lento on pois käytöstä"
if arg-2 is "music": set player's flight mode to false
message "&7[&2MIRRICRAFT&7]&r VIP Open Music Menu" delete {fly.%player%}
wait 2 tick
make player execute command "/music"
stop stop
else if arg-2 is "bannerbuilder": if arg-2 is "bannerbuilder":
message "&7[&2MIRRICRAFT&7]&r VIP Open BannerBuilder Menu"
wait 2 tick wait 2 tick
make player execute command "/bannerbuilder" make player execute command "/bannerbuilder"
stop stop
else if arg-2 is "cosmetics": if arg-2 is "cosmetics":
message "&7[&2MIRRICRAFT&7]&r VIP Open Cosmetics Menu"
wait 2 tick wait 2 tick
make player execute command "/uc menu main" make player execute command "/uc menu main"
stop stop
else if arg-2 is "fly": if arg-2 is "music":
message "&7[&2MIRRICRAFT&7]&r VIP Toggling Fly"
wait 2 tick wait 2 tick
make player execute command "/fly" make player execute command "/music"
stop stop
else if arg-2 is "world": if arg-2 is "enderchest":
message "&7[&2MIRRICRAFT&7]&r VIP Teleporting to special world" wait 2 tick
make player execute command "/mv tp vip" open the player's ender chest to the player
stop stop
else:
make player execute command "/mirricraft vip"
stop stop
else:
make player execute command "/mirricraft"
stop
else if arg-1 is "item":
message "&7[&2MIRRICRAFT&7]&r ..."
set slot 8 of player's inventory to 1 of ender chest named "&fMirriCraft"
stop stop
else if arg-1 is "reload": else if arg-1 is "reload":
message "&7[&2MIRRICRAFT&7]&r Reloading..." if player has the permission "mirricraft.admin":
message "&7[&2MirriCraft&7]&r Reloading..."
make player execute command "/skript reload MirriCraft" make player execute command "/skript reload MirriCraft"
stop stop
stop
stop
command /lobby:
description: Lobby
executable by: players
trigger:
make player execute command "/mirricraft visit lobby"
stop
command /vip:
description: VIP
executable by: players
trigger:
make player execute command "/mirricraft gui vip"
stop
command /enderchest:
description: EnderChest
executable by: players
trigger:
make player execute command "/mirricraft vip enderchest"
stop
command /clearinventory:
description: Clear Inventory
aliases: /clearinv
executable by: players
trigger:
make player execute command "/mirricraft clearinventory"
stop
command /fly [<text>]:
description: Fly
executable by: players
trigger:
if arg-1 is not set:
make player execute command "/mirricraft vip fly"
stop
else: else:
make player execute command "/mirricraft" make player execute command "/mirricraft vip fly %arg-1%"
stop stop
command /visit [<text>]: command /visit [<text>]:
@ -228,64 +262,121 @@ command /visit [<text>]:
make player execute command "/mirricraft visit %arg-1%" make player execute command "/mirricraft visit %arg-1%"
stop stop
command /hub: command /gamemode [<string>]:
description: Visit HUB description: Game Mode
aliases: /gm
executable by: players executable by: players
trigger: trigger:
make player execute command "/mirricraft visit hub" if arg-1 is not set:
make player execute command "/mirricraft gamemode"
stop stop
else:
make player execute command "/mirricraft gamemode %arg-1%"
stop
#command /disabledcommands:
# description: Disabled Commands
# aliases: /disabled
# executable by: players
# trigger:
# stop
# OTHER FUNCTIONS # OTHER FUNCTIONS
# --- MirriCraft Item --- # --- MirriCraft Item ---
on join: on join:
make player execute command "/mirricraft item" make player execute command "/mirricraft item"
create bossbar titled "&f&lMirriCraft" and id "bossbar.%player's uuid%" for player with progress 100 with colors white
if {fly.%player%} is set:
if player has the permission "mirricraft.vip":
set player's flight mode to true
stop stop
on death: on respawn:
make player execute command "/mirricraft item" make player execute command "/mirricraft item"
stop stop
on leftclick holding a ender chest: on leftclick:
if event-item is ender chest named "&fMirriCraft": if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft" make player execute command "/mirricraft gui"
cancel the event
wait 2 tick
if event-item is compass named "&4Mene":
make player execute command "/mirricraft gui visit"
cancel the event
wait 2 tick
if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip"
cancel the event
wait 2 tick
if event-item is player's skull named "&6%player%":
make player execute command "/mirricraft gui player"
cancel the event cancel the event
wait 2 tick wait 2 tick
on rightclick holding a ender chest:
on rightclick:
if event-item is ender chest named "&fMirriCraft": if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft" make player execute command "/mirricraft gui"
cancel the event cancel the event
wait 2 tick wait 2 tick
if event-item is compass named "&4Mene":
make player execute command "/mirricraft gui visit"
cancel the event
wait 2 tick
if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip"
cancel the event
wait 2 tick
if event-item is player's skull named "&6%player%":
make player execute command "/mirricraft gui player"
cancel the event
wait 2 tick
on inventory click:
if event-item is ender chest named "&fMirriCraft":
cancel the event
if event-item is compass named "&4Mene":
cancel the event
if event-item is diamond named "&bVIP":
cancel the event
if event-item is player's skull named "&6%player%":
cancel the event
on drop:
if event-item is ender chest named "&fMirriCraft":
cancel the event
if event-item is compass named "&4Mene":
cancel the event
if event-item is diamond named "&bVIP":
cancel the event
if event-item is player's skull named "&6%player%":
cancel the event
on pickup:
if event-item is ender chest named "&fMirriCraft":
delete event-entity
if event-item is compass named "&4Mene":
delete event-entity
if event-item is diamond named "&bVIP":
delete event-entity
if event-item is player's skull named "&6%player%":
delete event-entity
on death:
if player's world is "lobby":
clear drops
# --- Welcome Message --- # --- Welcome Message ---
on join: on join:
send player title "MirriCraft" with subtitle "Welcome back, &3%player%!&f Hope you enjoy your stay!" for 5 seconds send player title "MirriCraft" for 5 seconds
send action bar "Nauti pelihetkestäsi, %player%!" to player
# --- World Title --- # --- World Title ---
on player world change: on player world change:
if "%event-world%" contains "hub": if "%event-world%" is "lobby":
send player title "&6HUB" for 5 seconds send player title "&6MirriCraft" for 5 seconds
else if "%event-world%" contains "survival":
send player title "&6Survival" for 5 seconds
else if "%event-world%" contains "survival_resources":
send player title "&6Survival - Resources" for 5 seconds
else if "%event-world%" contains "survival_nether":
send player title "&6Survival - Nether" for 5 seconds
else if "%event-world%" contains "survival_end":
send player title "&6Survival - End" for 5 seconds
else if "%event-world%" contains "creative":
send player title "&6Creative" for 5 seconds
else if "%event-world%" contains "skyblock":
send player title "&6SkyBlock" for 5 seconds
else if "%event-world%" contains "skyblock_normal":
send player title "&6SkyBlock - Normal" for 5 seconds
else if "%event-world%" contains "skyblock_nether":
send player title "&6SkyBlock - Nether" for 5 seconds
else if "%event-world%" contains "skyblock_end":
send player title "&6SkyBlock - End" for 5 seconds
# --- Iron Door Opener --- # --- Iron Door Opener ---
on right click on iron door: on right click on iron door:
@ -298,26 +389,65 @@ on right click on iron door:
on right click on iron door holding a iron door: on right click on iron door holding a iron door:
cancel the event cancel the event
# --- Sign Editor & Duplication Prevention --- # --- Lobby Time & Weather ---
on right click on sign: #at 18:00:
if player has permission "mirricraft.admin": # if "%event-world%" is "lobby":
if player can build at event-block: # set time to 7:00
if player is sneaking:
targeted block is a sign:
loop integers between 1 and 4:
set line loop-integer of targeted block to "Line %loop-integer%"
cancel the event
on right click on sign holding a sign: on weather change to rain or thunder:
cancel the event if "%event-world%" is "lobby":
cancel event
# ----------------------- #
# #
# MULTIVERSE #
# #
# ----------------------- #
command /hub:
description: Multiverse - Hub
executable by: players
trigger:
make player execute command "/mirricraft visit multiverse-hub"
stop
command /multiverse:
description: Multiverse
executable by: players
trigger:
make player execute command "/mirricraft visit multiverse"
stop
# --- World Title ---
on player world change:
if "%event-world%" is "hub":
send player title "&6HUB" for 5 seconds
else if "%event-world%" is "survival":
send player title "&6Survival" for 5 seconds
else if "%event-world%" is "survival_resources":
send player title "&6Survival - Resources" for 5 seconds
else if "%event-world%" is "survival_nether":
send player title "&6Survival - Nether" for 5 seconds
else if "%event-world%" is "survival_end":
send player title "&6Survival - End" for 5 seconds
else if "%event-world%" is "creative":
send player title "&6Creative" for 5 seconds
else if "%event-world%" is "skyblock":
send player title "&6SkyBlock" for 5 seconds
else if "%event-world%" is "skyblock_normal":
send player title "&6SkyBlock - Normal" for 5 seconds
else if "%event-world%" is "skyblock_nether":
send player title "&6SkyBlock - Nether" for 5 seconds
else if "%event-world%" is "skyblock_end":
send player title "&6SkyBlock - End" for 5 seconds
# --- Hub Time & Weather --- # --- Hub Time & Weather ---
at 18:00: at 18:00:
if "%event-world%" contains "hub": if "%event-world%" is "hub":
set time to 7:00 set time to 7:00
on weather change to rain or thunder: on weather change to rain or thunder:
if "%event-world%" contains "hub": if "%event-world%" is "hub":
cancel event cancel event
# --- Survival Event Block --- # --- Survival Event Block ---