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.

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 normal -g CleanroomGenerator:5,wool:2 - Creates a map with layer0 as bedrock, followed by 5 magenta wool blocks.

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 data values using a ":" between the block id and the data value id. Numeric IDs only.

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Willcomputerguy799 Willcomputerguy799 Jun 01, 2015 at 14:53 UTC - 0 likes

    I have a bit of a problem. About 1,500 blocks from my spawn point, there is normal world, but it's weird. There's normal world, then CleanroomGenerator-generated-land, then more "normal" world (biomes, mountains, etc).

    I use this in combination with IslandWorld. I had this problem with normal world spawning about 500 blocks from my spawn, but I increased the total amount of free island spaces, and it seemed to have fixed it.

    I'm not sure if it's a problem with CleanroomGenerator, or IslandWorld, but I assume it'd be Cleanroom since IslandWorld doesn't technically modify world generation - or well, as far as I know at least.

    One thing to note, however, is that before I noticed the normal world spawning, I was using the WorldBorder "/wb fill" command. Could this command be generating normal world instead of what I set the world to be with Cleanroom?

    I was using "/wb fill" to force chunks to load so that my other plugin, Dynmap, would show the world (Dynmap shows the Minecraft world via a webpage).

    Given that this problem has happened before, I'm not entirely sure what's the cause: WorldBorder's fill command, IslandWorld, or CleanroomGenerator.

    Any ideas, anyone?

    Last edited Jun 01, 2015 by Willcomputerguy799
  • Avatar of Braytography Braytography May 10, 2015 at 16:09 UTC - 0 likes

    If you want the entire world to be a single biome you need to use

    -t flat

    in your multiverse create command.

    /mvcreate cleanroom normal -g CleanroomGenerator:5,dirt:30 -t flat

    http://i.imgur.com/y5Yl0ng.gif

  • Avatar of Neo_Vortex Neo_Vortex Dec 29, 2014 at 04:30 UTC - 0 likes

    @Hastylife: Go

    If your generator id is invalid you will get 1 bedrock 64 stone which is the default.

    You want something like this:

    /mvcreate cleanroom normal -g CleanroomGenerator:3,dirt,44,water

    The : is only used for data values (ie, coloured wool)

    BFAK:NVX,39563,8e1bd9bc913227d2dd65c1c3d5c9445d55f02b4cc922e23c924aa68f25d27349

  • Avatar of Hastylife Hastylife Dec 28, 2014 at 11:38 UTC - 0 likes

    How is it a get a 1 layer bedrock and 64 stone? /mvcreate cleanroom normal -g CleanroomGenerator:3,dirt:44,water

    What i want is 1 layer bedrock, 3 layer dirt, and 44 water.

  • Avatar of Neo_Vortex Neo_Vortex Dec 24, 2014 at 09:14 UTC - 0 likes

    @TheOnlyRealTGS: Go

    Correct. This is by design and a limitation of CraftBukkit.

  • Avatar of TheOnlyRealTGS TheOnlyRealTGS Dec 23, 2014 at 14:52 UTC - 0 likes

    Observation: If trying to generate a "root" world (spawn world) using any custom generator, you have to define it in bukkit.yml, else it seems not to work.

    Owner of MC-Simple Gaming! Hope to see you there :)
    Need a free BuyCraft alternative? Try MinecraftMarket! | Need a working Trade plugin? Try SimpleTrading!

    http://minecraft-mp.com/regular-banner-17943-3.png

  • Avatar of PaintTheZombie PaintTheZombie Sep 02, 2014 at 04:11 UTC - 0 likes

    @Neo_Vortex: Go

    I to am having this same problem as these other two, but the WGen is setup to for that map and defined as it's standard WGen. And mind is chunking very oddly, not as a radius. Everything South East of the spawn point is chunking as the CleanRoom setup for 5 bedrock and then water up to 70 blocks, but everything North West after about 500 blocks out starts to spawn as a normal world. and then after about 2 - 3 chunks of NORMAL map spawning wide, it goes into an endless world of stone. and while yes, the regen command for WE does work. it changes everything to stone, and not the water world i need.

    Last edited Sep 02, 2014 by PaintTheZombie
  • Avatar of XylenTV XylenTV Aug 07, 2014 at 23:40 UTC - 0 likes

    @gymova: Go

    I'm having the same issue.

  • Avatar of Neo_Vortex Neo_Vortex Aug 07, 2014 at 07:59 UTC - 0 likes

    @gymova: Go

    Sounds like a classic case of another plugin loading the world before MV is and starting it with no WGEN defined (WGENs can only be defined at world load, not redefined after).

    Define the WGEN config in bukkit.yml and your issues will be solved (note existing generated dirty chunks will remain dirty, WorldEdit's regen may assist in cleaning it up).

  • Avatar of gymova gymova Aug 06, 2014 at 10:57 UTC - 0 likes

    As I already said, in my world, the settings are restricted to a certain area. CleanroomGenerator is still in the multiverse settings[generator: CleanroomGenerator:17,stone,1,sandstone,3,sand,20,water] but it generates new chunks as normal ones with biomes etc. It happens about 1000 blocks away from spawn. It seems like it doesnt happen in every world or only after a certain time because I tried generating an empty world and there werent normal chunks, even 2000 blocks away from spawn. Does anyone else have this issue and does anyone know how to fix it?

    The most realistic Server in history - The Dubai Server - planned by

    http://gymova.de

Facts

Date created
Aug 30, 2011
Category
Last update
Mar 31, 2012
Development stage
Release
License
GNU Affero General Public License version 3 (AGPLv3)
Curse link
CleanroomGenerator
Downloads
143,185
Recent files
  • R: v1.0.0 for CB 1.4.7-R1.0 Mar 31, 2012
  • R: v0.0.4 for CB 1.2.3-R0.2 Aug 30, 2011

Authors