Bug Fixes
- Fixed an issue where admins with advancedblocker.msg would receive alerts even for players who had bypass permissions, alerts now only fire when they should.
- Fixed a memory leak where player data was never cleaned up after disconnecting.
New Feature
Wildcard support in blocked commands, you can now use, for example, bukkit:* to block all commands under a namespace at once, keeping your config clean and short.
Improvements
- General code cleanup and stability improvements.
- Improved thread safety during config reloads.
- Better error logging.
Feel free to leave any bug reports or suggestions in the reviews or in the discussion tab
After a long time, AdvancedBlocker has been completely rewritten from scratch. Here's everything that changed:
Bug Fixes
- Fixed command blocking logic being duplicated, causing double execution
- Fixed the log() method that was never actually writing anything to the log file
- Fixed Commands class initializing the plugin instance statically, which could cause NullPointerExceptions on startup
- Fixed TAB message spamming on every keystroke while typing a command
New Features
- Automatic update checker: the plugin will notify you in console when a new version is available
- New TabNoPermsMsg config option: customize the message shown when a player tries to use TAB autocomplete
- New AlertMsg now correctly notifies online staff (advancedblocker.msg) when a blocked command is attempted
- Log files now include a real timestamp on every entry
Improvements
- Full code restructure
- Config is now cleaner and fully documented with comments
- All hardcoded messages have been moved to config.yml
- TAB blocking now works correctly: message only shows once per typing session, not on every keystroke
- Reload command now logs who performed the reload
- Console commands now strip color codes correctly instead of showing raw & codes
- Update checker runs asynchronously so it never causes lag on startup
Config Changes
New keys added to config.yml (you must add these manually if you are updating from an older version):
- TabNoPermsMsg
- CheckUpdates
