LuckPerms

LuckPerms

41.4k Downloads

Is it possible to block certain variables in a permission node?

Khongen opened this issue ยท 6 comments

commented

So let's say I wanna allow x group access to /gamemode spectator and /gamemode survival, but not /gamemode creative, is that something I can configure using the editor?

commented

Could you specify how I could use Verbose, and yes this is the default minecraft command I'm talking about, does that mean I need to find a plugin that is more specific for gamemodes?

commented

If the plugin (and if you don't have a plugin for that it is probably vanilla and that does not provide such functionality) that manages the /gamemode command allows for seperate permission nodes for each gamemode, you can add these nodes using the web editor.

Best is to take a look at the plugin's documentation or using the Verbose feature of LuckPerms.

commented

Use EssentialsX, as default mc commands don't have those selective perms.

Also, verbose can have filters to only show specific perms.

commented

For those wanting the same result as me:
So EssentialsX worked after some tinkering, how it works is you gotta give the intended group the permissions essentials.gamemode and essentials.gamemode.others. After this you gotta save those unless you do it all in the .yml, if you use the editor as myself, save those first and "update" editor by getting a new link ingame (/lp editor) go back in and search for essentials.gamemode.spectator and essentials.gamemode.survival now it should work for the intended group.

commented

You don't need to create a new session for the permissions to work. Just because they don't appear in the editor doesn't mean they don't exist.