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.
@shrinerh
What was the issue out of curiosity? That's the first time I've heard of that happening before, so could be useful to know what the cause was in case someone else encounters it as well.
wait... holy crap, im so sorry. in screwing it up even more i actually figured out what happened. sorry to bug you. thanks so much. if i have any more problems though ill do that first so you could see first hand instead of hearing me blab about it. thanks!
@shrinerh
Correct, CR == CleanRoom :P
ok. i can most definitely do that but... this may sound like a noobish question so feel free to make fun, but whats the cr? the cleanroom generator?
@shrinerh
Oh ouch, can you delete all CR world folders, as well as any reference to CR in bukkit.yml and Multiverse configs, start the server (You're not using CR for the default world yeah?) and create the world again.
If it still fails, please provide the full log from server startup until when it crashed, as well as the exact command used to create the world.
i use the command to create the world. it begins to, and then kicks me. i cant log back in, so its down, but the log is frozen. then after a few minutes, it says it timed out. i looked at the world folder, and it didn't create the level.dat file, so its not even playable
@shrinerh
Does it crash off the cuff? Or only once you try teleporting? It could be a bug in Multiverse when there is no safe location at all in which to place you.
Can you provide the crash logs?
first of all thanks. but its not the generation of blocks to build from that concerns me. it wont even allow the plugin to generate a playable world. multiverse stops it and crashes the server
@Anciteify
What blocks are generated is dependant on the generator id as described at the top of this page - once blocks are generated CR will not replace blocks, you can change the ID while the server is offline and use regen in WorldEdit or a similar plugin to regenerate areas though.
@shrinerh
There is a way to disable Multiverse's checking (I can't remember how offhand) once off for situations like this (protip, god mode yourself and have a fly mod enabled first).
Alternatively use another teleport plugin to get to the world the first time around, by definition landing on exposed void is not safe :)
I installed it and it looks awesome and easy to use, but i want to generate a totally empty world. when i go to do so, Multiverse, my multiworld plugin, works and then tells me that "spawn location from world.dat file was unsafe. Adjusting..." then it comes up timing out. It wont even give me a level.dat file that i can use to MCEdit in a block to build off of. Sorry that I typed up a storm here, but I really want to use this plugin, I just need help with this. Thanks!
@Neo_Vortex
Oh sorry about that, I mean how can I change the stone to grass in bukkit.yml for the main world?
@Anciteify
Umm, can you reword that? It made no sense to me...
How I change layers in the main world if I use the plugin to genetor it in the main world folder?
I really love this generator! =D ..but I hope it updates soon, to fix the Biome-Grass color issues.. It'd be nice if the grass didn't have large brown/swamp grass areas all over.
Anyway, thanks for the best flatgrass map generator out there right now! =3
Just what I need! Thanks!
Nice plugin. I love it. Something like this on SSP should rock it! (I am not demanding you to do this on SSP, It's just an opinion)
Excellent plugin, thanks. Working well with MyWorlds 1.18 on CraftBukkit #1318.
@JoshP95
You can, as long as you import the world using Multiverse and specify the same generator and generator id during the import.
Hey! I've recently redone my server but I'm bringing over a map that I created using CleanroomGenerator. Will this world continue to generate the cleanroom chunks, considering that I have redone all other plugins such as Multiverse?
If it won't carry over, is there a way I can give the world the seed for it then to generate the right chunks from now on?
Thanks :)