HomeJavaModsZoneRestorer
ZoneRestorer
ModsJava

ZoneRestorer

Discord support server : ZoneRestorer ​ What if you could save any part of your server worlds without any lag and reload them after ? ZoneRestorer allows…

⬇ Download on Spigot
Discord support server : https://discord.gg/bNNWBnk

ZoneRestorer

What if you could save any part of your server worlds without any lag and reload them after ?

ZoneRestorer
allows you to save zones of any size in local files asynchronously which means that it won't cause the server clock to wait for the operation to proceed !
You will then be able to load the zones from a command or using a time interval defined in a schedule !

Video tutorial (by FuzzyM0nst3r) :


Operation principle :

-In order to deal with ZoneRestorer , you need to own the zonerestorer.admin permission.
-Then, you have three options to save a zone :

-Execute " /zonerestorer savezone name x1 y1 z1 x2 y2 z2 [world_name] " (last parameter is not required if you execute the command as a player in a loaded world (but you can chose another world)).

OR

-Execute " /zonerestorer savetool " to give you the Save Tool . With the Save Tool in hand, right click to define the zone corners . Then you will be asked in chat to input the zone name.

OR

-Execute " /zonerestorer zonegui world_name x z " to use a gui ( ZoneGUI ) representing the map on which you can trace and save zones easily ! NOTE : Only works if you host the server locally !

This will write zone data in a local file .

Command way :

-Execute " /zonerestorer loadzone name include/exclude [block_material_1] [block_material_2] ... [block_material_N] ". This will read information contained in the specified file name and load zone dat a. You can chose to only reload certain blocks .

Schedule way :

-Execute " /zonerestorer schedulezone name time repeat include/exclude [block_material_1] [block_material_2] ... [block_material_N] " with time the interval of time to reload the zone defined as [value][unit] (units are " s "," m "," h "," d "," w ") and repeat a boolean ( true / false ) that defines whether you want the task to repeat or no . You can chose to only reload certain blocks.
Ex: /schedulezone my_zone 10s true include tnt stone dirt sand .​
This will define a "reload task" that will be executed when the interval is reached. Note that repeating tasks are also being saved and that they restart with the server !
-Execute " /zonerestorer unschedulezone name " to remove all tasks associated with the zone .

Commands :

/zr savezone name x1 y1 z1 x2 y2 z2 world_name : Saves the defined zone in a local file.
/zr loadzone name include/exclude [block_material_1] [block_material_2] ... [block_material_N] : Loads the specified zone from a local file.
/zr listzones : Lists all saved zones.
/zr zoneconfig load/reset : Loads/resets config file.
/zr removezone name : Removes a saved zone.
/zr savetool : Gives you an item to define zones to save.
/zr schedulezone name time repeat include/exclude [block_material_1] [block_material_2] ... [block_material_N] : Allows to schedule a reload of a saved zone.
/zr unschedulezone name : Stops a saved zone to reload.
/zr zonetp name x y z : Sets a teleport location for players entering the zone.
/zr convertzone name/all version : Converts zone save file into another version.
/zr zonegui world_name x z : Opens a GUI to manage zones (console only).

Configuration file
( config.yml ) :

block_packet_size
: For players since 1.14, the amount of blocks to be treated at a time by "fake async" process.
reload_delay : For players since 1.14, the delay between two block packets being loaded/saved by "fake async" process.
display_zone_message : Whether a player entering a zone will get told of it in chat.
frame_zone : Should a zone being saved with the Save Tool be framed with red glass blocks.
clean_items : Should items be removed when zone is reloading.

In-game pictures
:

[​IMG]

After an explosion, before reloading

[​IMG]

After reloading

2020-06-27_18.27.00-min.png

Defining a zone with the Save Tool

zonegui.PNG

Defining a zone with ZoneGUI

I am open to any improvement proposal for a future update and
feel free to support me via the donation link .
Thank you for not judging me on my english level and I hope you will enjoy this tool designed for you !

Please follow me on twitter to be aware of new content creation : https://twitter.com/DinerHell?s=09

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ZoneRestorer is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,077 times (via Spigot). Download it and open it directly in the game.

Explore more