-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
The plugin uses a YAML configuration file to define regeneration settings for multiple worlds and regions. The configuration file consists of the following sections:
-
enabled: Enables or disables debug mode.
-
world: The world name with its own regeneration settings.-
enabled: Set totrue/falseto enable/disable this world from regeneration -
regen-time: Sets the regeneration time (in ticks) for the entire world. -
delay: Sets the delay (in ticks) before starting the regeneration task for the entire world. -
regions: Defines regions within the world with their own regeneration settings.
-
-
region: The region name with its own regeneration settings.-
enabled: Set totrue/falseto enable/disable this region from regeneration -
regen-time: Sets the regeneration time (in ticks) for the region. -
delay: Sets the delay (in ticks) before starting the regeneration task for the region.
-
-
blacklisted-blocks:: A list of blocks to exclude from the regeneration process. -
whitelisted-blocks:: A list of blocks to include in the regeneration process.
Replace my_world with your world name.
enabled: Set to true to enable regeneration for this world, or false to disable it.
regen-time: Sets the regeneration time (in ticks) for the entire world.
delay: Sets the delay (in ticks) before starting the regeneration task for the entire world.
blacklisted-blocks: A list of blocks to exclude from the regeneration process. In this example, STONE blocks will not be regenerated.
whitelisted-blocks: A list of blocks to include in the regeneration process. In this example, no blocks are whitelisted, so all blocks except STONE will be regenerated.
my_world:
enabled: true
regen-time: 10
delay: 2
blacklisted-blocks:
- STONE
whitelisted-blocks: {} # Use `{}` if you dont want to include blocksReplace my_world with your world name.
Replace region1 with your worldguard region name.
Replace region2 with your worldguard region name.
If my_world enabled set to false both regions and the world will not regenerate.
If enabled set to false the region will not regenerate.
regen-time: Sets the regeneration time (in ticks) for the region.
delay: Sets the delay (in ticks) before starting the regeneration task for the region.
blacklisted-blocks: A list of blocks to exclude from the regeneration process.
whitelisted-blocks: A list of blocks to include in the regeneration process. In this example, only STONE blocks will be regenerated.
my_world:
enabled: true
regions:
region1:
enabled: true
regen-time: 10
delay: 2
blacklisted-blocks: {} # Use `{}` if you dont want to include blocks
whitelisted-blocks:
- STONE
region2:
enabled: true
regen-time: 5
delay: 1