Hey,
Is it posible to disallow chunk creation using plugin ?
Or perhaps a ini setting ?
ini setting max size of world.
Or by plugin getting chunkGen(int,int)
return true to allow it return false to disallow it.
This way we can easily stop the world from expanding.
Or even create a strait line of chunks etc.
You can override the generator with a plugin to only create empty chunks. Empty chunks take nearly no disk space at all due to compression
Quote:This way we can easily stop the world from expanding
If you're planning to bound
players somehow - it's better done with teleportation and OnPlayerMove hook, I think...
If so - go ahead, I would be thankful for such a plugin (heck, can't allow for all plugins I need to be written by me

)
Why not ?
If its being done its better being done right..
So go ahead

.
And how do i overwrite chunks got a sample ?
Quote:how do i overwrite chunks
Well, that's where things are complicated

We can't access chunks directly in lua (hmmm... Can't remember exactly why not, but it was some kind of multithreading-related stuff)
But we can use cBlockArea or whatever it's called exactly! There's where math kicks in: you got to calculate your cBlockArea cuboid for given chunkX, chunkY coordinates.
And I don't have any example yet, because I wasn't touching it still. Though I will be soon(-ish), but that's not guaranteed.
But you don't need to overwrite whole chunk just to cancel its generation! Just return true (?) with OnChinkGenerating hook if you need in to be done with current chunk.
Sorry i dont mean overwrite, i mean create empty chunks like faketruth said :$.
Oh so i can just return true onchunkgeneration to cancel it ?
Sweet thanks

.