- Initial version.
- Changes to permission checking.
- Now checking
commanddefender.bypass.*
permission, was mistakenly left out last version.
- Fixed operators not being able to access commands
- Fixed placeholders in main command message not being replaced.
- Fixed command suggestions not being updated.
- Removed the command suggestion manager.
- Fixed updater resource id.
- No longer in alpha stage.
- You no longer need MicroLib in your plugins folder to run this plugin. It is embedded inside the .jar file now. You must uninstall MicroLib v1 from your plugins folder, or errors will occur.
- Updated MicroLib dependency to v2.0.0.
- Removed the startup banner from your console logs :)
- Few code improvements revolving around the dependency update.
- Now filters 1.13+'s command suggestion system.
- Removes blocked commands from the suggestions list.
- If enabled, removes commands with colons from the suggestions list (e.g.
/bukkit:help
)
- Added
api-version
to inbuiltplugin.yml
, which fixes a startup warning. - Fixed individual bypass permissions requiring
/
in command labels. - Fixed case sensitivity.
- Updated dependencies (MicroLib 2.0.0 -> 2.1.1, Spigot API 1.16.3 -> 1.16.4).
- Fixed update checker.
- Note: Not Tested!
- Now utilising QuickTimer from MicroLib
- Now utilising YamlConfigFile from MicroLib
- Fixed startup error, thanks to person in discussions section for reporting it
Notes:
- This update was not tested.
- A big thank you to PoZiomeK and Hugo5551 for their excellent communication and assistance for these issues :)
Changelog:
- Attempted to warn user that the update checker doesn't work in <1.11 servers rather than spit errors
- Attempted to suppress error that occurs with <1.13 servers when running the reload subcommand.
- This update was not tested.
- Adapted the same code affected in v1.2.4.
- This update was not tested.
- No file changes.
- Third attempt at getting the plugin working on <1.13 servers
- Changes to the code here and there
- This update was not tested.
- No file changes this update.
- Fixed reload subcommand not working on <1.13 servers.
- Minor code changes.
- This update was not tested.
- No file changes this update.
- Hopefully fixed the update checker throwing an error on <1.11 servers, instead it should show a warning to disable it.
- Very minor change to a message in messages.yml, no reset necessary.
- WARNING This update was not tested thoroughly. If you have security concerns then I would advise you run your own testing or stick with the previous version (unsupported as of now). I apologise for this as I am currently very limited on time.
- No file changes this update. The settings file has new functionality although no changes are needed.
Blockable Command Arguments!
- Perhaps the most requested feature of this plugin is the ability to block certain arguments of commands (e.g. 'base' in '/home base').
- This system has been designed to fit as many use cases as possible. Check out the Wiki to see its possibilities!
- This system is a little tricky to use so please contact me on my Discord if you have any queries or issues.
Bug Fixes
- Fixed the command message being colorized in the deny message.
- This update was not tested.
- A recommended yet optional file change has occured to settings.yml although the same file version remains. I understand people have already invested lots of time into their configs so I don't want to make you all reset it :)
Overrideable Commands
- You can now force-block commands such as
/island* *
whilst in whitelist mode. - Thanks to keith for reporting this lacking feature to me. :)
- This update was tested.
- If you are running the subcommands system, remove any
*
characters suffixing any args you have listed. e.g. change/command notch*
to/command notch
. - I apologise for the frequent updates, this should be the last for a while :)
- Removed the necessity to have
*
after each argument in a command that you want to list. CommandDefender now only counts the last argument you have listed. - Decent changes to the 'isListed' code making it run as intended.
- Significant changes were made to
settings.yml
andmessages.yml
. You MUST update these files, or you will be GUARANTEED to be slammed with the plugin almost completely malfunctioning. - This update was partly tested. I do not have enough time to fully test it. If you are sceptical about your commands' security, I would recommend you test this version before you deploy it.
- Finally, you can simultaneously allow and block commands by using priority-based lists!
- As suggested by @DozerCraft, you can also specify deny messages for each group if you wish to override the default one.
- This system has overhauled a lot of the code previously in CommandDefender, which is why
- All messages now have multi-line support!
- For those who wanted to block and allow commands based on permissions, that's now possible!
- I am testing a new versioning system. I will use 'build' versioning whilst coding (hence b22), and 'x.x.x' versioning for releases to make it easy for server owners.
- Unfortunately I didn't write a changelog whilst developing this update, so a bunch of minor things were done to the plugin but I didn't note them down.
- This update was tested.
- File changes: none
- Fixed a bug where 'block-colons' also blocked colons in arguments of a command rather than only the actual command itself
- This update was not tested.
- File changes: none.
- Fixed tab complete index for CommandDefender command (stumper66)
- Updated MicroLib dep (lokka30)
- Added support for 1.16+ hex colors!
- Updated QuickTimer usage
- Improved return for tab complete for CommandDefender command where no tab completions are available. (stumper66)
- Attempted fix update checker possible error (lokka30)
Announcement: CommandDefender 3 is work-in-progress! :)
- Fixes colon blocking permission (reported by TheJoshua)
- Adds setting for tab suggestion filtering (suggested by TheJoshua)
- Fixed a single exclamation mark causing the colon blocker to go rogue.
If you didn't see the previous changelog then please click here!
Note: CommandDefender v3 is currently work-in-progress! If you want to learn more about it, or even suggest some features you'd like to see, please join the Discord server and check the #commanddefender channel . I'd love to hear your input!
- Fixed the wildcard permissions for allow/deny (e.g.
commanddefender.allow.*
), they should work now. (reported by Whiskey) - Made the colon blocker filter tab completion regardless of the tab completion setting being enabled or not (suggested by Joshua)
- Minor code improvements
- Updated MicroLib, bStats, Spigot-API
- Updated copyright
CommandDefender is a free and open-source plugin, fueled by the generosity of its users. Consider leaving a review, a star on GitHub or even a donation if you would like to see further development. :)