⭕ BlockRegen [1.20 - 1.21+] - FREE Block Regeneration & Mining Plugin | Items Adder Support ✨ icon

⭕ BlockRegen [1.20 - 1.21+] - FREE Block Regeneration & Mining Plugin | Items Adder Support ✨ -----

BlockRegen – Automatic Block Regeneration & Farming System for Minecraft Servers



BlockRegen - 1.7
BlockRegen v1.7 - Commands on Custom Drop

This update introduces a highly requested feature that adds a new layer of customization to your server's economy and reward systems: Per-Drop Command Execution.

✨ New Features
Per-Drop Command Execution
You can now add a commands section directly inside a custom-drop configuration in your blocks.yml. These commands will only execute when that specific drop is successfully rolled (based on its chance) and given to the player.

This powerful feature allows you to:
  • Grant players money, points, or temporary permissions for finding rare items.

  • Broadcast a server-wide message when a legendary item is discovered.

  • Trigger custom events, particle effects, or sounds specific to a drop.

  • Create more engaging and rewarding mining experiences.
Example Configuration:

Code (Text):
custom-drops:
  netherite_scrap_drop:
   chance: 50.0
   amount: '1'
   material: NETHERITE_SCRAP
   name: '&d&lMystical Scrap'
   # NEW: Commands are executed only when this specific drop is successful.
   commands:
     - '[PLAYER] msg %player% &dYou found a Mystical Scrap!'
     - '[CONSOLE] lp user %player% permission settemp lucky.scrap true 5m'

  itemsadder_ancient_relic:
   chance: 5.0
   material: 'itemsadder:ancient_relic'
   # Different commands for a different drop!
   commands:
     - '[CONSOLE] eco give %player% 1000'
     - '[CONSOLE] broadcast &e%player% &6has found an &eAncient Relic!'
Improvements
  • Refactored Drop Logic: The internal logic for handling block drops has been significantly refactored for better performance and reliability. This ensures that both items and their newly associated commands are processed correctly and efficiently.

  • Modular Code Structure: Item creation and command execution logic have been made more modular, improving code clarity and making future updates easier to implement.
How to Update
  1. Replace the JAR File: Simply replace your old BlockRegen.jar with the new v1.7 file in your plugins folder.

  2. Configuration is Compatible: Your existing config.yml, regions.yml, and blocks.yml are fully compatible.

  3. Use the New Feature: To use per-drop commands, simply add a commands: list to any of your existing custom-drops as shown in the example above.

  4. Restart Your Server: It is highly recommended to perform a full server restart to ensure all changes are loaded correctly. Avoid using /reload.
----------, Aug 31, 2025
Resource Information
Author:
----------
Total Downloads: 184
First Release: Aug 19, 2025
Last Update: Oct 6, 2025
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings