Saving chest contents to reset after game.

Discussion in 'Plugin Development' started by woutwoot, Jul 15, 2013.

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

    woutwoot

    Simple question I guess, I now use the WorldEdit schematic system to save my arena and to reset it after a game, but it doesn't save chest contents. I have a list of chest locations, how can I save (a copy of) the contents in memory, and reset them after the game?
     
  2. get chest at location, get inventory and save it to an arraylist and save to file. there are several posts about this on this site.
     
  3. Offline

    woutwoot

    Could you link me to one? I've searched, but with no result.
     
  4. Offline

    beastman3226

    I might also tell you to save the chest's location and contents to a file.
     
  5. Offline

    woutwoot

    I know that now, but how?
     
Thread Status:
Not open for further replies.

Share This Page