Is it possible to block certain variables in a permission node?
Khongen opened this issue ยท 6 comments
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?
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?
Update: I found this one but it's not for 1.15.2 do you happen to know one that is compatible?
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.
Use EssentialsX, as default mc commands don't have those selective perms.
Also, verbose can have filters to only show specific perms.
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.