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.
-
View User Profile
-
Send Message
Posted Oct 14, 2012@JustJimmy123
In theory, yes using WorldEdit's regen command. In practice, it's easier to make a new world and just use WorldEdit's copy and paste to move things over that you want.
-
View User Profile
-
Send Message
Posted Oct 14, 2012Really noob question. But, I'll give it shot, is it possible to re-generate worlds as clean rooms? So only certain buildings I select stay?
Thanks :P
-
View User Profile
-
Send Message
Posted Oct 10, 2012@michaeldriskell
The current way to achieve that is by setting the world type to FLAT.
-
View User Profile
-
Send Message
Posted Oct 9, 2012I use this for skyblock, and so do a lot of people. So i may not be the only person with the Taiga (snow) biomes getting annoying. Can you implement a way to avoid the generation of biomes other than a forest biome or something? Thanks, it'd help a lot...
-
View User Profile
-
Send Message
Posted Oct 5, 2012@notif
It's impossible for chunks to have 'nothing' in them and actually exist. So yes, they have air.
As for not generating new chunks, you're looking at the wrong plugin. This is a chunk generator, it generates chunks. You'd want a world limiting plugin or the like.
-
View User Profile
-
Send Message
Posted Oct 5, 2012- Do chunks generated without anything in them still have air blocks? If so, do air blocks take up as much memory as normal blocks?
- Another option, to not generate any new chunks?
-
View User Profile
-
Send Message
Posted Oct 2, 2012@Neo_Vortex
After upgrading it to 1.3.2-R1.0 the issue remains persistent.
I decided to generate a new world with: /mvcreate cleanroom normal -g CleanroomGenerator:.
Same exact thing.
-edit-
After disabling the latest, buggy version of NoLagg, everything works again!
-
View User Profile
-
Send Message
Posted Oct 2, 2012@notif
That's your problem. Update to 1.3.2-R1.0 and it will fix that issue. There are a few known issues in that version that have since been fixed in 1.3.2-R1.0.
-
View User Profile
-
Send Message
Posted Oct 2, 2012@Neo_Vortex
Either 1.3.2-R0.2 or 1.3.2-R0.1
The hosting company we use doesn't say exactly which we have, or if it was updated. Probably 1.3.2-R0.2 since that's the beta build, and that's what it's set to use.
-edit
Typing /ver gave me 1.3.2-R0.1
-
View User Profile
-
Send Message
Posted Oct 2, 2012@notif
What version of CraftBukkit are you running?
-
View User Profile
-
Send Message
Posted Oct 2, 2012There's this issue with the first block created in a new chunk not showing up until relogging, and then there's the issue of not being able to create blocks to the next chunk over, until again, relogging.
This might be due to first generating the world in mcedit, with 256 height (which was probably, in spite of that, was 128), after that, adding a schematic to the world, then converting it in client, finally importing it with the CleanroomGenerator:. filter. .
I would like to know if there's a fix for this.
-
View User Profile
-
Send Message
Posted Sep 28, 2012Hey guys, just a quick update, CraftBukkit 1.3.2-R1.0 fixes both issues where empty chunks generate random "junk", and the "dark empty world" bug.
If you were having this issue, ensure you are running at least 1.3.2-R1.0 which should fix it. No update to CleanroomGenerator is needed.
-
View User Profile
-
Send Message
Posted Sep 24, 2012Indeed...
I think i'll wait for the release of 1.3.2, i hope the problem of the "odd junk" disappear whit the futur release build, and i can't wait for the 1.4, even if it is not really urgent to need a empty world for now =)
-
View User Profile
-
Send Message
Posted Sep 24, 2012@Nymphx76
See https://bukkit.atlassian.net/browse/BUKKIT-2206 for more details
Build #2296 and earlier do not have this issue. Build #2297 the issue starts Build #2351 onwards the issue is fixed
So yes, 1.3.1-R2.0 is affected, 1.3.2-R0.1 is not affected.
On the other hand 1.3.2-R0.1 some people have had issues with it generating some odd junk in the chunks, so YMMV, but it does at least fix the issue you're having currently.
-
View User Profile
-
Send Message
Posted Sep 24, 2012Damn !
I use the latest release build (CraftBukkit 1.3.1-R2.0).
So if i update to 1.3.2-R0.1 the bug disappear ? but it's a beta build, and I'm afraid there is instability.
And so what version of craftbukkit is run on correctly whit your plugin ?
-
View User Profile
-
Send Message
Posted Sep 24, 2012@Nymphx76
That's a bug with the version of Bukkit you're running.
-
View User Profile
-
Send Message
Posted Sep 24, 2012Hi !
In solo mod no problem whit empty chunk, but when i go in bukkit whit multiverse, the world make a "dark empty world" and impossible to build !
I try to make block whit worldedit, work fine whit pos 1 & 2 and reconnect to the server for show block but arrive at the edge of the chunk, appears dark on one side and the game lag.
I take a screenshot, it will be easier to explain that, because i am french and it is a little difficult to speak correctly english ^^
http://uppix.net/d/1/b/36f71a0fba9f44d420e4ae8eba893.png
In addition you can see on the screenshot that rei's minimap leaves dragged, it proves that there is a great big bug ^^
-
View User Profile
-
Send Message
Posted Sep 23, 2012@TheFluffey
Sounds like another plugin is loading the world before Multiverse is - a quick cheap fix is to define the WGEN in your bukkit.yml file as well - else track down the offending plugin and nuke it (yelling at the author in the process).
-
View User Profile
-
Send Message
Posted Sep 23, 2012@Skydevil_
What build of CraftBukkit are you using? There was a version that had a bug that caused exactly that, but it's been fixed in the latest versions I believe.
-
View User Profile
-
Send Message
Posted Sep 23, 2012@Neo_Vortex
I have an issue where chunks generate outside of my original chunks - For example I generate a world and go into it. It loads some local chunks. I log out without moving. I log back in and if I go outside the chunk range that was already loaded, populated chunks are forced to load.