AutoRegen - Block Regeneration Plugin AutoRegen is a powerful plugin for Minecraft 1.18+ that regenerates destroyed blocks automatically. It’s designed to be efficient and customizable, making it perfect for any type of server, from survival to adventure maps and creative worlds.
Features
Automatic Block Regeneration: Restores broken blocks seamlessly with adjustable timing.
High Performance: Optimized for smooth operation, even on large-scale servers.
Customizable Behavior: Fully configurable to suit different server setups.
Block and World Filters: Choose which blocks or worlds are affected by regeneration.
Error Handling: Define how the plugin reacts to errors to ensure server stability.
Configuration Below is the default config.yml file for AutoRegen. Adjust it to customize how the plugin works on your server:
Code (YAML):
# If you want to check out my other plugins # see them on my SpigotMC profile # https://www.spigotmc.org/members/mzyt.1174097/ regenerateDelay: 100
# Delay in ticks between each regeneration is_enabled: true
# Enable or disable the plugin
# Behavior on error: # - "ONLYLOG" - Only log the error # - "DISABLE" - Log and disable the plugin # - "STOP" - Log and stop the server # default: "STOP" behavior_on_error: "STOP"
# List of blocks that can be regenerated # If empty, all blocks will be regenerated blocks_whitelist: # - "STONE" # - "DIRT"
# List of blocks that cannot be regenerated # If empty, no blocks will be excluded blocks_blacklist: # - "BEDROCK" # - "DIAMOND_ORE"
# List of worlds where blocks can be regenerated # If empty, all worlds will be regenerated worlds_whitelist: # - "world" # - "world_nether" # - "world_the_end"
# List of worlds where blocks cannot be regenerated # If empty, no worlds will be excluded worlds_blacklist: # - "world" # - "world_nether" # - "world_the_end" messages:
prefix: "<red>AutoRegen <restart>" noPermission: "&cYou do not have permission to use this command." reloaded: "&aConfiguration reloaded."
⚙️ Key Configuration Options
regenerateDelay Controls the delay (in ticks) between each regeneration event.
Default: 100
Example: Set to 50 for faster regeneration or 200 for slower.
is_enabled Globally enables or disables the plugin.
Default: true.
behavior_on_error Determines how the plugin handles errors:
ONLYLOG: Logs the error but keeps running.
DISABLE: Logs the error and disables the plugin.
STOP: Logs the error and stops the server.
Default: "STOP".
blocks_whitelist / blocks_blacklist Specify which blocks should or should not regenerate.
If both are empty, all blocks will regenerate.
worlds_whitelist / worlds_blacklist Define which worlds are included or excluded from regeneration.
If both are empty, all worlds are included.
messages Customize in-game messages, such as plugin notifications and error messages.
️ Commands
/autoregenreload Reloads the plugin’s configuration without requiring a server restart.
Permissions
autoregen.reload Grants permission to reload the plugin’s configuration.
️ Use Cases
Grief Recovery: Automatically restore damaged areas to keep your world looking pristine.
Cash Gen Server: Regenerate destroyed blocks after some time.
Creative Servers: Allow players to experiment without permanently altering the environment.
Getting Started
Download the plugin and place it in your server’s plugins folder.
Start your server to generate the default config.yml.
Adjust the configuration file as needed.
Restart or use /autoregen reload to apply your changes.