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.
@z00100100
It's on my todo list, you can achieve it in the meantime by setting the world type to superflat instead of normal.
@SpartaMercenary
Should work fine.
@MrJackblue
Use WorldEdit's regen command
Hi,
Have you got any idea for add CleanroomGenerator feature with an existent map ? And can you give me the command to regen a bad generated chunk ? Thank you for your futur reply ! and sry for me bad english é_è
Cordially, Jackblue
Does the 1.0.0 version of this work on CB 1.3.1 or do we have to wait for an update?
@z00100100
Generate only one bio!!!??? Your a mad man!
hay I know that this isn't where you put requests but i thought it may be easier. is it possible to make the generator generate only one biome instead of different ones?
@TampaPowers
Paste your bukkit.yml and server startup logs in a code block here.
@Neo_Vortex
What if that does not work, i have the same issue?
@curienx
You have a plugin that is conflicting with the WGEN. Chances are it's a teleport/warp/home/etc style plugin. You may be able to get it to work by defining the generator in your bukkit.yml file.
so i got a question, did the clean room world and all was good but now the real world is generating in clean room. im not sure whats going on anyone know any fixes? also not sure was looking at the plugin list are coders been handling and it ses that the clean room generator is disabled not sure y that is or whether it needs to be on at all times or not
@LunariusHaberdash
Unfortunately this plugin will not suit your needs, unless you want a plugin that is solid from 0-255 without any variation or ores.
I'm not sure if this will do the job, but if not, it's probably the closest plugin out there: http://dev.bukkit.org/server-mods/terrain-control/
So I'm on a quest, and it's getting a little frustrating as I keep coming THIIIIIS close, and then, *faceplant*
I am looking for some mystical plug-in or combination of plug-ins that will create a world that is completely subterranean from 0-256, still filled with naturally occurring stuff (ore, lava, water, etc), that'll play nice with the GiantCaves plugin. I keep finding ones I think will *ALMOST* work, but they never quite do.
Anyone have any idea how to create an entirely subterranean world with ores, lava, caves, and the like?
I think the description needs some pics or a vid
@DarkFusioN007
As long as you don't have any teleports -to- your cleanroom managed with Creative Gates you probably won't run into any issues.
creative gates nor problems :D
We can has pikchas? Plz?
@Suembeaux
Pretty sure Essentials would if you have any warps, homes or spawns set in the cleanroom managed by essentials, and MyWarp would probably cause it as well if you have any warps to the cleanroom managed by MyWarp.
Just set the generator in your bukkit.yml file for all your cleanrooms as per http://wiki.bukkit.org/Bukkit.yml#.2AOPTIONAL.2A_worlds and restart (not reload!) your server. You can use WorldEdit's regen command to test that it's generating the correct chunks after to ensure it's working (go find an area that was generated as normal terrain and do regen on it). Best would be to re-generate the world entirely though (by deleting the world folder) to ensure it's fully clean though (making a backup first and moving creations over naturally).
Let me know how you go.
@Neo_Vortex
I understand MyWarp is sort of an outdated plugin now, may that be the one causing it? The failing generator has been found on a fairly lean server with very few unnecessary plugins. How would I add the generator code to my bukkit.yml? Also a list of my plugins if this helps any: Cleanroom Generator 1.0.0 Essentials pre2.9.12 Multiverse-Core-2.4 Multiverse-Portals-2.4 MyWarp 2.2 Timeshift 2.2 WorldEdit 5.2 WorldGuard 5.5.1
Thanks!
@Suembeaux
Another plugin is conflicting with Multiverse and is loading the world without the generator. Either add the generator to your bukkit.yml or remove the offending plugin. A lot of teleport/warp/etc plugins cause this kind of issue.