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.
@cheese5505
About 6 months ago.
When will this be out for 1.2.3? My server needs it ASAP.
@BeastsMC
That means that another plugin you are using on your server is conflicting with it. A lot of poorly written teleport/warp/gate/etc plugins seem to do this.
There seems to be some conflict with this and Multiverse, or this plugin just isn't working. I generated a 3000x3000 flatmap for my server about a month ago, and everything was going good. However, after the first generating of the world (yes, I set up MV to use it as a generator), any newly generated land was not FlatLand. I'm not sure if this plugin just stops working, or if Multiverse isn't working right, but this is a bug. Also, it began before 1.2, so it's not a new glitch.
Well good news so far, this seems to work just fine for 1.2.3! Even seems like the map's biome stays constant, standard color grass.
Does anyone know if this mod works with 1.2.3? I guess I'll try it in a bit, and post an update either way..
JackieSmash, I'd assume, since Jeb's new map format in 1.2.3 stores Biome data in the map blocks now, that map-generators like this SHOULD be easily able to control biomes. At least I hope soon, once this gets updated.
Is there any way I can generate a flatmap with only one biome? Just so the grass doesn't change color.
nvm i just tested it.
I have a question. If you generate the world with multiverse using CleanroomGenerator then remove CleanroomGenerator from the plugins list, then you go on the flat world and load new chunks would the chunks that were just rendered be flat too?
@VoltageB
Thanks for your enthusiasm, but the current version of CR should run fine under R5. I have just done a test building against the latest development release of R5 and no depreciated methods are used. When R5 comes out, if you have any issues, let me know as it shouldn't take much to fix if anything does arise.
The next recommended build is for Minecraft 1.2, R5, and I and everyone who uses this plugin will greatly appreciate it if you can get a head start on the plugin so it's update to support the new revision when Minecraft 1.2 is officially released along with Bukkit R5.
Yah I can confirm from what I see it still works fine with the latest MV build.
@MC Server Owners - Can anyone confirm if this is working with the latest CB 1.1-R3 & the latest Multi-verse v2.3AB? I have 2 worlds that use this.
Is there any way to create a empty "space" world because whenever I do it crashes the server, and the world I created is from then on unaccessable both in game and world editing... Any help?
Could you please update the plugin to automatically set CleanroomGenerator worlds type to FLAT, to set the void under y = 0, like SkylandsPlus+ ?
By the way, it can't generate blocks at the level 127, could you fix that ? I've created a world like "126,0,1,7" and there's no bedrock at the level 127... But WorldEdit can generate blocks at this level.
@NikoKun
With any luck, yes :P
Assuming the map type is specified as an environment (ie, the same as normal/nether for example), then it shouldn't require any changes in CR.
Another option to try to remove biomes is go with the nether world type, but that will give some other effects instead if memory serves, but food for thought.
Since the latest Minecraft update has a flat-world generator option.. And once Bukkit updates to support that latest version..
In theory, if we tell Multiverse to generate a new map using the Flat world-type, and use CleanroomGenerator to customize the layers (since default flat is elevation 4, yuck), Shouldn't doing this remove the Biomes? =D
From what I'm hearing, flat-worlds don't have biome-grass, just even green color.. So HOPEFULLY this will mean that we'll be able to generate Cleanroom maps, without biome colors, at little or no extra work for the plugin dev? ^_^
I hope so! =D
Hi, sorry to replay late, you asked what the issue was. It was simply that Multiverse has a build in protection thing or whatever that wont allow the world to be used or created in a few cases because theres no land under spawn. it was interesting.
@onlinegamer24
It means the Cleanroom Generator is no longer active as the WGEN for that world - possible causes include another plugin conflicting, or you made the default world the cleanroom.
If your default world is not the cleanroom, paste full startup logs and I'll see if I can identify which plugin is causing it, if it is your default world, you must add the generator to your bukkit.yml file (this can also fix plugin issues by virtue of it being a dirty hack).
I used clean room generator and when i went to the world after a certain point hills started to appear like as if i used mcEdit... anyway to fix that?