LuckPerms

LuckPerms

41.4k Downloads

Improvement for proxy permissions with server as context

1ntent1on opened this issue ยท 1 comments

commented

Description

Hello, since proxy server context requires servers to be specified as "worlds", it can make some unnecessary mess. Allowing it to work with server names specified in configs would solve this.

Proposed Behaviour

Basically the problem is that server context takes "worlds" from proxy config (at least for Velocity).
So lets imagine that i have 20 Lobby servers (all of them have "server: lobby" in LuckPerms config). If i want to set bukkit server permission then i can do just "permission true server=lobby" and it will work completely fine, as it will be applied on every server. But when i want to set proxy permission i have to do "permission true world=Lobby1", the problem is that it will work only on the server called Lobby01, so with 20 Lobby servers, i will have to create same permission 20 times, with different server name each time.
If it was possible to check from server name in each config, then it would solve this small problem, as i would need to just set "permission true world=lobby" and it would work on all 20 servers.

Extra Details

No response

commented

Likely a duplicate of #1668