Proxy-Compatible-Forge icon indicating copy to clipboard operation
Proxy-Compatible-Forge copied to clipboard

LuckPerms compatibility issue

Open JayPeaSize opened this issue 1 year ago • 6 comments

Currently when using LuckPerms the following error is displayed: [lp] permissions data for your user was not loaded during the pre-login

I believe the cause of this is that the pre-login UUID is not the proper UUID yet, but when they go to fully join it has changed by then.

JayPeaSize avatar May 07 '23 04:05 JayPeaSize

Arclight, Mohist or Magma?

adde0109 avatar May 07 '23 10:05 adde0109

Currently just using 1.16.5 SpongeForge. Would Arclight be better in this case? Bit new to 1.16.5 for forge. Been stuck in 1.12.2 because of pixelmon

JayPeaSize avatar May 07 '23 18:05 JayPeaSize

Can confirm this also happens with Mohist 1.16.5. Every UUID I see in console is my online-mode (all servers are online with velocity and proxy-compatible-forge on servers + ambassador on velocity host.)

[17:02:40 WARN]: [LuckPerms] User 8a963d9d-cb13-472c-99d9-46c6b9097b8e - infered5 doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.

infered5 avatar Jul 12 '23 16:07 infered5

FabricProxy-Lite works around this with its "hackEarlySend" config option.

LuckPerms need enable hackEarlySend in config.

Because Fabric-API can't send packet before QUERY_START event, so player info(UUID) will not ready at QUERY_START event.

Enable hackEarlySend will use mixin for early send packet to velocity.

(relevant mixin)

unilock avatar Jul 12 '23 16:07 unilock

Open Parties and Claims have a similar issue, when joining the player's UUID becomes their offline mode UUID rather then their real UUID. Then without an error, the player get kicked.

I agree with the need for the hackEarlySend to be added into PCF.

ajh123 avatar Oct 02 '24 16:10 ajh123

Using the Sinytra Connector mod and Fabric Proxy Light on a Forge server and having hackEarlySend enabled everything works as expected.

ajh123 avatar Oct 03 '24 13:10 ajh123