Chunk Loaders

Chunk Loaders

8M Downloads

[Bug] inactivityTimeout parameter not working as it should

bigenergy opened this issue ยท 2 comments

commented

Version Info

  • Minecraft: 1.18.2
  • Chunk Loaders: 1.2.2

Are you using OptiFine?: no

Description of the Bug
inactivityTimeout parameter not working as it should.
When the server is restarted,
Set<UUID> activePlayers = new LinkedHashSet<>(); - cleared...
Data should be stored in a more secure place, since, for example, a player may not log in for more than 1-2 days, and the downloader must work.

commented

Not sure what you mean. All data is saved to disk, including when a player was last online. When the server restarts this is just loaded from disk again as you can see here

public static void onServerStarting(FMLServerAboutToStartEvent e){

commented

Closing this as the original issue is invalid, since the timeout data is already saved and loaded again between restarts.