Closed EnderGirl1500 closed 1 year ago
This is a known issue. Check https://github.com/NikitaCartes/EasyAuth/wiki/AutoLogin-Mojang-accounts
As I understand you moved from fully offline mode to mixed mode? In that case all advancements, playerdata should be migrated automatical for all players, both offline and online.
If you move back to offline from online mode items (and other things) will be lost. (You can rename files that contain that information by hands)
Well is there any solution after all items being lost?
I entered the playerdata folder but everything is encrypted
You can rename files in world/playerdata, world/stats and world/advancement. They use uuid of player as their name, so you need to change that. You can use https://minecraft-serverlist.com/tools/offline-uuid for offline uuid and https://namemc.com/ for online uuid.
Some of my players cant join the server, how can I fix that aswell?
What type of error they get?
Before forcing their offline-uuid they got something like invalid player data, and after doing so they just get disconnected
Something useful in logs?
I don't think so, but here's the lastest log latest.log
Check your config.worldSpawn.dimension
setting or set spawn via command
Did it
Does it help after restart?
A different person tried to join and he couldn't aswell latest.log
Can you send server.properties and mod's config?
It's seems like that player tries to connect with offline account but this name is used in someone's else online account. You can add it in forcedOfflinePlayers with auth addToForcedOffline <player>
I did it with one of the players but it didn't work
I just did it with someone else and worked, how can i fix it for the ones that cant join even with the force offline?
Today I made no changes and someone who played like 3h ago has lost the inventory
Sometimes online player treated as offline player, this known rare bug. I will look into that in next week, but for now server restart should help
ok and what about those who cant join at all? One tried changing the username into one that isnt occupied and it didnt work
So one more time: It's offline player; This nickname doesn't belongs to someone's else online account (or this player in forced offline list); There is no any error in logs?
Can you join in Discord server, I think it would be easier? https://discord.gg/UY4nhvUzaK
Its offline player, his nickname doesnt belong to anyone and even when forcing him on the list it doesnt work. Imma join now.
Yes the same thing is happening to me as well offline player; the player is in forcedoffline list
there is some red thing related to easyauth in the logs, idk what it means tho it is the same error that EnderGirl got https://mclo.gs/gw4E4cq
I fixed the problem
I had to go to spawn and use the auth SetSpawn
command because spawn dimension was null in config
@EnderGirl1500 maybe it might work for you?
I fixed the problem I had to go to spawn and use the
auth SetSpawn
command because spawn dimension was null in config
I am not a Java developer, but this should solve the problem:
public String dimension = "minecraft:overworld";
Versions
Describe the bug After creating this "mixed" offline-online mode, the inventory of my players disappeared. I'll do more research to see if it happened on everyone or just premium accounts. Also, other data like location and homes will be lost.
To Reproduce Steps to reproduce the behavior:
Expected behavior I guess everybody should have their inventories after making this changes.