1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Using world generators other than "FLAT"

Discussion in 'Help' started by MadScientist, May 12, 2017.

  1. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    OK, so let's start with what I know, which is when you go to places like http://minecraft.tools and get a flatworld generator, it gives something like this:
    Code:
    2;7,2x3,2;1;
    And if I take that code and put it into the pocketmine.yml like this:
    Code:
    generator: FLAT:2;7,2x3,2;1;
    ...it will create a new flatworld to my specs, with all the layers I want... which is great.

    But what about more interesting worlds? The site also has a "custom worlds" page which gives something like this:
    Code:
    {"useCaves":true,"useStrongholds":true,"useVillages":true,"useMineShafts":true,"useTemples":true,"useRavines":true,"useMonuments":true,"useMansions":true,"useLavaOceans":false,"useWaterLakes":true,"useLavaLakes":true,"useDungeons":true,"fixedBiome":-3,"biomeSize":4,"seaLevel":63,"riverSize":4,"waterLakeChance":4,"lavaLakeChance":80,"dungeonChance":8,"dirtSize":33,"dirtCount":10,"dirtMinHeight":0,"dirtMaxHeight":255,"gravelSize":33,"gravelCount":8,"gravelMinHeight":0,"gravelMaxHeight":255,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHeight":80,"andesiteSize":33,"andesiteCount":10,"andesiteMinHeight":0,"andesiteMaxHeight":80,"coalSize":17,"coalCount":20,"coalMinHeight":0,"coalMaxHeight":128,"ironSize":9,"ironCount":20,"ironMinHeight":0,"ironMaxHeight":64,"goldSize":9,"goldCount":2,"goldMinHeight":0,"goldMaxHeight":32,"redstoneSize":8,"redstoneCount":8,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":8,"diamondCount":1,"diamondMinHeight":0,"diamondMaxHeight":16,"lapisSize":7,"lapisCount":1,"lapisMinHeight":0,"lapisMaxHeight":32,"coordinateScale":684,"heightScale":684,"mainNoiseScaleX":80,"mainNoiseScaleY":160,"mainNoiseScaleZ":80,"depthNoiseScaleX":200,"depthNoiseScaleZ":200,"depthNoiseScaleExponent":0.5,"biomeDepthWeight":1,"biomeDepthOffset":0,"biomeScaleWeight":1,"biomeScaleOffset":1,"lowerLimitScale":512,"upperLimitScale":512,"baseSize":8.5,"stretchY":12,"lapisCenterHeight":16,"lapisSpread":16}
    But when I try to put it into my pocketmine.yml like this:
    Code:
    generator: NORMAL:{"useCaves":true,"useStrongholds":true,"useVillages":true,"useMineShafts":true,"useTemples":true,"useRavines":true,"useMonuments":true,"useMansions":true,"useLavaOceans":false,"useWaterLakes":true,"useLavaLakes":true,"useDungeons":true,"fixedBiome":-3,"biomeSize":4,"seaLevel":63,"riverSize":4,"waterLakeChance":4,"lavaLakeChance":80,"dungeonChance":8,"dirtSize":33,"dirtCount":10,"dirtMinHeight":0,"dirtMaxHeight":255,"gravelSize":33,"gravelCount":8,"gravelMinHeight":0,"gravelMaxHeight":255,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHeight":80,"andesiteSize":33,"andesiteCount":10,"andesiteMinHeight":0,"andesiteMaxHeight":80,"coalSize":17,"coalCount":20,"coalMinHeight":0,"coalMaxHeight":128,"ironSize":9,"ironCount":20,"ironMinHeight":0,"ironMaxHeight":64,"goldSize":9,"goldCount":2,"goldMinHeight":0,"goldMaxHeight":32,"redstoneSize":8,"redstoneCount":8,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":8,"diamondCount":1,"diamondMinHeight":0,"diamondMaxHeight":16,"lapisSize":7,"lapisCount":1,"lapisMinHeight":0,"lapisMaxHeight":32,"coordinateScale":684,"heightScale":684,"mainNoiseScaleX":80,"mainNoiseScaleY":160,"mainNoiseScaleZ":80,"depthNoiseScaleX":200,"depthNoiseScaleZ":200,"depthNoiseScaleExponent":0.5,"biomeDepthWeight":1,"biomeDepthOffset":0,"biomeScaleWeight":1,"biomeScaleOffset":1,"lowerLimitScale":512,"upperLimitScale":512,"baseSize":8.5,"stretchY":12,"lapisCenterHeight":16,"lapisSpread":16}
    ...it doesn't seem to work. I've tried several variations, but nothing seems to work for me. All I get is the same default world.

    Is there some simple syntax change I've missed?

    Thanks!
     
  2. DaPigGuy

    DaPigGuy Slime

    Messages:
    86
    GitHub:
    DaPigGuy
    Caves, strongholds, and other structures aren't implemented.
     
    EdwardHamHam and MadScientist like this.
  3. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    Thanks, I'll remove the structures. But I've also tried with just the sea level flag and it doesn't seem to change anything. Can somebody please provide an example of a working generator string for something other than a flat world?
     
    Last edited: May 12, 2017
  4. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    You already know you can set level-type=DEFAULT in server.properties?
     
  5. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    Yes, I can get a default world. I want to have some additional control over the generation of that world. The generators like what is at minecraft tools allow control over vertical stretching, vertical stratification, relief amplification, ground smoothness, densities of ores, etc.. They look like what I've included below. How do you use those?

    {"seaLevel":25,"riverSize":2,"waterLakeChance":4,"lavaLakeChance":80,"dungeonChance":8,"dirtSize":26,"dirtCount":15,"dirtMinHeight":0,"dirtMaxHeight":255,"gravelSize":13,"gravelCount":8,"gravelMinHeight":0,"gravelMaxHeight":255,"graniteSize":33,"graniteCount":5,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":5,"dioriteMinHeight":0,"dioriteMaxHeight":80,"andesiteSize":33,"andesiteCount":10,"andesiteMinHeight":0,"andesiteMaxHeight":80,"coalSize":17,"coalCount":10,"coalMinHeight":0,"coalMaxHeight":128,"ironSize":9,"ironCount":20,"ironMinHeight":0,"ironMaxHeight":64,"goldSize":9,"goldCount":16,"goldMinHeight":0,"goldMaxHeight":32,"redstoneSize":8,"redstoneCount":8,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":8,"diamondCount":3,"diamondMinHeight":0,"diamondMaxHeight":16,"lapisSize":7,"lapisCount":12,"lapisMinHeight":0,"lapisMaxHeight":32,"coordinateScale":684,"heightScale":4249,"mainNoiseScaleX":80,"mainNoiseScaleY":160,"mainNoiseScaleZ":80,"depthNoiseScaleX":200,"depthNoiseScaleZ":200,"depthNoiseScaleExponent":0.5,"biomeDepthWeight":1,"biomeDepthOffset":0,"biomeScaleWeight":1,"biomeScaleOffset":1,"lowerLimitScale":398,"upperLimitScale":1948,"baseSize":8.5,"stretchY":28.37,"lapisCenterHeight":16,"lapisSpread":16}
     
  6. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    okay, do you see how the flatworld generator output looks different than the normal world generator output? That's why. I don't think the generation settings is parsed using json
     
  7. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    The question is more about what format does work? Or can we only custom-generate flat worlds with the current version? I thought some people had this working, but if nobody does then I'll leave it for now and look for a generator plugin.
     
  8. 0x15f

    0x15f Baby Zombie

    Messages:
    145
    GitHub:
    0x15f
    Look for a generator, this isn't implemented in PMMP.
     
    MadScientist and jasonwynn10 like this.
  9. MadScientist

    MadScientist Spider Jockey

    Messages:
    25
    OK, thanks. Any suggestions?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.