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

    Thanks,

    LHammonds

    Website: HammondsLegacy.enjin.com

    Minecraft Server: HammondsLegacy.com

  • Avatar of marubal21 marubal21 Jun 18, 2014 at 13:11 UTC - 0 likes

    Can i use this plugin to generate a nether world without any fortresses.

    Legends of Talaria

  • Avatar of gymova gymova Jun 10, 2014 at 18:06 UTC - 0 likes

    @Neo_Vortex: Go

    No it isnt.. I made kind of a water world and its restricted to a certain area and after that, normal rendering begins. Do you know what to do?

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

    http://gymova.de

  • Avatar of iso2013 iso2013 Jun 09, 2014 at 18:41 UTC - 0 likes

    @Archarin: Go

    Vines are growing into the void somewhere on the map. I recommend a plugin like NoVines on cleanroom generator worlds.

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

    @Beeperdp: Go

    No, he means bukkit.yml

    See the wiki entry for bukkit.yml for details: http://wiki.bukkit.org/Bukkit.yml#.2AOPTIONAL.2A_worlds

    BFAK:NVX,39563,8e1bd9bc913227d2dd65c1c3d5c9445d55f02b4cc922e23c924aa68f25d27349

  • Avatar of Beeperdp Beeperdp Jun 05, 2014 at 22:33 UTC - 0 likes

    @chakyl: Go

    He means in server.properties I think.

  • Avatar of Neo_Vortex Neo_Vortex Jun 01, 2014 at 10:43 UTC - 0 likes

    @itsEzreal: Go

    Looks like a rendering bug, restart the client and see if it fixes itself.

  • Avatar of itsEzreal itsEzreal Jun 01, 2014 at 07:02 UTC - 0 likes

    Great plugin! I just got the generation working here by setting generator to Cleanroomgenerator in bukkit.yml. But I saw something strange, not sure if a bug or this is normal: http://s28.postimg.org/iiwxev26l/2014_06_01_07_55_47.png (in one of the edges - the empty spaces are NOT bad chunks, its just not rendered)

    Is this normal? I'm just afraid about corrupted chunks that can cause me problems later on, since I'm running a server with clean room main map.

    Last edited Jun 01, 2014 by itsEzreal
  • Avatar of Archarin Archarin May 31, 2014 at 21:29 UTC - 0 likes

    I keep on getting this error when ever I join the server.

    [17:24:43 INFO]: 4rch4r1n[/] logged in with entity id 0 at ([worl d] -49.03675909613342, 5.480710876331692, -24.40527144718726) [17:24:43 ERROR]: Encountered an unexpected exception java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Random.java:300) [?:1.7.0_21] at net.minecraft.server.v1_7_R3.BiomeDecorator.a(SourceFile:122) [craft bukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.BiomeDecorator.a(SourceFile:27) [craftb ukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.BiomeBase.a(SourceFile:364) [craftbukki t.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.BiomeForest.a(SourceFile:138) [craftbuk kit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.ChunkProviderGenerate.getChunkAt(SourceF ile:432) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at org.bukkit.craftbukkit.v1_7_R3.generator.NormalChunkGenerator.getChun kAt(NormalChunkGenerator.java:49) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084j nks] at net.minecraft.server.v1_7_R3.ChunkProviderServer.getChunkAt(ChunkProv iderServer.java:247) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.Chunk.a(Chunk.java:823) [craftbukkit.ja r:git-Bukkit-1.7.9-R0.1-b3084jnks] at org.bukkit.craftbukkit.v1_7_R3.chunkio.ChunkIOProvider.callStage2(Chu nkIOProvider.java:51) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at org.bukkit.craftbukkit.v1_7_R3.chunkio.ChunkIOProvider.callStage2(Chu nkIOProvider.java:13) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at org.bukkit.craftbukkit.v1_7_R3.util.AsynchronousExecutor$Task.finish( AsynchronousExecutor.java:188) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks ] at org.bukkit.craftbukkit.v1_7_R3.util.AsynchronousExecutor.finishActive (AsynchronousExecutor.java:347) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnk s] at org.bukkit.craftbukkit.v1_7_R3.chunkio.ChunkIOExecutor.tick(ChunkIOEx ecutor.java:34) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:6 07) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:2 60) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:5 58) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java :469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6 28) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks] [17:24:43 ERROR]: This crash report has been saved to: C:\Users\Sawyer\Desktop\P ixel Parkour\.\crash-reports\crash-2014-05-31_17.24.43-server.txt

    Pixelcraft

  • Avatar of Neo_Vortex Neo_Vortex Apr 26, 2014 at 02:34 UTC - 0 likes

    @itsEzreal: Go

    I don't see any stack trace pointing at CRG, so I doubt it. A similar issue has occurred before in an earlier beta release where Bukkit broke custom world generator support after a Minecraft update but it got fixed shortly afterwards. I'd raise it with the Bukkit folk (assuming they don't already know about it).

    Last edited Jun 01, 2014 by Neo_Vortex

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
111,187
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