AuthBB v1.4 - The Refactor & Stability Update
This is an update that completely overhauls the plugin's internal architecture to be more robust, stable, and user-friendly. Almost every part of the plugin has been rewritten to ensure maximum compatibility and performance.
Major Features & Changes
- New Command System: All commands are now consolidated under
/authbb
(with alias/abb
) to prevent conflicts with BungeeCord/Velocity's default commands./authbb server <server>
/authbb send <player> <server>
- Reload Command: You can now reload the entire plugin configuration on the fly using
/authbb reload
. - Intelligent Proxy Detection:
- The plugin now automatically detects both BungeeCord and Velocity environments.
- It will warn you about critical misconfigurations (e.g., enabling both at once).
- A new
force-proxy: true
option has been added to theconfig.yml
to bypass checks for unsupported proxy setups.
- Automatic Update Checker: Admins will be notified in-game and in the console when a new version of AuthBB is available.
- Automatic Config Updater: When you update the plugin, it will now automatically add new settings to your existing
config.yml
without overwriting your changes.
Architectural Improvements (Under the Hood)
- Full Refactor to Dependency Injection: The plugin's core has been rewritten to eliminate static abuse, making the code more modular, maintainable, and testable.
- Broad Version Compatibility: The plugin is now compiled to support all server versions from 1.16.5 to 1.21+.
- Message Caching: All messages from the
config.yml
are now cached on startup to improve performance. - Improved Permission Hierarchy: A new parent permission
AuthBB.admin
has been added to grant access to all administrative commands at once.
Bug Fixes & Stability
- Title System Fixed: Reverted the title system back to the universally compatible legacy Bukkit API, fixing the issue where titles would not appear on some server versions.
- Persistent Invisibility Fixed: Corrected a logic error that caused the
makeInvisible
effect to sometimes persist on players after they logged out or after the config was changed. - Reload Functionality Fixed: The
disableChat
andteleport-on-join
settings now correctly update after using the reload command. - AuthMe Dependency Check: The check for AuthMe is now performed correctly at startup, preventing
NoClassDefFoundError
crashes if AuthMe is not installed. - Cleaned Config: Removed several unused messages from
config.yml
and reorganized it for better clarity.
Multiple Lobby Configuration Added
- You can now add extra lobby servers in the config file.
- AuthBB will randomly send players to one of the configured servers.
- It checks your proxy setup, and if you’ve listed an invalid server, you’ll see an error in the chat and console.
- The tab completion for
/server
and/send
commands updates automatically based on your server list. - Please let me know if there are any problems or bugs with the plugin so I can fix them.
Configuration File Tweaks
- I’ve made some minor changes to the config file for better readability. Most features are off by default, so be sure to turn on the ones you need.
Bug Fixes
- Fixed a bug where other players were redirected when someone logs in or uses the server command.
- Removed some unnecessary lines.
Full Changelog: GitHub Link