Solved Saving a hashmap

Discussion in 'Plugin Help/Development/Requests' started by BizarrePlatinum, May 27, 2015.

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

    BizarrePlatinum

    I am wanting to save the following hashmap:
    Code:
    HashMap<Player, Inventory> storedInv = new HashMap<Player, Inventory>();
    
    The reason I wish to save them is because I don't want the inventory to be lost due to a server restart (I am taking the inventory away when they login, then returning it). I had no idea how to save an inventory to a file, if some assistance could be provided, that would be great.
     
  2. Offline

    BizarrePlatinum

  3. Offline

    nverdier

    If it does/did, please mark this thread as solved.
     
    bwfcwalshy likes this.
Thread Status:
Not open for further replies.

Share This Page