Storing a map in a file

Discussion in 'Plugin Help/Development/Requests' started by cowslayer7890, Oct 19, 2017.

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

    cowslayer7890

    anyone know the best way to store a HashMap<UUID, Inventory[]>? I'm trying to create a vault-like plugin and need to do this if I can be successful.
     
  2. Offline

    Zombie_Striker

    @cowslayer7890
    Config#set("PATH", HASHMAP);

    Also, why do you need an array of inventories? Most that data is most likely not useful. If you must, just save the itemstacks/ values of the inventory separately.
     
  3. Offline

    cowslayer7890

    Well it’s a vault system, each player has 18 potential Vaults. So it’s stored as an array of inventories Idk how to convert all that data.
     
Thread Status:
Not open for further replies.

Share This Page