Jump to content

Player data being deleted after using /stop


aimapepinillo

Recommended Posts

I'm running a minecraft 1.16.1 server with forge 1.16.1 - 32.0.108.

 

The mods I'm running it with are: 

- Mekanism-1.16.1-10.0.9.432

- MekanismAdditions-1.16.1-10.0.9.432

- MekanismGenerators-1.16.1-10.0.9.432

- MekanismTools-1.16.1-10.0.9.432

 

In my client, I'm also using:

- jei-1.16.1-7.0.1.10

- OptiFine_1.16.1_HD_U_G2

- Xaeros_Minimap_20.20.1_Forge_1.16.1

 

When several players are logged in the server and one of them uses the /stop command, player data (inventory, location...) of all the other players who were also logged in is deleted (the .dat and .dat_old files are removed from the world/playerdata folder).  Data of all the players who had logged out prior to the execution of the /stop command is preserved. I suppose this is a forge bug because it doesn't happen when I run my vanilla server and I don't believe the mods I'm using interfere with the data saving process.

 

Has anyone experienced anything similar and knows how to circumvent it? If it's a bug, could it please be solved? It's pretty frustrating.

 

Debug logs:

- This time the /stop command was executed, player data was deleted:

Quote

[21ago2020 01:13:36.594] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: [P1: Stopping the server]
[21ago2020 01:13:36.605] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server
[21ago2020 01:13:36.606] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players
[21ago2020 01:13:36.626] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: P2 lost connection: Disconnected
[21ago2020 01:13:36.626] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: P2 left the game
[21ago2020 01:13:36.642] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds
[21ago2020 01:13:36.643] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[21ago2020 01:13:37.398] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (world😞 All chunks are saved
[21ago2020 01:13:37.398] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[21ago2020 01:13:37.400] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[21ago2020 01:13:37.401] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[21ago2020 01:13:37.406] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[21ago2020 01:13:37.448] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (world😞 All chunks are saved
[21ago2020 01:13:37.477] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[21ago2020 01:13:37.479] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved

 

-This second time , the second player disconnected before and his data was not deleted:

Quote

[21ago2020 02:03:53.680] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: P2 lost connection: Disconnected
[21ago2020 02:03:53.680] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: P2 left the game
[21ago2020 02:03:58.292] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: [P1: Stopping the server]
[21ago2020 02:03:58.320] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server
[21ago2020 02:03:58.322] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players
[21ago2020 02:03:58.345] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]:P1 lost connection: Server closed
[21ago2020 02:03:58.346] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: P1 left the game
[21ago2020 02:03:58.370] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds
[21ago2020 02:03:58.374] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[21ago2020 02:04:00.472] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (world😞 All chunks are saved
[21ago2020 02:04:00.472] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[21ago2020 02:04:00.475] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[21ago2020 02:04:00.476] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[21ago2020 02:04:00.478] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[21ago2020 02:04:00.480] [Server thread/DEBUG] [net.minecraftforge.fml.FMLWorldPersistenceHook/WP]: Gathering id map for writing to world save world
[21ago2020 02:04:00.525] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (world😞 All chunks are saved
[21ago2020 02:04:00.540] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[21ago2020 02:04:00.541] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[21ago2020 02:04:00.551] [Server thread/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing serverconfig directory : .\world\serverconfig
[21ago2020 02:04:00.551] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Unloading configs type SERVER

 

Edited by aimapepinillo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.