TechnicJelle / BlueMapOfflinePlayerMarkers

Minecraft Paper plugin and BlueMap addon that adds markers where players have logged off
Mozilla Public License 2.0
14 stars 8 forks source link

Problem with server shutting down while players are still online #4

Closed TechnicJelle closed 3 years ago

TechnicJelle commented 3 years ago

When the server shuts down when there are still people online, the plugin shuts down before the players are kicked out. I'm thinking of fixing that by adding a marker for all online players in BlueMapAPI.onDisable. In BlueMapAPI.onEnable is a for loop that removes all online playermarkers again, so even on a BlueMap reload they'd only be added for a small moment

But I get a bit of a weird feeling, doing it like that