#Map reset with SkBee's structure system
1 messages · Page 1 of 1 (latest)
best map reset is to just load the original version of the world
/reset
make new world from copy of original
teleport players to new world
change all your location variables world to the new world
delete old world
wouldnt that mess with my warps or make the players leave the server on reset?
I was assuming you were using skript for location stuff like warps
and no they wouldn't leave the server
you make the new world while they're in the old one then just teleport them to it
I havent done warps but I dont really know how to do that with skript and it not like lagging or crashing the server when resetting the map
this was from a while ago idk where the code is
warps with skript is very easy
you could keep the world name the same I think
that's the best way though it's very fast and no lag as you can see at the top
This is what I have so far for the skript, I was thinking of doing something like when the timer is 0 to load the map from a structure but I dont really know how to make it into a structure though
every 1 second:
add 1 to {timer_sec}
if {timer_sec} >= 60:
set {timer_sec} to 0
add 1 to {timer_min}
if {timer_min} >= 60:
set {timer_min} to 0
#the code u put here will proc every 1 hour
on join:
while player is online:
set title of player's scoreboard to "&x&C&6&0&8&F&B&lC&x&C&1&3&7&F&B&lo&x&B&C&6&6&F&C&ls&x&B&7&9&5&F&C&lm&x&B&2&C&4&F&D&lo&x&A&D&F&3&F&D&lB&x&8&A&E&4&F&B&lo&x&6&8&D&4&F&A&lx&x&4&5&C&5&F&8&lP&x&2&3&B&5&F&7&lv&x&0&0&A&6&F&5&lP"
set line 1 of player's scoreboard to "&bMap Reset In:&c %{timer_min}% m %{timer_sec}% s / 1 hour"
wait 1 second
its done with skbee right?
you can just do every hour btw
I think I used skript reflect for it, I didn't use skbee
I don't remember where the code is for it
yea but this is also the player's display to know when the map is cleared so id like it to stay precise ish
if you don't know how to do warps in skript then reflect would be too advanced