Changelog
Changelog for AfkPond - Version 1.1X
New Features:
- New Command Added:
- Introduced
/afkpond reload
command, alongside the existing/pond reload
, for reloading the plugin configuration.
- Introduced
- Permission System:
- Implemented the
afkpond.reload
permission node, allowing only authorized players (default: OP) to reload the plugin configuration. Permission is defined inplugin.yml
.
- Implemented the
- BossBar Color Configuration:
- Added a new setting in
config.yml
for customizing the BossBar color. The color can be specified using standard BarColor values, such as BLUE, RED, GREEN, and others.
- Added a new setting in
Configuration Updates:
- Automatic Configuration Updates:
- Added a method to automatically update
config.yml
with new default settings if missing, ensuring users don't have to manually add them when updating the plugin.
- Added a method to automatically update
- Bypassing Essentials Conflicts:
- Updated item-related commands, such as giving experience bottles, to use the native Minecraft commands explicitly, avoiding conflicts with EssentialsX. For example, using
minecraft:give
instead of just/give
.
- Updated item-related commands, such as giving experience bottles, to use the native Minecraft commands explicitly, avoiding conflicts with EssentialsX. For example, using
Bug Fixes:
- Fixed Command Syntax Error:
- Resolved an issue where incomplete or incorrect item IDs in reward commands would trigger errors, especially when EssentialsX handled them.
Enhancements:
- Improved Error Handling:
- Added logging for invalid BossBar color configurations, with a fallback to "BLUE" if an invalid color is provided.
- Code Optimization:
- Refactored the
onCommand
method to support multiple commands cleanly and ensure proper permission checks.
- Refactored the
Files
afkpond-1.1.jar(12.32 KiB) Primary Download