I have no clue how to do this other than saving and exporting as a schematic then readding it where it originally was or zipping the world then extracting it later. I'd want this to be on a timer basis it would be really useful for making a build area or a pvp zone where people can build structures that get reset eventually. The full world reset would be useful for hosting UHCs and more. If someone actually makes this, thank you so much.
try telling us what you planned it to be used for and what features you need expect and wish to have partial reset will probably be harder then full reset
I'd want for build uhc because the issue is can't automatically reset the world after it. I'd want it to have a command like /worldreset worldname and a timer function /worldreset timer worldname hours/mins
I think it'd be easier to have this reset feature, coded within BuildUHC rather than having another plugin. Useless I am mistaken and there is no BuildUHC plugin.
No working BuildUHC plugin on api 11 mate, It would be nice if it were like made as something other plugins can easily reference to reset worlds because I'm sure it would make plugin development easier that way, like for mini games, for example the problem with the hungergames/skywars plugin for alpha 10 was that it didn't reset worlds https://github.com/InfinityGamers/HungerGames-UPDATED/issues/69
Unload the level without saving, then load it. $name is world name PHP: $this->getServer()->getLevelByName($name)->setAutoSave(false);$this->getServer()->unloadLevel($this->getServer()->getLevelByName($name),true);$this->getServer()->loadLevel($name);