You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When users switch between online and offline mode, their UUID changes, and that often creates problems for saved data which was created in the other mode.
Describe the solution you'd like
An API for:
Determining the current online/offline state
Determining the online UUID of a player from the offline UUID, and vice versa
Providing an event/entrypoint that fires when FL determines that the state has changed, which mods can use to update their data accordingly.
Additional context
Considerations:
State change may need to be tracked on a per-mod basis for compatibility reasons. If a mod is removed, the state changes, then it is later added, we don't want that to break that mod's existing data.
State tracking per-mod would need an UNDETERMINED status as well, for mods that had data from before they used state tracking. Possibly have those mods input their list of known player IDs from their data and see if they map to any known players' online/offline IDs to get out of UNDETERMINED state.
How does Minecraft's built in GameProfile cache work? We may be able to grab some useful initial online/offline data from that
We'll probably need to build a cache from Fireplace Lib containing Online UUID, Offline UUID(s?), and last known Player Name for each player for easy conversion purposes.
This will most likely require some degree of guesswork for existing data and careful consideration of how to handle data that is unknown or can't be automatically converted when the event is fired (such as player IDs stored in the world or entity NBT)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When users switch between online and offline mode, their UUID changes, and that often creates problems for saved data which was created in the other mode.
Describe the solution you'd like
An API for:
Additional context
Considerations:
The text was updated successfully, but these errors were encountered: