Mineuniverse
Log in Register
Plugins

RestoreNature

A auto regen of the world
by _ForgeUser13360719
Download Claim this project
915 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Mechanics World Editing and Management World Generators

Logo

Do you have a server running stably but the resources were gone, leaving no trees, mines for newbies to gather or discover?

This plugin would help you to restore those resources without eliminating players lands!

Your potential performance and memory issue :

1. Not enough power of CPU? Performance could be tuned to fit the server's computing power. (Check Install Steps-2 Carefully.)

2. You might be afraid of all the chunks tasks will freeze or use up your memory. 2-1 : Freeze issue? Don't worry. This plugin will cut the tasks into tiny pieces for your server to consume. 2-2 : Memory issue? Not a problem either. This plugin will have a maximum task queue. It will drop the upcoming tasks if the queue is temporarily filled.

3. The progress will be saved in restorenature/world_chunk_info/... You are free to stop the server and proceed the progress at any time :)

========================================​

Dependency:

0. This plugin compiled in Java 8.

1. Factions

2. Multiverse (You need this to generate the copy world if needed.)

========================================​

Install Steps: 1. Create the world you want to use as backup. The backup world is assigned by the world's suffix. _restorenature For example : Run commands /mv create world_name_restorenature ...

2. Read this CAREFULLY:

Unzip and open, edit and config.yml file

version: 1.0.0

  1. Nothing. Just ignore it.

MAX_SECONDS_UNTOUCHED: 864000

  1. How many seconds the chunks will be restored after no one break/place the block.

CHECK_PERIOD_IN_SECONDS: 3600

  1. In how many seconds should one round of checkup routines loops once
  2. Better be set up to 12 hours if you got a 6000x6000 worlds.

RESTORING_PERIOD_PER_CHUNK_IN_SECONDS: 2

  1. Every X seconds will restore a chunk.
  2. If the server is not lagging. Set to 1 if you want. Only accept integer.

In the following json structure : WORLDS_INFO: { "maintained_worlds":[ { "world_name":"my_cool_world", "check_radius":"200", "nature_factions":[ { "faction_name":"Wilderness" }, { "faction_name":"some_resource_area_faction" } ] }, { "world_name":"my_wrecked_nether", "check_radius":"200", "nature_factions":[] } ] }

  1. world_name : The name in /mstore/factions_faction/xxx.json file. { "name": "Wilderness", ... } NOT the .json file's name.
  1. Check_raduis : 1 chunk = 16x16, Count your chunk radius.
  2. If say you have a world 160x160. "check_radius" should be 10.
  3. "check_radius" must >=5.
  4. If you change "check_radius", you must manually delete the .chunkinfo file in worlds_chunk_info/
  1. nature_factions : The factions that be regarded as wilderness.
  2. Note that if "nature_factions" : [] is set. This means that all the faction check-out is cancel. All the chunks will be restored only depends on the untouched time.

The above case study: In world : "my_cool_world", my plugin will check whether the chunk is own by "Wilderness", or "some_resource_area_faction". If it is true, it will further check it has been untouched (blocks inside being broken, placed, interacted) for a configurable MAX_UNTOUCHED_TIME. Also, there is a configurable radius. Outside this range, the plugin would check the untouched time.

And if both conditions pass, the plugin will restore the chunk by : Copying chunk at the same coordinates from world "my_cool_world_restorenature". You have to manually create that world first. It is done by a duplication because you might want to restore instead by "map regeneration" but a customized map.

And if in your server, worlds like nether, or the_end is not claimable. So there would be no "Wilderness" factions to checks. In this situations, just leave the "nature_factions": [], with a empty array.

With this mechanism, your world would not be accidentally restore because the restore processes would not be done by default. Only if they pass the factions name checks. No false positive situations that restore users factions land.

3. Run the Server.

4.(Optional) If you are not confident enough to run it directly. Just use a check_radius = 5 for the test world. And set MAX_SECONDS_UNTOUCHED: 10 CHECK_PERIOD_IN_SECONDS: 10 RESTORING_PERIOD_PER_CHUNK_IN_SECONDS: 1

========================================​

Future plans : current progress :

1. More land claim plugins checks : Griefprevetion API. And the exempt players land 2. More land claim plugins checks : WorldGuard API. And the exempt region 2. More land claim plugins checks : Towny API. And the exempt Towny area

RestoreNature 1.0.0b
MC 1.9
Release 2016-04-07 Get
RestoreNature 1.0.0
MC 1.9
Release 2016-04-06 Get

More from _ForgeUser13360719

Falloutcraft
5,905

You Might Also Like

WorldeditRegions: WorldEdit addon.
Allows you to worldedit only in regions you own.
95,989
FastAsyncVoxelSniper
Terrain creation ingame using 3D brushes
81,988
KFactions
Highly customizable land management for players.
81,391
Democracy
Democracy
9,618
Timber - The Original
Chopping trees easily.
9,186
VineControl
controlling vine length and growth in various ways
9,110