CommandDefender ~ (for 1.7.x - 1.16.x) 2.1.0 b24

An well-built command blocker with a plethora of useful yet lightweight features.

  1. lokka30
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    Developed by lokka30. See 'Contributors' below.
    Languages Supported:
    See 'Translations' below.
    I couldn't find a command blocker plugin on the market that fulfilled my requirements, so I decided to program it myself and release it so anyone in the same boat finds the solution. :)

    Designed for Minecraft servers running 1.7 up to 1.16, CommandDefender (abbreviated CD) allows server owners to block users from running commands either as a whitelist or blacklist of a customisable list of commands. Along with that, CD can optionally block colons in the first argument of commands (e.g. /bukkit:help. To top it off, it also filters commands in 1.13+'s command suggestion feature. There are a bunch more features on the to-do list which should be added in at some point :)


    Here are some brilliant videos reviewing CommandDefender! :)

    Thank you, @Alexwin32!

    Block users from running commands that they shouldn't be.

    Block users from running plugin-specific commands with a colon.

    Very easy configuration! There is also a messages file to customise all of the chat messages this plugin sends.

    • No bloat, no stupid crazy features. CommandDefender does exactly what it says on the tin. :)
    • Highly configurable - separated into settings.yml and messages.yml.
    • Create your own priority-based lists that determine what commands your players can & can't run!
    • Block arguments such as 'Notch' in '/home Notch'!
    • Filters 1.13+'s command suggestion / tab completion system!
    • RGB hex color code support (only for 1.16+ servers - mojang limitation) (syntax: &#abcdef)
    • Reload and backup configuration files on the go
    • Block colons (this character: :) from being used in the first argument of commands.
      • Toggleable, of course :)
      • Blocks bypasses such as /bukkit:plugins to run /plugins.
    • All chat messages are customisable and translatable.
    • Bypass permission to be able to run all blocked commands
    • Bypass permission to be able to run certain blocked commands
      • e.g. commanddefender.bypass.tpa

    The following feature requests have been considered and refused:
    • Tab completion filtering for <1.13 servers
      • Spigot allows you to disable Tab Completion completely by going into spigot.yml and changing the setting for tab completion to tab-complete: -1.
      • If this system doesn't work for you then please consider messaging me so I can discuss with you about adding a tab completion filter to CommandDefender. I'm more than happy to add this feature in, but I want to avoid adding what we don't need. :)


    I only provide technical support on the ArcanePlugins Discord Server.
    Please ensure that you have read the documentation (see under the Quick Links section at the top) before asking for help.

    Developers of the resource:

    Thanks a lot to the users below for generously contributing to the plugin!
    • Hugo5551 assisted in patching bugs.

    Thanks to the following project teams for directly/indirectly assisting development:
    • SpigotMC
    • PaperMC
    • bStats

    For the generous lads out there that wish to donate - I've got a Patreon page and a Ko-fi page. Cheers :)

    I'm a senior high school student, so finding the time and money to develop these resources is not easy. Making plugins that other server owners and their users can enjoy is just a hobby, and it takes a considerable chunk out of my free time - it's just the nature of my high standards for every resource I post, free and premium.
    If you would be willing to support me in this endeavor (for it makes very little return to me), as little or as much as you want, it would really mean so much to me.
    If you are unable to donate, 5 star reviews and kind comments are enough to put a smile on my face and keep me motivated to do this.
    Any support from you will positively impact all of the server owners who are using my resources in whatever capacity.
    Thank you so much. :)

    Click here to view all of the collected metrics!
    Via bStats, this plugin anonymously tracks basic things such as your server's version, which version of Java it is using, offline/online mode, etc. I use these statistics to benefit development.
    These statistics are to no detriment to you at all, so I don't see why you would need to disable them.
    Anyways, after running the plugin at least once, go to the /plugins/bStats/config.yml file and disable it there.

    Licensed under GNU AGPL v3.0. Click here to view the license. By using the software, you agree to the license.

    I really appreciate feedback and criticism - it lets me know if the plugin is heading in the right direction.
    However, do not use the reviews section as means to get support. There's a discord server for that! :)
    Resoluciones and Flak like this.

Recent Updates

  1. v2.1.0 b24
  2. Announcement (NOT an update!)
  3. v2.0.1-b23

Recent Reviews

  1. FrostExZo
    Version: 2.1.0 b24
    Really great plugin, but can you set event priority to low? Plugin cant cancel some commands
    1. lokka30
      Author's Response
      Hi thanks for the kind rating, could you please chat to me on the Discord about this?
  2. Oathkeeper
    Version: 2.1.0 b24
    Command Defender,
    Thank the sender,
    Like a fender, It protects the render.

    Stay safe, stay clear,
    Who needs LuckPerms,
    When you got this here?

    Bad rhyming concluded. Thanks for a good update to a great little seen plugin:3
    1. lokka30
      Author's Response
      You're very welcome Oath! Thank you for your support!
  3. Alexwin32
    Version: 2.0.0
    1. lokka30
      Author's Response
      Thanks a lot for the review and video Alex! I've commented on the video, again, thank you very much.
  4. Oathkeeper
    Version: 2.0.0
    A more dynamic system combined with simplicity. Simple enough to follow system to create a tree of enabled/disabled commands.
    1. lokka30
      Author's Response
      Thank you Oath! Very glad you enjoy this one too :)
  5. DozerCraft
    Version: 1.2.8
    Es genial, fácil de usar y muy útil, pero no es muy compatible con Towny que digamos, porque si bloqueas ":" y intentas crear una ciudad pulsando en el chat [confirm] no te deja por usar ":", me gustaría que lo pudieran solucionar, lo seguiré usando pero tendré que modificar el mensaje de error a algo como "¡No tienes permisos para ejecutar ese comando! Si te aparece esto al intentar crear una ciudad usa /confirm" y preferiría evitarlo.

    It's great, easy to use and very useful, but is not very compatible with Towny that we say, because if you block ":" and try to create a city by clicking on the chat [confirm] does not leave you to use ":", I wish they could fix it, I will continue using it but I will have to modify the error message to something like "You do not have permission to run that command! If you get this when trying to create a city use /confirm" and I'd rather avoid it.

    DeepL Translate ;)
    1. lokka30
      Author's Response
      Thank you very much for your review. You have a great suggestion, and thank you for reporting it to me. I will put it on my to-do list now. Have a great day :)

      Muchas gracias por su revisión. Tiene una gran sugerencia, y gracias por informarme de ella. La pondré en mi lista de cosas por hacer ahora. Que tenga un gran día :)

      [DeepL Translator]
  6. IamSeverus
    Version: 1.2.8
    Excelente, justo lo que buscaba.
    1. lokka30
      Author's Response
      Gracias por revisar el recurso. ¡Me alegro de que te funcione bien!

      Google Translate ;)
  7. PoZiomek
    Version: 1.2.6
    Very well made plugin, Contact with dev is really good too. Helped me very quickly :D
    1. lokka30
      Author's Response
      Thank you for the review and for the excellent communication with your bug report too :) Best luck with your server!
  8. DozerCraft
    Version: 1.2.4
    Very good plugin! The option to block ":" is very good.
    In addition, there is no easier method for blocking commands than the one in CommandDefender.
    As a suggestion I would like to have an option to send a specific error message to a specific command.
    1. lokka30
      Author's Response
      Thanks DC, glad you like it! Great feature suggestion which I hope to develop next time I get back to work on the project. Best wishes for life and your server.
  9. kimchanyoung
    Version: 1.0.6
    I think this plug-in is really great for security.
    It's amazing to the developer. I hope for a steady update.
    1. lokka30
      Author's Response
      Thank you kimchanyoung, glad you like it! :)