Death Inventory not saved between mod reload or server restart #14

  • Accepted
  • Enhancment
Assigned to _ForgeUser7440750
  • _ForgeUser17974 created this issue Sep 9, 2011

    What steps will reproduce the problem?
    1. Player dies, but does not respawn
    2. Mod is reloaded
    3. Player respawns


    1. Player dies and is disconnected before respawning
    2. Mod is reloaded or server is restarted
    3. 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?

    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.

  • _ForgeUser17974 added the tags New Enhancment Sep 9, 2011
  • _ForgeUser7440750 removed a tag New Sep 9, 2011
  • _ForgeUser7440750 added a tag Accepted Sep 9, 2011
  • _ForgeUser7440750 posted a comment Sep 9, 2011

    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 login or register a new account.