What steps will reproduce the problem?1. Player dies, but does not respawn2. Mod is reloaded3. Player respawns
1. Player dies and is disconnected before respawning2. Mod is reloaded or server is restarted3. Player logs in and respawns
What is the expected output? What do you see instead?Expect player to respawn (or logs back in and respawn), and get inventory back.
What version of the product are you using?1.5.0
Please provide any additional information below.Perhaps it can write the inventory to a file, and only restore it on respawn if they have nothing in their inventory - if they have items, perhaps drop it on the ground or offer a command to drop the items on the ground, and then remove the saved inventory. This way, if the plugin is disabled and the game continues, it won't overwrite the inventory when the plugin is re-enabled.
I've known about this for some time, but I've been ignoring it. Although, I can see this becoming a pretty big problem on bigger servers, or servers that people play on while the admin is working. I will probably add optional support at some point, but probably only to the MySQL driver initially.
To post a comment, please
or register a new account.