Invalid block replacement.

Discussion in 'Archived: Plugin Requests' started by jacklollz2, Jun 2, 2013.

  1. Offline


    I am requesting someone to make a plugin.
    Details: When the map/chunk is loaded, scan for invalid blocks and delete them.
    Example: When starting a Tekkit server and say you placed some buildcraft pipes or a machine, this can cause the server to crash when you load the world on a normal server. (I know this, it's happened to me. I've tested it with other things aswell.)
    So those buildcraft pipes (any invalid block, not just the pipes) should be replaced to air when the map/chunk is loaded.
  2. Offline

    timtower Moderator Moderator

    jacklollz2 So you want an plugin that scans the entire world on errors which we don't even know?
  3. Offline


    No, just have something like a whitelist. Where every valid block id (not tag id like 1:1 or 1:2) just block, and as a whitelist for every block as in, 0 air 1 stone bla bla bla. You probably don't need to create a whitelist, just make it read off the valid blocks in the server, like loaded blocks.
  4. Offline

    timtower Moderator Moderator

    jacklollz2 So read the blocks that we don't know, that is impossible
  5. Offline


    Well, just make a block id scaner. Id = 1. Okay, it's 1 thats' stone, it's fine. Id = 49254. What is this? Invalid block. Delete.
  6. Offline


    It is impossible to iterate over all the blocks in a world.
  7. Offline


    Great if this actually gets made.
  8. Offline


    No not over the entire world, over just the chunks that get loaded. So, when a chunk is loaded, it scans the entire chunk like world edit. //chunk <Selected the chunk you are in.> //replace 8796374 0 <6 blocks replaced to AIR.>

Share This Page