Saving and Loading Terrian

Discussion in 'WIP and Development Status' started by mythbusterma, Jul 16, 2014.

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

    mythbusterma

    In making minigames I've found that one of the most common tasks you need to perform is saving and loading terrain, maps, etc. and that the most commonly recommended way of doing so is via WorldEdit. This works well for smaller areas and the like, but when you start getting to larger sections of terrain (>1,000,000 blocks) WorldEdit starts to lag the server, often to the point of time out errors.

    I am going to work on a plugin that allows you to save and load large amounts of blocks without the lag that WorldEdit causes. It wouldn't just be a library, however, it would also be usable by players to save and load schematics.

    I was hoping to get some help on this project, if anyone is interested please message me or reply below.
     
  2. Offline

    xTigerRebornx

    mythbusterma I have ideas to contribute:
    - Could use a Queue-like system, where x blocks are restored per-tick, such that x is defined by the user (allowing for them to implement something for plugin users to change it based on the power of their server)
    - Support cross-restarts, rather then say, reading it from another world/location/storing the Block changes, you implement a way to serialize/deserialize blocks to a per-terrain file such as a YAML or a schematic.
     
  3. Offline

    mythbusterma

    xTigerRebornx

    This is exactly what I had in mind, it would have config allowing the user to change the amount of chunks it does per tick, and it would save and load from schematic files. I also plan to support a higher level of data than World Edit does, including entities, falling blocks, primed TNT, etc.

    Would you be interested in helping? :D
     
  4. Offline

    xTigerRebornx

    mythbusterma Ill help if needed, feel free to either tahg me or PM me :p
     
  5. Offline

    mythbusterma

    We're working on this right now, but we could use some more help, is anyone else interested in working on this project?
     
  6. Offline

    Zupsub

    Would you mind uploading this on github?
     
  7. Offline

    PandazNWafflez

  8. Offline

    Zupsub

  9. Offline

    mythbusterma

    Did you want to help?
     
  10. Offline

    Zupsub

    I'm sorry, but atm I've no time to work on another project.
     
Thread Status:
Not open for further replies.

Share This Page