Posted February 19, 201411 yr Is there any way to save an inventory to the player? Even through death? I know of one way, but it wouldn't work if the player died and then the server restarted. First, I wrote my slot contents to the player if they opened the inventory. Then, if they died, their data would be stored in a HashMap with their name. Finally, when they respawn, it gets rewritten to them. Kain
February 20, 201411 yr Author It doesn't persist through death. :I I've looked at coolAlias's tutorial on IExtendedEntityProperties but it does something similar to what I'm doing. Kain
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.