DAUtils is a Bukkit plugin for Minecraft servers that implements a block regeneration system, allowing specific blocks marked with the DAUtilsRegenBlock lore tag to regenerate after being broken. This plugin is designed to offer flexible management of renewable resources, supporting both Minecraft vanilla blocks and modded blocks. It includes features such as data persistence via a JSON file, management of the tools needed to break blocks, custom drops, and tool wear enforcement. An OP-only command, /dasl <block>, creates regenerable blocks. The plugin is ideal for servers wishing to offer renewable resources with precise, configurable mechanics.
commands : /dasl <block> | /darl (reload plugin)
example: /dasl iceandfire:silver_ore (give you 1 block of silver_ore of the mod iceandfire )
(You can use for vanilla block and modded block !!!)
Details on the config.yml file
The config.yml file is at the heart of DAUtils plugin customization. It allows server administrators to configure several aspects of regenerative block behavior. Here is a detailed explanation of the sections and parameters available:
This section defines the time (in minutes) required for a broken block to regenerate to its original state.
Key: The block name in the form namespace:block (e.g. minecraft:diamond_ore for vanilla blocks, or modid:custom_block for modded blocks).
Default value: 180 minutes (3 hours) if not specified.
regen-times:
minecraft:diamond_ore: 120
minecraft:iron_ore: 60
modid:custom_ore: 240
durability-cost:
minecraft:diamond_ore: 3
minecraft:iron_ore: 2
modid:custom_ore: 5
mod-tools:
modid:custom_ore: modid:custom_pickaxe
mod-drops:
modid:custom_ore: modid:custom_ingot