Per-server permissions on Luckperms [bungee]
How would I set permissions per server? For example, I want to disable access to
essentials.tpa
in one server, and enable it in another. How would I go about doing this?18 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by rvthless__#0
If luckperms is linked with a database u can use contexts
I tried to use contexts - I set
essentials.tpa
to false, and made the context server=malice
players still had access to /tpa on malice
, is there a config I'm missing or something?Try using the Web editor
I did, that's what I used
I also tried it via command
Is it using a database?
And is it the same on all servers
Yep, everything is synced with mysql
If I enable essential.tpa, it works across all servers. if I disable it, it doesn't work across all servers. I just want to deny access to the command on the malice server and nothing else
Do you mind trying removing the deny, and instead put essentials. Tpa to only be granted in servers that aren't malice?
I'll give it a shot after classes in the morning, I'll let you know if it works or not, ty
sorry for the late response
i set this permission, and the TPA permission is still working on both servers
i also tried adding a denied one, but that didn't change anything at all
If tpa is working without the permission being there smth else is happening
Did u network sync after changing permissions
yeah, I believe so
oh wait, for some reason it worked after setting the context to "world: malice".. even though this is a bungee server
Waterfall or bungeecord?
oh right, it's using waterfall
does that have something to do with it?
No waterfall is better than bungee
If it was a bungee proxy I would have thought it was the cause
As bungeecord is weird
...nevermind, I was wrong. it didn't help
however, it does autofill unlike
server
which i find a bit odd
no matter what context i use, it syncs across all servers
i can't seem to figure this out at all, i've tried using both server and world contexts, i've tried bungee and waterfall (just tried bungee), and tried changing the server value in the config.yml. nothing seems to be workingDid you configure the server name in LuckPerms
config.yml
on each server? it's the value used as server name when using the server contextYou can use the same name on multiple servers so they share the exact same permissions including the context. For example if you have multiple lobby servers you can set
server: lobby
in each lobby server and the permissions will work the same on all of them and you add the permissions with the context just one time