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.
This plugin was great, I used it a lot, can you please update it?
@Neo_Vortex
Alright, Thanks!
@Nickshelton80
You need to keep the generator installed, otherwise any newly generated chunks will be default.
Do we need to keep this plugin installed after creating a world with it? Or will different non "clean" chunks generate after I remove this?
@Jo11yWombat
That usage should work fine.
Are you sure the chunks were not already generated? This will not replace already-generated chunks. I trust you edited the config files while the server was not running?
WorldEdit's regen command works a treat to regenerate chunks instantly to check if the WGEN is in use or not.
Alternatively, is the world your spawn world? If so you _MUST_ define the generator in the bukkit.yml file (check the wiki for details) not in MV as spawn is loaded before MV and the WGEN can't be changed while the world is loaded.
Okay, so I got this working when creating a new world, but I have a slightly different use in mind. I have a custom made map (done in world painter) but when people get to the edge of the map, random seed stuff starts spawning all around it, which is ugly and distracting. So I was hoping I could use this so that all the land that's generated is just a vast ocean (8,dirt,3,sand,51,water). I can generate a new world like that, but when I edit the worlds.yml file in MV so that my main world uses this generator, it doesn't seem to work. Is there some way that I can get this to work? It'd be a huge boon to my server.
@Neo_Vortex
Thanks ill use the plugin
@CrazyDavid14K
This plugin predates the superflat generator. There is no biome support currently, but you can set the world type to superflat while still using this generator to allow more flexibility in the generated world.
See MultiVerse config options for more details, but if memory serves you add -t flat to the create option.
@Neo_Vortex
Can you change the worlds biome and also is this going to become like superflat generator like in single player ? that will be great if it does
@krulz5678
You'd have to look up the commands for MultiWorld. I haven't used it so I'm not sure what they would be.
How would I create an empty world with MultiWorld, instead of MultiVerse? Would it be the same?
@Talidorn
This does not touch biomes, if you want a single biome set the world type to superflat, if you want regular biome diversity leave the world type as normal.
Hey Neo,
I have a question for you. Will your plugin create the random biomes in a superflaat map (similar to regular generation of a non-flat world)?
Thanks
@gameacid13
I'd have to agree with SuperSpyTX's reply in that thread. You can check out the source on github to see how little this plugin actually does
https://github.com/nvx/CleanroomGeneratorNot much room for bugs, and it literally does nothing except for when Bukkit calls upon it to generate chunks. :)
I have seen bugs like this in the past caused by bugs in Minecraft itself and Bukkit, go figure. It could also be Spigot, but I'd tend more towards a MC or Bukkit bug.
@Neo_Vortex
I'm using spigot instead of bukkit. So I made a ticket for them to see if its there fault the the plugin dev's fault. http://www.spigotmc.org/threads/bug-with-empty-worlds.2341/
If its spigot's fault than its prob bukkits fault
@Neo_Vortex
It has to be in bukkit itself, because it only does it with a bukkit server on such a map, and it does it without WG
Hi, im trying to find a plugin because im running out of biomes to survive/build, have i found the right plugin?
@xsonarx
I'm not really convinced that WorldEdit is to blame either. WorldGuard or another plugin that listens to block break events, or a bug in (Craft)Bukkit itself.
@Neo_Vortex
I figured the problem in some way - its down to "world edit" - I 0'd it and set the blocks again in the area affected and now it works. with no spike and normal placing. Thanks for the reply and not jumping on me - well see what WE devs have to say.
@xsonarx
"MV flatmap" I assume you mean the vanilla flat world style? If so, it doesn't use a Bukkit WGEN. My suspicion is that the Bukkit WGEN handler code may be to blame.
Check out how simple the code is and you'll realise why I'm saying it can't possibly be this plugin at fault https://github.com/nvx/CleanroomGenerator
The only time it does anything is when it's told to, by Bukkit - and even then it doesn't do much. :)