LuckPerms

LuckPerms

41.4k Downloads

If possible, add way to block commands for mods that don't use permissions (Fabric)

pahanakun opened this issue ยท 2 comments

commented

Description

Theres A LOT of mods out there that don't support permissions. If its at all possible for LuckPerms to add a way to block in game commands for mods that don't support permissions (like Player Roles), that would be extremely useful. Otherwise I have to request and wait for tens of mods to all add permissions support. It would also eliminate the need for the minecraft-command-permissions-fabric mod to give or block permissions for vanilla commands.

Proposed Behaviour

Give a "command" permission that would give/block in game commands
eg. "command.give" set to true would allow users to use the give command
might not work with mod commands, I'm not much of a programmer so I have no idea if you could use multiple periods like "command.c2me.notick" to give/block the command "/c2me notick" to users ingame

Extra Details

No response

commented

Hi,
While I don't know too much about fabric, I do know that it is the responsibility of the mod/plugin to provide permissions that Luckperms is able to use. If a mod/plugin does not provide the permissions than there isn't anything Luckperms is able to do to allow/deny commands or actions from that mod/plugin.

commented

This would be best done by a separate mod.

similar to https://github.com/lucko/minecraft-command-permissions-fabric

I'd happily accept a pull request into ^ to implement it.