How to safe the new inventories

Discussion in 'Plugin Development' started by Sehales, Nov 17, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Sehales

    Hi,
    at the past you have only to save the inventory as it is.
    But then you have to save the inventory with its items and for some items enchantments for books the infos about the book and the written text and now you need to save all nbt data because you can modify all items like you want.
    How do I do that now?
    How can you save the complete "1.4.4(or 1.4.5)" inventory with all data and nbt data etc...
    Can someone help me with that?
    I only want to save inventories in a hashmap to a save-file or to a mysql database, but I don't know how to save and load it without extreme performance leaks.
    Would be cool If someone could write a tutorial/class for saving a whole inventory with all needed or potentially changed data.

    Greetings from Germany
    Sehales

    don't know anything???

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
Thread Status:
Not open for further replies.

Share This Page