
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
minecraft-chunk-dumper
Advanced tools
Dumps chunks for minecraft versions 1.7 to 1.15
To install a minecraftChunkDumper command line program, run:
npm install minecraft-chunk-dumper -g
$ minecraftChunkDumper --help
Usage:
minecraftChunkDumper [command] <minecraft-version> <options>
Example:
minecraftChunkDumper saveChunk "1.14.4" "chunk.dump" "chunk.meta" "chunk_light.dump" "chunk_light.meta"
Commands:
saveChunk <minecraft-version> <chunk-file> <meta-file> save a single chunk file to specified files
saveChunks <minecraft-version> <folder> <count> save the specified number of chunks to the given folder
continuouslySave <minecraft-version> <folder> continuously saves chunks to the specified folder, until the program is stopped
const ChunkDumper = require('minecraft-chunk-dumper')
const chunkDumper = new ChunkDumper('1.14.4')
async function run () {
await chunkDumper.start()
chunkDumper.on('chunk', (x, z, bitMap, chunkData) => console.log('I received a chunk at ' + x + ';' + z))
chunkDumper.on('chunk_light', ({ chunkX, chunkZ }) => console.log('I received a chunk light at ' + chunkX + ';' + chunkZ))
await chunkDumper.saveChunks('dumps/', 100)
await chunkDumper.stop()
}
run().then(() => console.log('All done !'))
You can enable some debugging output using DEBUG environment variable:
DEBUG="chunk-dumper" node [...]
ChunkDumper is a class which can dumps chunk for a given minecraft version.
It saves 2 type of files :
{"x":-10,"z":-1,"groundUp":true,"bitMap":15,"biomes":[1,2...]}for more recent versions (starting from 1.14), it also saves chunk light files :
{"chunkX":-10,"chunkZ":-1,"skyLightMask":15,"blockLightMask":15,"emptySkyLightMask":15,"emptyBlockLightMask":15}You should create an instance with the version you want. Then start it. You then have several possibilities :
When you are done, you should call the stop method to finish your session.
Build a new ChunkDumper for minecraft version
Downloads and starts the server then connect a node-minecraft-protocol client to it. Returns a promise when ready.
Stops the nmp client then stops the server. Returns a promise when finished.
Save 1 chunk in specified chunkFile and metaFile
Save 1 chunk light in specified chunkLightFile and metaChunkLightFile
Returns a promise when finished.
Save n chunks in specified folder Returns a promise when finished.
Continuously saves all chunk and metadata file to folder.
Stops saving chunks
Emitted when a chunk is received
MIT. Copyright (c) Romain Beaumont
FAQs
Dumps chunks for any minecraft version
The npm package minecraft-chunk-dumper receives a total of 0 weekly downloads. As such, minecraft-chunk-dumper popularity was classified as not popular.
We found that minecraft-chunk-dumper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.