Skip to content

Regions

Wertík edited this page Mar 12, 2025 · 9 revisions

Regions are areas in which blocks are regenerated according to presets.

If you want to use regions, make sure Use-Regions in Settings.yml is set to true.

Note that all manipulation with regions should be done in-game. Not through the Regions.yml file.

Create a region

World regions

If you want a whole world to be regenerated, you can create a region that spans the whole world. These regions can be configured like any other.

To create a world region /blockregen region world <name> <worldName>

Selected areas

Get a wooden axe. Just as you would with WorldEdit, select two positions with right / left click - two opposite corners of the area you would like to set up. You should see a message in chat telling you the exact coordinates. (requires permission blockregen.select)

Once you have your points selected, run command /blockregen region set <preset>, where instead of <preset> you should write the name of the region.

With WorldEdit

You can use the full selection utilities of WorldEdit (selection with wooden axe; expanding the selection, etc.), after you have a valid selection, run /blockregen region set <preset>. This creates a region from your WorldEdit selection.

Configuring the region

Now that you have created the region, it's time to configure what blocks should regenerate in it.

Region priorities

When regions are overlapping at the block that was broken a region with higher priority is preffered. If overlapping regions have the same priority, none knows which will be prioritized.

To set priority /blockregen region priority <name> <priority>

The all property

When a region has the all property set to true, all presets defined in Blocklist.yml work inside it.
To switch this mode on and off use the command /blockregen region all <region>.

Configuring presets

If the all property is switched off for a region it regenerates only according to presets it has added.

To add a preset run /blockregen region add <region> <preset>.
To remove it /blockregen region remove <region> <preset>.
To clear all presets /blockregen region clear <region>.
To copy presets from region to another /blockregen region <region-from> <region-to>.

Clone this wiki locally