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


  • 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 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)


  • 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!

  • 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

  • Avatar of Pantherita Pantherita Jul 28, 2014 at 01:55 UTC - 0 likes

    Using last version of multiverse and CleanRoomGenerator, when i attempt to create a empty 'space' map it creates a normal map :/

  • Avatar of LHammonds LHammonds Jul 04, 2014 at 22:18 UTC - 0 likes

    Thanks for creating and sharing this plugin.

    CleanroomGenerator version 1.0.0 works on Craftbukkit 1.7.9-R0.3 Build 3097 and Spigot 1.7.9-R0.3 Build 1521




    Minecraft Server:


Date created
Aug 30, 2011
Last update
Mar 31, 2012
Development stage
GNU Affero General Public License version 3 (AGPLv3)
Curse link
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