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 Apr 14, 2013@Neo_Vortex
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.
-
View User Profile
-
Send Message
Posted Apr 13, 2013@xsonarx
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.
-
View User Profile
-
Send Message
Posted Apr 13, 2013Bukkit: #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.
-
View User Profile
-
Send Message
Posted Apr 6, 2013@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.
-
View User Profile
-
Send Message
Posted Apr 6, 2013@babababagagaga
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.
-
View User Profile
-
Send Message
Posted Apr 6, 2013Is 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
-
View User Profile
-
Send Message
Posted Apr 4, 2013@Talidorn
Setting it in your bukkit.yml? See the bukkit wiki for details.
-
View User Profile
-
Send Message
Posted Apr 3, 2013I'm not using multiverse currently. Can you suggest another method?
-
View User Profile
-
Send Message
Posted Mar 27, 2013Not working correctly: When trying to make /mvcreate cleanroom normal -g CleanroomGenerator:. it makes new map but when I go while to straight there is normal land :D please tell me fix or fix problem to next update.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Neo_Vortex
Issue resolved.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Neo_Vortex
Then add generator: CleanroomGenerator:.?
-
View User Profile
-
Send Message
Posted Mar 23, 2013@MasterGabeMOD
Is cleanroom the name of your main world? If not, change "cleanroom:" to "world:" :)
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Neo_Vortex
Thank you for your quick reply. I added this: http://i.imgur.com/9AetmhF.png but still not working. Also, I use spigot.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@MasterGabeMOD
Define the generator parameters in your bukkit.yml (check the bukkit wiki for info), then delete your world folder and start the server - no multiverse/etc plugin required. :)
-
View User Profile
-
Send Message
Posted Mar 22, 2013Having a bit of a issue here. Basically I want to my spawn world on the "space" map. After I generate the world, I delete the world I was just on, and rename cleanroom to "world". Well, when I do this, it starts creating chunks. I would not like the world to create chunks, as I would prefer it to be empty. Any help would be appreciated. Thanks.
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Neo_Vortex
Thanks, seems to work fine with craftbukkit. Guess I will see if I can get a answer from the mcpc+ guys.
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Enolamron
Ah, that sounds like void chunks might be breaking the mob spawning algorithm. I'd see if it occurs on "vanilla" CraftBukkit, if so, lodge a ticket with the Bukkit guys, else if it's only on MCPC+ lodge a ticket with the MCPC+ guys.
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Neo_Vortex
I'm sorry, it's mcpc+. I tried with no mods or plugins installed. If it were a bukkit.yml problem would the mobs still spawn fine in the normal world? I have been trying for days to get it figured out before posting here. I just figured out yesterday it's just the void worlds causing the issue. Not just multiverse but also multiworld does the same thing. I have tried cleanroomgenerator, null terrain and Empty. All the void gens do not seem to spawn any creatures but if I try a different gen or just create a normal world all the mobs spawn fine.
Thanks again
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Enolamron
MCPC or MCPC+? I actually had a few issues with mob spawning on my MCPC+ server in the overworld which turned out to be some silly defaults in the bukkit.yml. I also encountered a seperate issue when using an older version of WorldGuard - updating to the current release of WG fixed it.
The CleanroomGenerator WGEN plugin is actually the simplest WGEN plugin you can get really (it's so simple that it hasn't needed an update since they last changed the WGEN API in 1.2.4!), so I highly doubt that it's this plugin causing issues - however it could quite possibly be that there's a bug in Bukkit, MCPC/MCPC+, or another plugin/mod that this plugin triggers.
I haven't actually gotten around to setting up a cleanroom on my MCPC+ server yet, so I'll test it out tomorrow and see how mob spawning goes.
-
View User Profile
-
Send Message
Posted Mar 19, 2013First I just want to say thanks for the great plugin.
I have been trying to figure out why I have no mobs spawning in multiverse or multiworld created worlds using cleanroomgenerator. I happened to try a different gen to just test if it was mw or mv but the world created using hoth gen spawned mobs just fine. Any chance that cleanroomgenerator is not allowing mobs to spawn? This is for a mcpc skyblock server which I am assuming is the issue since cleanroomgenerator seems to work fine on my normal bukkit server.
Thank you