#Map reset with SkBee's structure system

1 messages · Page 1 of 1 (latest)

twilit hull
#

I cant find anything on how to create a structure with SkBees, on the documents it says to go in the world's main folder, /generated/skbee/structures/ but i cant find the "generateed"

hardy acorn
#

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

twilit hull
hardy acorn
#

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

twilit hull
hardy acorn
#

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

twilit hull
#

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

hardy acorn
#

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

twilit hull
hardy acorn
#

if you don't know how to do warps in skript then reflect would be too advanced

twilit hull
#

I think I figured it out

#

1 sec ill try it

#

okay yea i got warps working