1. At present, the OnPlayerDisconnected() hook runs when the player has left the server.
    However, at this point, the entity no longer remains available for use in the hook which is annoying.

    If we could get a hook that is called when the player logs out but before they disconnect, I can fix the inventory wipe bug.
     
  2. Your proactivity is extremely admirable, but Code}{atch seems to think they'll fix it in Alpha 15. Might as well save yourself a little heartache trying to fix it on your own. :p

    Though, if you did, you'd be taking a page out of Mughisi's book with his /permission plugin: fixing the F*** ups that Code}{atch generates.
     
  3. Heh, well no biggie - I wrote the fix up in my lunch break today.
    Would be ready to go if I could just get access to the damn player inventory when they log out! Lol! (Or just before even)
     
  4. you could do a /Save command or something that the player can run before they log? Or are you talking about when they crash?
     
  5. If you'll mess with the patcher you'll find OnPlayerSleep