[Unsolved] Saving and restarting arena?

Discussion in 'Plugin Development' started by Hadenir, Feb 28, 2014.

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



    I'm creating own TheWalls plugin. Of course you know, arena must reset after every game, but I don't know: How can I save blocks on arena(chests, signs, block, ect.), and restart them?

    Thanks for all your answers!
  2. Offline


    Configs, objects, and java
  3. Offline


    Config - How save it in config?
    Objects - :O
    Java - Of course
  4. Offline


    Nobody want to help?
  5. well you should think it by yourself. probably I would iterate through all area and put BlockType : Location into the hashmap. If it would be chest, then I would put Location : ItemStack. And on restart I just iterate with
    1. for(BlockType b : map.keySet() {
    2. }

    Something similar..
  6. Offline


Thread Status:
Not open for further replies.

Share This Page