Configuration
Config.yml
The main config file has 3 settings right now
- chunkchance - The chance that the plugin will spawn a schematic when a new chunk is created. Default is 1, which spreads out the schematics in a way that doesnt make them to crowded. Anything over 10 might make things way to crowded
- - debug - If true, displays extra debug info to the console
- - showspawnedlocation - Dispolays the location in the console of any newly spawned structures
Schematic yml's
Each schematic in a world folder must be accompanied by a YML file with the same name as the schematic file.
Here is what a sample schematics yml file might look like here is a what a sample config might look like:
place: ground maxspawns: 0 chance: 10 basementdepth: 0 anywhereminY: 50 anywheremaxY: 250 randomrotate: true biome: PLAINS pasteschematicair: true
Config Options
- anywhereminY/anywheremaxY - the minimum and maximum height the structure can spawn at if "place" is set to "anywhere"
- chance - When a chunk is loaded, it checks the chance of the chunk to generate something (by chunkchance in the Settings.yml). If it can, it runs through all the schematics and checks this number for each one. If multiple structures are chosen to generate on one chunk, it will randomly choose one of them to be generated. This means that this "chance" is relative and not an exact amount.
- maxspawns - the maximum amount of times this .schematic can spawn . set to 0 or remove this entirely from the config if you don't want there to be a limit
- basementdepth - if you have blocks that should be below-ground, this is the number of vertical blocks you want underground, so if I had a building of 30 blocks high, and I only wanted 10 to be above-ground, I would put '20' as the "basement".
- biome - the name of the biome which you want this schematic to spawn in. A list of possible biomes can be found Here . Currently supports one biome at a time, however future versions will be able to have structures spawn in more than one biome
- randomrotate - should this schematic randomly rotate? Default is true.
- pasteschematicair - If true, will place air included with the schematic as well
- place- can be set to any of these values:
- ground - the schematic will stick to the ground and not spawn over water
- anywhere - it can spawn anywhere within the .yml range of min and max
- air - it will only spawn in the air
- underground - it can only spawn underground\
Is it possible to have the structures spawn in multiple biomes? If so, how do you specify multiple biomes in the config?
This is fun to figure out, I'm having a great time with it. But some schems are just not pasting; I've figured that I cannot have a list of biomes for one schem, only one biome for each; that solves some issues. But what is this in configs: dontpaste: 0 Is that not paste air? I'd prefer it did; they're full of dirt and rock. So I would leave that blank? Maxspawns set to 0 in default; does that none can spawn? Should I put -1 to set no limit on that? Thanks for this great generator; it's really interesting to use!
Sorry for the late reply, if you have an issue or questions I would suggest making a ticket or posting in the comments section on the main page so I notice it quicker and can respond faster
Dontpaste is a feature I'm working on and I'm not sure how it made it into the config files, it kinda just half-exists in the plugin right now and will be implemented in a future release. If you don't want air to be pasted with the schematic when it spawns then set pasteschematicair to false
As for Maxspawns, yes setting it to 0 basically negates it, as does leaving the option out of the config entirely
As for having structures spawn in multiple biomes, yeah I can certainly add that
You could exchange the "zero" to -1
A nice mod, good work I'm using it a lot thanks.
I've got it running with TerrainControl generating the terrain/biomes & it all works fine until I generate chunks for world "sky" with no bedrock or bedrock replaced with AIR. At that point it issues msg: "[WorldSchematics] Found schematics in folder: sky" & the server stops responding.
It works when I have a single layer of bedrock, even if it's replaced with e.g. LAVA.
I agree with other comments that the ability to generate over multiple biomes would be good ... even a biome:all setting with exclude:biomename would be good.
Another thought would be surrounding block detection like TerrainControl does... i.e. generate only if the block immediately underneath is air, etc.
Keep up the good work!
It doesn't seem to be working I've added 4 and looked around and haven't found one of them
how do i make a ship i have made spawn in water? i have made a massive 46284 block ship using world edit, my server build team, and my redstone skills and i want to spawn it in the ocean. but all you have given me is
how do i spawn a ship in water.
and also how do i make it so when a house spawns it does not spawn and get filled with dirt or spawn in a hill or spawn inside a tree. i would really love if you could tell me the config message i must fill into the place:
slot thanks for reading.
oh and ps could you make a video about your plugin. that would be epic =P and it would make this alll soooooo easy and better to understand. thanks =P
oh wait i just found out how... i think
this works.... i am using the min of 62 y and the max of 63 y and made it to spawn at any spot in the 2 y spots so it will spawn on the ocean XD... i think...
place: anywhere
maxspawns: 0
chance: 20
basementdepth: 0
anywhereminY: 62
anywheremaxY: 63
randomrotate: true
biome: OCEAN
pasteschematicair: true