Plugin category: Admin Tool Suggested name: BlockFinder What I want: A easy to use plugin that searches for a block ID in a map, and then prints it's cords in a .txt file. Ideas for commands: /bf (id) This command would tell the plugin to find a certain block. Following finding all the blocks in the map, it would tell the player how many blocks were found, while at the same time adding a blocks.txt file in the plugin folder. Ideas for permissions: blockfinder.admin When I'd like it by: Yesterday. (Yes I know this mean each chunk must be loaded) (Yes I know this could be very slow) (Yes I need it that badly.)
@aterruit This will take (6.0x10^7)^2 * 255 (we know as a fact that the bottom layer is bedrock) checks. I think you should reconsider what you're asking for.
maybe describe what your using it for, and we might be able to make something with that functionality, but not do that process, as it's largely infeasible.
I honestly find this hard to believe. Tell us what exactly you need this super super x-ray for and maybe we can help.
@aterruit You'll have better luck restarting the map and using a plugin that listens to block place and destroy events for chests, then logging this.
@aterruit As we told you, its a very huge search. It's better to reset the map and check for block placed. But if you really need this, https://www.dropbox.com/s/1ev5wzfeqbsfnbv/BlockFinder.jar?dl=0 Command: /fblock - permission: findblock.use You hardly can put a radius over 500 blocks, or it will crash. You can set a height limit for the search.
@aterruit I can make a version that will allow an unlimited range but will also be slower, can make it so it keeps working between restarts though.
You would probably want to make a parser for the world folder. Not sure how hard this would be to do, but it seems like the most reasonable thing to do as you can't have all the chunks loaded...
@aterruit It is slow. Speed can be somewhat configured. Will spiral out chunk for chunk. You enable it in the config. Material can be found here: http://jd.bukkit.org/rb/doxygen/d6/d0e/enumorg_1_1bukkit_1_1Material.html Link is in my signature