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 TheTroll1087 TheTroll1087 May 11, 2013 at 17:01 UTC - 0 likes

    Hi, im trying to find a plugin because im running out of biomes to survive/build, have i found the right plugin?

  • Avatar of Neo_Vortex Neo_Vortex Apr 16, 2013 at 07:40 UTC - 0 likes

    @xsonarx: Go

    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.

    BFAK:NVX,39563,8e1bd9bc913227d2dd65c1c3d5c9445d55f02b4cc922e23c924aa68f25d27349

  • Avatar of xsonarx xsonarx Apr 15, 2013 at 18:54 UTC - 0 likes

    @Neo_Vortex: Go

    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.

    1. this only happens in the cleanroom generator map - rest is fine.
    Last edited Apr 15, 2013 by xsonarx
  • Avatar of Neo_Vortex Neo_Vortex Apr 14, 2013 at 22:41 UTC - 0 likes

    @xsonarx: Go

    "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. :)

  • Avatar of xsonarx xsonarx Apr 14, 2013 at 22:23 UTC - 0 likes

    @Neo_Vortex: Go

    Server restart and now on CB Beta #2755 - same problem, but also with a cpu spike from 5% to 30% when placing the block. (only on level 82 in certain places).

    not sure whats causing this, ive only just started using this addon and ive never had the problem on the MV flatmap generator or any other map.

    Last edited Apr 14, 2013 by xsonarx
  • Avatar of Neo_Vortex Neo_Vortex Apr 14, 2013 at 01:41 UTC - 0 likes

    @xsonarx: Go

    I'm going to say no, and if it is, it'd be a Bukkit-side bug. The generator has nothing to do with a chunk after it's generated.

  • Avatar of xsonarx xsonarx Apr 13, 2013 at 22:56 UTC - 0 likes

    Bukkit: #2738

    Bashing a block on level 82 and then filling that block will cause minecraft to freeze for a little while but then comes back normal with no errors in the log.

    This don't happen 24/7 it is in random places. This only happens in my empty map.

    Could this be due to world edit and the generator data?

    Ps: a restart may fix the issue -> but I'm bringing it up.

    Last edited Apr 13, 2013 by xsonarx
  • Avatar of Talidorn Talidorn Apr 07, 2013 at 02:44 UTC - 0 likes

    @Neo_Vortex.

    Thanks for the pointer to the bukkit wiki. I hadn't noticed the optional section for world creation with generators previously... thanks for helping clear up my oversight.

  • Avatar of Neo_Vortex Neo_Vortex Apr 06, 2013 at 23:35 UTC - 0 likes

    @babababagagaga: Go

    Try creating a new world with -g CleanroomGenerator:. then shut down the server, delete the newly created world folder, and replace it with your empty space map's world folder.

    Alternatively, when importing the world you should be able to specify -g CleanroomGenerator:. as one of the import parameters.

  • Avatar of babababagagaga babababagagaga Apr 06, 2013 at 20:14 UTC - 0 likes

    Is it possible to import a empty space map? for example my map is a floating psawn with nothing around it if i use multiverse to import it it will spawn flat land, so is there a way to get rid of it spawning flat land? I tried to copy and paste it into a already created cleanroom map but it crashed my server due to the huge spawn we have

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
64,065
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