"Batch" block changes

Discussion in 'Plugin Development' started by Tj3, Jan 28, 2012.

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

    Tj3

    How can I group multiple block changes into one large change, and then just have it send a few full chunk-change packets to clients? I was changing a large area of blocks, and it ended up crashing the client from all the network traffic.

    EDIT: To make it more clear, basically I want to modify a block in the world without sending an update, then reload the chunks for all players.

    EDIT 2: The solution I ended up using was to only allow the command when the server was empty, as it was pretty much a one-time spawn-zone-flattening utility. Although, I'm still interested to find out how this could be done
     
  2. Offline

    DrAgonmoray

    Check out this thread:
    http://forums.bukkit.org/threads/how-plugin-effects-on-server-performance.48869/
    and scroll down a bit to the part where they talk about chunks
     
Thread Status:
Not open for further replies.

Share This Page