First Join Potential Issue #432
-
|
Hey, not sure yet but in a couple of instances I've had players join and trigger the custom first join command events I have setup. If the server is then restarted within like 30mins of that player joining and they join the server when it loads back up it'll trigger the first join for them again. Any ideas what this could be? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Currently, the "first join player" is determined by the LEAVE_GAME player stats. The LEAVE_GAME stats might not be saved if the server is shut down unexpectedly. However, it is a vanilla Minecraft stats for each player, it should be saved and updated when the server is shutdown. |
Beta Was this translation helpful? Give feedback.
-
|
I have test it. |
Beta Was this translation helpful? Give feedback.
-
|
It should be fixed in The reason is, if a player is Now it will determinate the |
Beta Was this translation helpful? Give feedback.
It should be fixed in
v12.8.2.The reason is, if a player is
dis-connectedby theserverdue to/stop, it is treated asdis-connectedinstead ofleave game.The vanilla Minecraft thinks the
dis-connected by the serveris not identical toleave the game by the player, which cause the bug.Now it will determinate the
player first joinusing theTOTAL_WORLD_TIME == 0instead ofLEAVE_GAME == 0.So once the player joins the world, the
TOTAL_WORLD_TIMEwill get increased by20per second.And the
TOTAL_WORLD_TIMEstat get saved when the server is shut down by/stop.