Posted February 20, 201411 yr Hello, I would like to suggest an event where when the server is copying the dead player's data (ender chest, etc.) to the new, respawned player. The event should also have the dead player and the new player. This event would really be helpful for making data persist through player death. You might say, "You could easily store the data in a map when the player dies and apply them when they respawn!" That works, but not when the player dies and the server restarts. Another way is to create a file inside the world folder, but it seems a bit over kill. Kain
February 20, 201411 yr https://github.com/MinecraftForge/MinecraftForge/blob/master/patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch#L507 Just store it in the persistent nbt tag. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.