Is there a plugin to use permissions for Command Blocks in Minecraft rather than give op

I looked for an answer online and I could unfortunately not find anything

However what may work as a partial workaround is reducing the op-permissions level in the settings file to 2 from 4 which disables server management commands (/ban, /whitelist, /kick, /stop, etc.) however these commands can still be ran in the server console. op permissions level 2 is the same permissions that command blocks run at so if you can trust players to add code to command blocks then you should be able to trust them with permission level 2. Any commands such as /give will be outputted into the server console/log so you can see if anyone breaks your trust.


The main issue with what you are requesting is that if you give Command Block perms to to someone, they can then use a command block to run a /op command and give themselves op.

Command Blocks run commands at an op level - anyone who has access to command blocks has access to everything that an op does.

For this reason, Command Blocks can only be used by someone who is already op.