Plugin Release Velocity Command Blocker - fully block commands using regex and permissions

Download Link
https://gitlab.com/TauCu/command-blocker/-/releases
Source Code
https://gitlab.com/TauCu/command-blocker
Support
https://gitlab.com/TauCu/command-blocker/-/issues
Minecraft Versions
1.13-1.18
Compatible Java Versions
1.8 upwards
Command Blocker

Command Blocker blocks commands from being ran, tabbed or even sent to the client at all.

In other words It's a real command blocker plugin.​

Config Snippet
NFf4aci.png


In-game demo
MuRZtEm.png


Commands are blocked by filters; each filter has it's own permission that can be used to either apply or bypass the filter.

Each filter uses regex to decide if the filter should allow or block a command. Additionally, each filter can have it's own deny message and priority.

For more information see the documentation tab. Contributions welcome.

Config: Click to view configuration
 
  • Like
Reactions: oPut

Tau

New member
Jan 12, 2022
26
7
3
Update 1.1.1

This update fixes an issue affecting all platforms (spigot, bungee and velocity) in where they fail to call a TabCompleteEvent when a ServerboundCommandSuggestionPacket is sent requesting completions for a root command node.

Normally a client cannot request completions for a root node ever since the brigadier command system was implemented, but with a Modded client or by the use of ViaBackwards clients can send a request for completions for a root command node.

This bypasses any plugins listening for a TabCompleteEvent, allowing exposure of commands to the client.

This now requires ProtocolLib for Bukkit, and Protocolize for Bungee/Velocity in order to block this exploit.
 
Last edited:

Archer2336

New member
Aug 12, 2023
3
0
1
hey, can you please add support for multi servers? for example I would like to block specific commands on the "hub" server but still allow them on the Prison server. the bypass permission does not work by blocking it on one and allow it on the other because im assuming youre caching the bypass permission
 

Archer2336

New member
Aug 12, 2023
3
0
1
also could you please add a placeholder for the command that the played typed? for example: Unknown command. Please check luckperms is correct.

if the player typed /luckperms ^ in the above example
 

Archer2336

New member
Aug 12, 2023
3
0
1
The plugin has a major packet leak, which happens after a player has stayed logged into the server for a few hours, then the plugin randomly starts sending 1k+ packets every few minutes



1693523857792.png