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
Admincraft Meta
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
ProGamingDk
ProGamingDk2y ago
If luckperms is linked with a database u can use contexts
Kiyo!
Kiyo!OP2y ago
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?
ProGamingDk
ProGamingDk2y ago
Try using the Web editor
Kiyo!
Kiyo!OP2y ago
I did, that's what I used I also tried it via command
ProGamingDk
ProGamingDk2y ago
Is it using a database? And is it the same on all servers
Kiyo!
Kiyo!OP2y ago
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
ProGamingDk
ProGamingDk2y ago
Do you mind trying removing the deny, and instead put essentials. Tpa to only be granted in servers that aren't malice?
Kiyo!
Kiyo!OP2y ago
I'll give it a shot after classes in the morning, I'll let you know if it works or not, ty
Kiyo!
Kiyo!OP2y ago
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
No description
No description
ProGamingDk
ProGamingDk2y ago
If tpa is working without the permission being there smth else is happening Did u network sync after changing permissions
Kiyo!
Kiyo!OP2y ago
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
ProGamingDk
ProGamingDk2y ago
Waterfall or bungeecord?
Kiyo!
Kiyo!OP2y ago
oh right, it's using waterfall does that have something to do with it?
ProGamingDk
ProGamingDk2y ago
No waterfall is better than bungee If it was a bungee proxy I would have thought it was the cause As bungeecord is weird
Kiyo!
Kiyo!OP2y ago
...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 working
F3DEX22
F3DEX222y ago
Did you configure the server name in LuckPerms config.yml on each server? it's the value used as server name when using the server context
No description
F3DEX22
F3DEX222y ago
You 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

Did you find this page helpful?