Minecraft – Run specific commands without op on a minecrft server

minecraft-java-editionminecraft-java-edition-server

I'm using world guard on my server and I protected the hub area but there are some buttons for missions winch runs commands, but when a player (without op) uses that button I get an error message "You do not have permission to perform this command…". In world guard I set that command with /region flag (/rg flag -w "world" -h 4 hub_protect allowed-cmds /setblock 165 73 185 redstone_block) and it's still not working. Any solutions?

It is Minecraft 1.14.4.

Best Answer

To grant permissions for other plugins on a server, you'll need to use a permissions manager such as LuckPerms. With this, you can grant players the ability to use the specific WorldGuard command you want.

You can find how to use it here.