CleanroomGenerator
This plugin can be used by world managers such as MultiVerse (version 2.0+) as a Custom Chunk Generator to create customisable flat clean room style worlds.
Your world manager must support Custom Chunk Generation or this will not work. MultiVerse only supports it in version 2.0 and later.
Example usage with MultiVerse: /mvcreate cleanroom normal -g CleanroomGenerator:64|stone
This will create a new world named "cleanroom" with the layer 0 as bedrock and layers 1-64 as stone, thus giving 65 total layers (including bedrock). Block ids are also valid in place of block names.
You can also specify multiple layers such as: /mvcreate cleanroom normal -g CleanroomGenerator:10|stone|20|dirt|1|grass
This would create a new world named "cleanroom" with layer 0 as bedrock, layers 1-10 as stone, layers 11-30 as dirt, and layer 31 as grass thus giving 32 total layers (including bedrock).
If the generator id is prefixed with a "." character, layer0 will not be generated as bedrock by default, allowing you to create space maps, or have a different block at layer0. For space maps, the spawn is set to y=64 to allow some falling before damage is taken. Fly mods are recommended for this sort of map.
If the generator id is prefixed with a "^" character, the first layer will be generated at y=-64 rather than y=0. Note this can be combined with the previous option in any order, eg "^." or ".^" are the same.
Some more examples:
/mvcreate cleanroom normal -g CleanroomGenerator: - Creates a map with only layer0 as bedrock.
/mvcreate cleanroom normal -g CleanroomGenerator:. - Creates an empty 'space' map.
/mvcreate cleanroom normal -g CleanroomGenerator - Creates a map with layer0 as bedrock, followed by 64 stone (default when no generator id is specified).
/mvcreate cleanroom noraml -g CleanroomGenerator:1|minecraft:grass_block[snowy=true] - Creates a map with bedrock followed by snowy grass (this is an example of the modern format)
More examples can be found at the Wiki
Features:
- Customisable height and block types of cleanroom.
- Support for multiple layers.
- Commands like WorldEdit's regen will regenerate the correct blocks.
- World sizes are not restricted as is the case with mcedited cleanroom maps.
- Only generates chunks as required.
- Able to create infinite space maps (using "." as the generator id to skip generation of the bedrock).
- Supports arbitrary height worlds (to within what CraftBukkit/Minecraft supports) - tldr: Supports 128-height and 256-hight worlds.
- Supports modern block naming and data values like minecraft:grass_block[snowy=true]
Version 1.0.0 and earlier of this plugin used a comma (,) as a separator and a colon (:) to specify block data values. 1.1.0 and above use a | to avoid conflicting with modern block names and do not support block data values in favour of the modern block naming format.
Known Conflicting Plugins:
Any plugin which calls createWorld itself rather than letting your world manager plugin call it (with the appropriate parameters to specify WGEN) will cause issues. The following are known to cause conflicts, please let me know if you find any other plugins causing issues, or if any listed have been updated to no longer cause issues with custom WGENs.
- Creative Gates
I accept pull requests on GitHub. For bug or feature requests, please use the GitHub Issues Tracker for this project.
@kaldata32
This works on 1.7.10
And willing to bet it works on 1.8.8 as well.
Pls for 1.7.2
I have a bit of a problem. About 1,500 blocks from my spawn point, there is normal world, but it's weird. There's normal world, then CleanroomGenerator-generated-land, then more "normal" world (biomes, mountains, etc).
I use this in combination with IslandWorld. I had this problem with normal world spawning about 500 blocks from my spawn, but I increased the total amount of free island spaces, and it seemed to have fixed it.
I'm not sure if it's a problem with CleanroomGenerator, or IslandWorld, but I assume it'd be Cleanroom since IslandWorld doesn't technically modify world generation - or well, as far as I know at least.
One thing to note, however, is that before I noticed the normal world spawning, I was using the WorldBorder "/wb fill" command. Could this command be generating normal world instead of what I set the world to be with Cleanroom?
I was using "/wb fill" to force chunks to load so that my other plugin, Dynmap, would show the world (Dynmap shows the Minecraft world via a webpage).
Given that this problem has happened before, I'm not entirely sure what's the cause: WorldBorder's fill command, IslandWorld, or CleanroomGenerator.
Any ideas, anyone?
If you want the entire world to be a single biome you need to use
-t flat
in your multiverse create command.
/mvcreate cleanroom normal -g CleanroomGenerator:5,dirt:30 -t flat
@Hastylife
If your generator id is invalid you will get 1 bedrock 64 stone which is the default.
You want something like this:
/mvcreate cleanroom normal -g CleanroomGenerator:3,dirt,44,water
The : is only used for data values (ie, coloured wool)
How is it a get a 1 layer bedrock and 64 stone? /mvcreate cleanroom normal -g CleanroomGenerator:3,dirt:44,water
What i want is 1 layer bedrock, 3 layer dirt, and 44 water.
@TheOnlyRealTGS
Correct. This is by design and a limitation of CraftBukkit.
Observation: If trying to generate a "root" world (spawn world) using any custom generator, you have to define it in bukkit.yml, else it seems not to work.
@Neo_Vortex
I to am having this same problem as these other two, but the WGen is setup to for that map and defined as it's standard WGen. And mind is chunking very oddly, not as a radius. Everything South East of the spawn point is chunking as the CleanRoom setup for 5 bedrock and then water up to 70 blocks, but everything North West after about 500 blocks out starts to spawn as a normal world. and then after about 2 - 3 chunks of NORMAL map spawning wide, it goes into an endless world of stone. and while yes, the regen command for WE does work. it changes everything to stone, and not the water world i need.
@gymova
I'm having the same issue.
@gymova
Sounds like a classic case of another plugin loading the world before MV is and starting it with no WGEN defined (WGENs can only be defined at world load, not redefined after).
Define the WGEN config in bukkit.yml and your issues will be solved (note existing generated dirty chunks will remain dirty, WorldEdit's regen may assist in cleaning it up).
As I already said, in my world, the settings are restricted to a certain area. CleanroomGenerator is still in the multiverse settings[generator: CleanroomGenerator:17,stone,1,sandstone,3,sand,20,water] but it generates new chunks as normal ones with biomes etc. It happens about 1000 blocks away from spawn. It seems like it doesnt happen in every world or only after a certain time because I tried generating an empty world and there werent normal chunks, even 2000 blocks away from spawn. Does anyone else have this issue and does anyone know how to fix it?
Using last version of multiverse and CleanRoomGenerator, when i attempt to create a empty 'space' map it creates a normal map :/
Thanks for creating and sharing this plugin.
CleanroomGenerator version 1.0.0 works on Craftbukkit 1.7.9-R0.3 Build 3097 and Spigot 1.7.9-R0.3 Build 1521
Thanks,
LHammonds
Can i use this plugin to generate a nether world without any fortresses.
@Neo_Vortex
No it isnt.. I made kind of a water world and its restricted to a certain area and after that, normal rendering begins. Do you know what to do?
@Archarin
Vines are growing into the void somewhere on the map. I recommend a plugin like NoVines on cleanroom generator worlds.
@Beeperdp
No, he means bukkit.yml
See the wiki entry for bukkit.yml for details: http://wiki.bukkit.org/Bukkit.yml#.2AOPTIONAL.2A_worlds
@chakyl
He means in server.properties I think.
@itsEzreal
Looks like a rendering bug, restart the client and see if it fixes itself.