BlockRegen v1.9 - The Integration & Control Update This update brings significant improvements to MMOCore integration, adds a powerful new WorldGuard feature, and enhances overall stability.
✨ New Features
MMOCore Profession Experience: You can now grant MMOCore profession experience when a player breaks a configured block. Simply add a mmocore-exp section to any block in blocks.yml to define which professions receive experience and how much.
Example:
DIAMOND_ORE: # ... other settings mmocore-exp: mining: 15 # Grants 15 EXP to the 'mining' profession woodcutting: 5
WorldGuard Deny Region Override: A new option, break-regen-in-deny-regions, has been added to config.yml. When enabled (true), it allows players to break blocks configured in blocks.yml even inside a WorldGuard region where the block-break flag is set to deny. This is perfect for protecting an area while still allowing designated blocks to be farmed or mined.
MMOCore Integration Toggle: A new enabled option has been added under the mmocore section in config.yml. This allows server owners to easily enable or disable the MMOCore integration without removing their configurations.
️ Fixes & Improvements
Fixed MMOCore Integration: Completely overhauled the MMOCore experience handling. The plugin now uses the correct, up-to-date API methods (PlayerData -> PlayerProfessions -> giveExperience) to grant profession experience. This resolves previous errors, ensures stable integration, and guarantees experience is awarded correctly.
Improved API Alignment: The internal code has been updated to better align with the latest MMOCore API structure, improving long-term stability and forward compatibility with future MMOCore updates.