RegenBlocks - Advanced Block Regeneration System
Description
RegenBlocks is a powerful and flexible plugin that automatically regenerates blocks within specified WorldGuard regions. Perfect for resource worlds, mining areas, and custom game modes where you want resources to replenish over time.
✨ Key Features
- Region-Based Control: Define specific WorldGuard regions for block regeneration
- Multiple Block Types: Support for any block type including ores, logs, and more
- Customizable Regeneration:
» Set minimum and maximum regeneration times
» Configure replacement blocks (e.g., ores to bedrock/air)
» Control minimum and maximum reward amounts
- Visual Effects:
» Customizable particle effects when blocks regenerate
» Adjust particle count and type
» Variable amounts for drops
- Flexible Rewards:
» Material-based rewards
» Command-based rewards with placeholders
» Variable amounts for drops
️ Configuration
- Easy-to-use YAML configuration
- Fully customizable messages
- Per-block type settings
- Multiple region support per block
Requirements
- Spigot/Paper 1.19+
- WorldGuard (Optional, if you want region based regen blocks)
- WorldEdit (Don't how you are gonna select and define regions otherwise.)
Installation
- Stop your server
- Drop the RegenBlocks.jar into your plugins folder and start your server
- Configure the plugin in plugins/RegenBlocks/config.yml
- Use /rb reload to apply changes - (if the /rb reload does not save changes from the config.yml, stop the server first, make your changes and then start your server!)
Basic Commands
- /rb help - Shows help menu
- /rb reload - Reloads the plugin configuration
- /rb list - View and edit all regen blocks - Toggle edit mode through a menu.
- /rb editblock <type> - Toggle edit mode on/off
- /rb remove - Remove a regen block (you need to look at one!)
- *Register blocks in a WorldGuard region
Support
If you encounter any issues or need assistance:
- Join our Discord!
⚠️ Important Notes
- Not tested on versions below 1.19
- Best performance on Paper servers
- Some features may not work correctly on older versions
- Always use the latest version of WorldGuard and WorldEdit
Permissions
- regenblocks.admin - Access to all commands
- regenblocks.edit - Edit block locations
- regenblocks.reload - Reload configuration
✅ Supported Versions
Requirements
- Server Software: Spigot or Paper
- Dependencies: WorldGuard, WorldEdit) (Optional, but you can select regions and add your block type to regenerate within a certain region)
⚠️ Important Notes
- Not tested on versions below 1.19
- Best performance on Paper servers
- Some features may not work correctly on older versions
- Always use the latest version of WorldGuard and WorldEdit if possible.
Code (YAML):
regenblocks:
emerald:
name
:
"Emerald"
material
: EMERALD_ORE
setMaterial
: STONE
minRegenTime
: 30
# 30 seconds
maxRegenTime
: 60
# 1 minute
minAmount
: 1
maxAmount
: 1
particle
: END_ROD
particleCount
: 10
regions:
'1':
world
:
"world"
region
:
"emerald_zone1"
'2':
world
:
"world"
region
:
"emerald_zone2"
material-rewards
:
- EMERALD_ORE
diamond:
name
: Diamond
material
: DIAMOND_ORE
minAmount
: 1
maxAmount
: 1
minRegenTime
: 75000
maxRegenTime
: 150000
setMaterial
: BEDROCK
particle
: END_ROD
particleCount
: 20
command-rewards
:
-
"minecraft:give %player% diamond %amount%"
Code (YAML):
# RegenBlocks Messages Configuration
# Supports both & color codes and hex colors (#RRGGBB)
prefix
:
"#ffd700&lRegenBlocks #666666»#ffffff "
commands:
errors:
player-only
:
"#ff6b6b&l✖ #ff8787This command can only be used by players!"
no-permission
:
"#ff6b6b&l✖ #ff8787You don't have permission to use this command!"
invalid-type
:
"#ff6b6b&l✖ #ff8787Invalid block type: #ffa500{type}"
usage:
editblock
:
"#ff6b6b&l✖ #ff8787Usage: #ffa500/rb editblock <type>"
addregion
:
"#ff6b6b&l✖ #ff8787Usage: #ffa500/rb addregion <type> <region>"
editregion
:
"#ff6b6b&l✖ #ff8787Usage: #ffa500/rb editregion <type> <region>"
edit-mode:
enabled
:
"#69db7c&l✔ #a9e34bEdit mode enabled for #ffd700{type}#a9e34b!"
disabled
:
"#ff6b6b&l✖ #ff8787Edit mode disabled for #ffa500{type}#ff8787!"
region-enabled
:
"#69db7c&l✔ #a9e34bEdit mode enabled for #ffd700{type}#a9e34b in region #ffd700{region}#a9e34b!"
region-disabled
:
"#ff6b6b&l✖ #ff8787Edit mode disabled for #ffa500{type}#ff8787 in region #ffa500{region}#ff8787!"
region:
added
:
"#69db7c&l✔ #a9e34bRegistered region #ffd700'{region}'#a9e34b for #ffd700{type}#a9e34b!"
not-found
:
"#ff6b6b&l✖ #ff8787Region #ffa500'{region}'#ff8787 not found!"
processing
:
"#666666Processing region #ffd700'{region}'#666666..."
complete
:
"#69db7c&l✔ #a9e34bFinished processing region #ffd700'{region}'#a9e4b! Found #ffd700{count}#a9e34b blocks."
progress
:
"#666666Region processing: #ffd700{progress}"
invalid-type
:
"#ff6b6b&l✖ #ff8787Invalid block type: #ffa500{type}"
help:
header
:
"#666666═══ #ffd700&lRegenBlocks Help #666666═══"
footer
:
"#666666════════════════════"
editblock
:
"#ffd700/rb editblock <type> #666666- #a6a6a6Toggle edit mode for placing blocks"
remove
:
"#ffd700/rb remove #666666- #a6a6a6Remove a regen block you're looking at"
reload
:
"#ffd700/rb reload #666666- #a6a6a6Reload the plugin configuration"
addregion
:
"#ffd700/rb addregion <type> <region> #666666- #a6a6a6Register blocks in a WorldGuard region"
list
:
"#ffd700/rb list #666666- #a6a6a6View and edit all regen blocks"
blocks:
actions:
place
:
"#69db7c&l✔ #a9e34bPlaced #ffd700{blockType} #a9e34bat #ffd700{x}#a9e34b,#ffd700{y}#a9e34b,#ffd700{z}"
break
:
"#69db7c&l✔ #a9e34bBroke #ffd700{blockType} #a9e34bat #ffd700{x}#a9e34b,#ffd700{y}#a9e34b,#ffd700{z}"
remove
:
"#69db7c&l✔ #a9e34bRemoved #ffd700{blockType} #a9e34bat #ffd700{x}#a9e34b,#ffd700{y}#a9e34b,#ffd700{z}"
errors:
cannot-place
:
"#ff6b6b&l✖ #ff8787You cannot place blocks here!"
cannot-break
:
"#ff6b6b&l✖ #ff8787You cannot break this block!"
invalid-type
:
"#ff6b6b&l✖ #ff8787This is not a valid regen block type!"
not-found
:
"#ff6b6b&l✖ #ff8787No regen block found at this location!"
exists
:
"#ff6b6b&l✖ #ff8787A regen block already exists at this location!"
plugin:
status:
enabled
:
"#69db7c&l✔ #a9e34bPlugin enabled successfully!"
disabled
:
"#ff6b6b&l✖ #ff8787Plugin disabled successfully!"
reload:
start
:
"#ffd700&lReloading #666666» #a9e34bStarting plugin reload..."
data
:
"#ffd700&lReloading #666666» #a9e34bSaving current data..."
config
:
"#ffd700&lReloading #666666» #a9e34bReloading configuration..."
complete
:
"#69db7c&l✔ #a9e34bReload complete! #666666(Took #ffd700{time}ms#666666)"
performance:
warning
:
"#ff6b6b&l⚠ #ff8787Performance Warning: #ffd700{locations} #ff8787locations, #ffd700{chunks} #ff8787chunks, #ffd700{updates} #ff8787pending updates"
cleanup
:
"#666666Cleaning up: Removed #ffd700{invalid} #666666invalid locations, #ffd700{chunks} #666666empty chunks"
regions:
processing
:
"#666666Processing region #ffd700'{region}'#666666..."
complete
:
"#69db7c&l✔ #a9e34bFinished processing region #ffd700'{region}'#a9e34b! Found #ffd700{count}#a9e34b blocks."
progress
:
"#666666Region processing: #ffd700{progress}#666666"
reload
:
"#69db7c&l✔ #a9e34bConfiguration reloaded successfully!"
Coming Soon
- More customization options, hopefully with oraxen and itemsadder.