Page 1 of 1

Reseed Area Command...

PostPosted: Mon Mar 03, 2014 13:27
by TenPlus1
After a while when a lot of the map has been generated on a server, users play and strip things they need like trees, plants, grass etc. and leave an area barren.. or.. if you make changes to a mod where you want a certain item or plant to spawn into a specific area you have to look elsewhere for something that hasn't been generated yet... so... wouldnt it be handy to have a "/reseed" command where you could simply stand in that certain area and the mapgen would replant/reseed plants, trees and other items for a specific range of land...

PostPosted: Mon Mar 03, 2014 14:42
by Krock
TenPlus1 wrote:After a while when a lot of the map has been generated on a server, users play and strip things they need like trees, plants, grass etc. and leave an area barren.. or.. if you make changes to a mod where you want a certain item or plant to spawn into a specific area you have to look elsewhere for something that hasn't been generated yet... so... wouldnt it be handy to have a "/reseed" command where you could simply stand in that certain area and the mapgen would replant/reseed plants, trees and other items for a specific range of land...

So like an chunk deleting command to force re-generation. I would like that idea for lava which got *somehow* on a empty hill and *somehow* was there a water source over that all.

PostPosted: Mon Mar 03, 2014 16:33
by Sokomine
It is possible to delete mapblocks on the database level. That's not very practical as you'd have to determine the mapblock IDs somehow. Plus mapgen seems to work on several (5x5?) mapblocks at a time - thus deleting some blocks while retaining other mapblocks around might lead to problems/undesired mud flowing etc.

TenPlus1 wrote: wouldnt it be handy to have a "/reseed" command where you could simply stand in that certain area and the mapgen would replant/reseed plants, trees and other items for a specific range of land...

Perhaps that idea might be very intresting in a way after all. Not the way you might have in mind - ethereal does need growing saplings instead of a reseed command - but for mods like undergrowth beeing added to an existing map. It might be possible to use minetest.registered_on_generateds to call register_on_generated for a mapblock a second time. You'd still have to know exactly what you're doing and what all mods you've got installed that use on_generated do - else you might destroy your world.

Krock wrote:So like an chunk deleting command to force re-generation. I would like that idea for lava which got *somehow* on a empty hill and *somehow* was there a water source over that all.

Talk to VanessaE about it. She had the same lava problem and found a solution for that specific problem.

PostPosted: Fri Apr 11, 2014 08:28
by TenPlus1
Usually for lava or water problems on a server WorldEdit is the easiest way to get rid of it...e.g:

//replace lava_source air
..and..
//raplace lava_flowing air

..but being able to regenerate a whole area with tree's and flowers would also be a nice touch to the game (with specific privelages to suit)...

PostPosted: Fri Apr 11, 2014 13:34
by JPRuehmann
Hello

Perhaps that could be a solution to my Problem with Wobblycactus to.
After enabling it it has spawned so many mobs that the server lags and the Client to.
Disabling the mod and using the clean mod helps, but if I reenable the mod with new tested settings the old mobs reapear.
But with your Idea this could be repaired I think,

We´ll see.