Map reset after server restart

einsReplex

New Member
Hey :)
I would like to know how to program a map reset, the map reset should be done if you know, for example, if blocks that do not belong to the map, or if the map has been broken simply to the point as it was at the beginning.

Maybe you can help me :)

Would be cool
 

Joshua CC

Member
you make a back ups for the worlds to a backup folder if it doesn't exist, then if you want to reset it, just copy all the files from the backup world you did to the current world folder where your world is located

(Worlds/Map-1 -> Backup Worlds/Map1) - copy files from folder if backup doesn't exist
(Backup Worlds/Map-1 -> Worlds/Map-1) - unload the world first, copy it, then load it again
 
Top