Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for RICE0707

Automatically regenerate chunks left unvisited by players for extended periods.

Report NatureRevive-Brilliant?

R

2.4.0

After a Minecraft update, chunks generated on an older version never get the new biomes and structures. The new /nr regenfeatures command predicts where the current world generator would place them, compares that with the saved chunks, and regenerates only the chunks that are missing them. Supports 1.17 - 26.3.

  • /nr regenfeatures scan [world] [radius] finds the chunks, without changing the world.
  • /nr regenfeatures confirm starts regenerating within 10 minutes of the scan, only by the sender who ran it.
  • /nr regenfeatures status shows the progress, /nr regenfeatures cancel stops it.
  • Permission: naturerevive.regenfeatures, op by default.

Any configured entry that matches no biome or structure stops the scan, so typos are caught early. Worlds with a custom generator are refused. Chunks waiting for regular regeneration, chunks near online players and claimed chunks are skipped. With strict mode, claimed chunks are regenerated but the blocks inside the claims are kept. Work pauses automatically when the TPS drops, and every regenerated chunk is logged under plugins/NatureRevive/logs/.

On 1.21+ chunks are generated in 16x16 tiles with the built-in engine, which also updates the chunk's structure records. Below 1.21, chunks are regenerated one by one with regeneration.engine and their structure records are not updated, so a later scan may find the same structure again.

Thanks to #17 for stopping the average strategy from loading chunks during its checks. We also made the average check radius symmetric, stopped one failed lookup from aborting the whole pass, and moved SQL lookups off the main thread.

This also introduces new configuration options:

feature-regeneration:
  # Biomes that /nr regenfeatures should add. The scan looks for chunks that the current world generator
  # would give one of these biomes but whose saved data does not have it.
  # Accepts full IDs (minecraft:dappled_forest), wildcards (minecraft:*_forest) or tags (#minecraft:is_forest).
  # Leave empty to skip the biome check.
  biomes:
  - minecraft:dappled_forest
  # Structures that /nr regenfeatures should add. Same format as biomes; leave empty to skip the structure check.
  # Biomes and structures together may resolve to at most 64 entries.
  # Version notes: tags need 1.18.2+; strongholds cannot be predicted on 1.17 - 1.18.1; below 1.21 chunks are
  # regenerated one by one with regeneration.engine and their structure records are not updated, so later scans
  # may find the same structure again.
  structures:
  - minecraft:abandoned_camp_*
  # Worlds allowed for /nr regenfeatures. Empty means every world; world-list.blacklist and whitelist still apply.
  worlds: []
  # Dimensions allowed for /nr regenfeatures: normal, nether and/or the_end.
  dimensions:
  - normal
  - nether
  - the_end
  # Scan range in blocks, measured as a square around the world border centre. 0 means the whole world border.
  # Can be overridden per scan, e.g. /nr regenfeatures scan world 2000.
  radius: 0
  # The largest area (in chunks) a single scan may cover. Larger scans are refused;
  # shrink the world border or the radius. The default is roughly 64000 x 64000 blocks.
  max-scan-chunks: 16000000
  # Skip chunks that NatureRevive is already tracking for regular regeneration (usually places players changed).
  # They will receive the new terrain when they regenerate normally, so they are skipped by default.
  skip-tracked-chunks: true
  # Chunks within this many chunks of an online player are skipped, so nobody gets buried by the new terrain.
  # Skipped chunks are found again by the next scan. Set to -1 to disable.
  skip-near-players-radius: 2
  # Pause while the TPS is below this value and resume automatically once it recovers.
  min-tps: 15.0
  # Threads used for scanning and generating. 0 means automatic (a quarter of the CPU cores, at least 1).
  # Higher is faster but uses more CPU.
  threads: 0
  # On non-Folia servers, the most milliseconds per tick spent writing generated chunks back into the world.
  # Higher is faster but more likely to cause lag spikes.
  apply-budget-ms: 25

Important Notes

  • Always back up your database and map files before updating NatureRevive.
  • Always back up your map files before running /nr regenfeatures confirm. Regenerated chunks lose everything players built in them.
  • Although we have made every effort to ensure full compatibility with claim and spawn plugins, please make sure to back up your map files prior to updating.
  • If you need to use FastAsyncWorldEdit, we recommend using this optimized fork

Information

Published
December 3, 2026
Author
0Downloads

Platforms

Paper
Paper
1.17–26.3

Dependencies

PaperPaper

Dependencies: Paper

Plugins and libraries a server needs for this version to run.

No dependencies

Add anything a server has to install alongside this version.