Context permissions and false values not working when applied (Paper + Velocity)
Fairweather-Furry opened this issue ยท 2 comments
Description
Trying to apply permissions to only work on specific worlds, gamemodes, or dimension types do not seem to apply, and neither does the 'false' value. Ex. Setting /shop access to be true in context of survival gamemode allows /shop access to everyone. Setting /shop access to false for "creative" world does not disallow /shop to be used in the world named "creative". Ect.
Reproduction Steps
- Start Server.
- Use /lp editor to change permissions and add context/values
- Apply edits to server
Expected Behaviour
Permissions sync across servers, with contexts and values working instead of permissions being applied as if no contexts are used.
Server Details
Paper 1.18.1-79 (Both servers, 1.18.1) And Velocity 3.1.1-98
LuckPerms Version
5.3.89 on both servers and on Velocity
Logs and Configs
MySQL Login and IP removed from upload, but MySQL does work. Player IP removed in Server 1 latest.log.
Velocity Config: https://gist.github.com/kylehen9758/d6e06d6bc5768daad1b14b6fe046f4c7
Server 1 Config: https://gist.github.com/kylehen9758/7bccf467824f21ff346aa3450798018c
Server 1 /lp editor: https://luckperms.net/editor/V7YLztM2Be
Server 1 latest: https://gist.github.com/kylehen9758/d321fa60e29634032b6edfa09ce00e52
Server 2 Config: https://gist.github.com/kylehen9758/202aecbd2a9ae1663f8ae74725c2ec0b
Server 2 /lp editor: https://luckperms.net/editor/qvd20RC5rM
Server 2 latest: https://gist.github.com/kylehen9758/1ef40a9606243af6220e83a448e88efd
Extra Details
Permissions do seem to sync correctly so this doesn't seem like a MySQL issue directly. Contexts don't work when applied directly to the server it's expected to work on. No errors appear on the servers or on Velocity relating to LuckPerms. Issue may be similar to #3214, but I'm sending my own report to perhaps help with finding what is the same for both issues.
Forgot to add Velocity latest.log: https://gist.github.com/kylehen9758/38e1465961529f04ab09a98a697462b0
Closing this issue as I have figured out the source for both /shop permission issues and others. MultiVerse had a config I was unaware of regarding world access permissions that I have now tested and confirm works. /shop meanwhile was me being dumb with access being per-world and not realizing the shop gui does pop up in worlds it is unallowed on. My mistake.