[YML] How to save inventories?

Discussion in 'Plugin Development' started by CactusComboPvP, May 28, 2014.

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

    CactusComboPvP

    How can I save a player inventory in to a config file?

    Thanks, any help appreciated
     
  2. Offline

    Konkz

  3. Offline

    Azubuso

  4. Offline

    mine-care

    You want it to be editable as a yml or just a file that you can't easily edit?

    Edit, tahg me to reply :S

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  5. Offline

    Garris0n

    ItemStack is ConfigurationSerializable, you can just set(index, itemStack) and getItemStack(index).
     
Thread Status:
Not open for further replies.

Share This Page