AnyReg - Respawns Everything
Description:
AnyReg mainly respawns mined clay blocks at a adjustable rate.
AnyReg initially was released as ClayReg, that only was able to respawn clay. For every block type different settings can be made. If the config can be precised which block respawns at which rate, with which percentage, which blocks can pe replaced by a respawning block and wether player placed blocks should respawn. Due to some blocks beeing very rare, it could be preferable to have regenerating these blocks.
E.g. respawning clay will replace air and water but nothing else so you can build on a claypit withhout getting blocks from the building replaced. Created clay blocks will be detected, so you can place new clay pits (or not depending of the config). Blocks destroyed with super pickaxe or WorldEdit/CuboidPlugin like editors won't respawn.
This also appies to AnyReg, unless AnyReg isn't limited to clay. Ideas for regenerating blocks:
I'm sorry for the short default config only containing clay and pumpkins, a larger version is comming with the regions update, that will propably crash the actual config.
Commands:
none
Configuration:
saveDelay Time in ms between two all block files save cycles in ms (0 to deactivate)
respawn Block ids of the blocks that are going to respawn
regDelay Timedelay between two regeneration cycles (in milliseconds)
regChance Chance of regenerating clay (0.1 means 10%)
useBlacklist Determines if placed blocks shall regenerate or be listed in the blacklist to not respawn. In case of not using the blacklist only natual ressources and admin placed blocks respawns
canReplace Blocks that can be replaced by a respawning block (0 is air)
Changelog/Downloads:
Source code is included
Future:
Database support
Known Bugs:
Only mine blocks in the first world on a multiworld server respawns
Screenshots:
none
Discussion:
ClayReg @ hMod Forums
AnyReg @ Bukkit Forums
Special Thanks:
to rayman86 for helping me with some hooks