Cuberite Forum
Question About Inventory at Death - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Question About Inventory at Death (/thread-1607.html)



Question About Inventory at Death - RKyle - 10-04-2014

Sorry if this was asked somewhere else but is it possible to make it to where a user doesn't lose their inventory at death?


RE: Question About Inventory at Death - xoft - 10-04-2014

Unfortunately this is hardcoded into the server right now. A plugin could be made that would remember the inventory just before the player dies, blocks the pickups from spawning and when the player respawns, sets their inventory back to the state before death. It's not ideal, but it'll work for most of the cases.