Manic Digger

It is currently Tue Oct 24, 2017 4:03 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ability to set map generator in server config file
PostPosted: Sat Feb 04, 2012 4:26 pm 
Offline

Joined: Fri Jul 08, 2011 10:55 pm
Posts: 159
Location: Karlsruhe, Germany
Hi,

I added the ability to set the used map generator in the ServerConfig.xml file.
Therefore, I added a new entry (<GeneratorType>) in the config file:

Quote:
<MapGenerator>
<RandomSeed>true</RandomSeed>
<Seed>0</Seed>
<GeneratorType>Noise2DWorldGenerator</GeneratorType>
<TreeCount>20</TreeCount>
</MapGenerator>


At the moment, you can choose between:
  • NewWorldGenerator: the default generator (mineserver)
  • Noise2DWorldGenerator: old default generator
  • Noise3DWorldGenerator: experimental generator (floating islands)
  • FlatMapGenerator: simple flat map

NewWorldGenerator:
Image

Noise2DWorldGenerator:
Image

Noise3DWorldGenerator:
Image

FlatMapGenerator:
Image


When you switch the map generator, better create a new savegame.
The transitions between two generators may look weird:

Image

Maybe someone finds this useful...

Regards


Attachments:
0001-Added-ability-to-set-map-generator-in-ServerConfig.xml,-FlatMapGenerator-added..patch [7.54 KiB]
Downloaded 83 times
Top
 Profile  
 
 Post subject: Re: Ability to set map generator in server config file
PostPosted: Thu Feb 09, 2012 10:19 pm 
Offline
User avatar

Joined: Mon Dec 19, 2011 8:05 pm
Posts: 56
The best! :D

_________________
Long time :).


Top
 Profile  
 
 Post subject: Re: Ability to set map generator in server config file
PostPosted: Thu Feb 16, 2012 1:46 pm 
Offline
Site Admin

Joined: Mon Jun 21, 2010 12:02 pm
Posts: 394
I added this patch.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group