Planetoids
Planetoids - Generates a world full of planets:
Version: v1.4.2 Release
Planetoids, by default, creates a new world (called "Planetoids", if you fail to make a settings file) that uses my custom generator class to create a world full of "planets", which are spherical objects of varying size that have a "shell" of one block type, and a "core" of another. Planetoids can also be configured to work with multi-world management plugins, serving as a chunk generator for worlds that you create.
I got the idea from the Planetoids Map Generator, but I have no affiliation with the author of that tool.
Features:
- Configurable core and shell blocks, with percentage chance
- Optional floor, with configurable block type and height
- Optional single-block bedrock floor below that (to hold liquid floors)
- Can lock it to nighttime only
- Can disable weather, monsters, animals
- Reads world height from server.properties. Only seems to work up to 256.
Download Planetoids
Installation and Troubleshooting
A default config is created if you don't use the one from the zip, inside plugins/Planetoids. If you want to customize it before the spawn area generates (highly recommended), make sure you edit the one from the zip and put it in the right place. If you're going to use Planetoids with a multi world management plugin, I suggest you set 'autocreateworld' to FALSE, or Planetoids will make a world for itself automatically.
Notes (Read this before asking questions please!)
Screenshots
Changelog/Planned Features
Source Code on Github
Im using a lot of plug-ins lol but no world generator types, mainly just mcMMO, iConomy / BOSconomy, and Essentials. I'll try out that beta version right now and let you know. Thanks!
Edit: Noob question, where is the new version?
Alright, I lied, I found some time.
New beta release out, which is currently NOT COMPATIBLE with old saves (eg. you'll have to delete your old Planetoids world(s) and let it generate them again, you can leave your other worlds alone). The new version:
@LolSheeps @Zeno9366
What other plugins are you using? Are you using it with multiverse? You shouldn't see a normal world when you go to it.
I'm compiling it against Bukkit 1.2.5-R4.0 soon, so you can try that version once I get it uploaded.
@bigmommulgrew @maxwell400
Unfortunately, custom data values are not accessible in the ChunkGenerator class, which is what I'm using. I have a couple of ideas on what might work for this, but I don't have a lot of time to work on this right now. Generation of trees and grass and stuff like that is also handled outside of the ChunkGenerator class.
Totally not working. Installed plug-in. It created world Planetoids. I go the said world. It's a normal word, no biggie. Type in /pltp and.... I get put in ground in random area glitched into blocks that I cant destroy unless Creative mode is on.
I'm NOT using bukkit 1.2.5-R1.0 I'm using Craft Bukkit 1.2.5.-R4.0
I DID switch to R1.0 and nothing changes still glitched.
Halp :(
Oh and how about a setting to allow generation of trees/grass etc on world which generate with dirt/grass shells
Hi How about the ability to generate with mixed cores, its a bit too easy to get diamond if you find a planet full of it
Also how about the ability too add monster cores, basically a hollow core with a host of monster spawners so if a player breaks the core foolishly the will drop into a mob nest.
i put it in the plugins folder and it created a "planetoids" folder but when i use /pltp it says "an internal error occurred while trying to preform this command" i cant get it to work plz help.
Here's a fork with some new features, improved MV compatibility:
https://github.com/curufinwe/Planetoids
Hi Canis,
Are we able to set a custom data value for the blocks which are generated? Colored wool, different wood, etc?
@revo58
Glad to see you got it working ;)
Since you're using Multiverse, don't forget to set autocreateworld to false in the config, or your server will be creating an extra world and wasting memory.
I've found out how to get this working to gether with Multiverse What you have to do is Instead of using /mv import <planetworld> NORMAL -Planetoids This he will see as generator and will create normal Planet world with no Normal piece's of land :)
Hey, I have Multiverse and i need to import this to it to be able to create portal, (The commands would be /mv import space NORMAL (generate code)) but this will stop generating the planets and genrate's normal land Any idea how to solve this?
@Psithief
Screenshots link is fixed, but it's the same picture as on this page so there's not much to see there. If you watch that YouTube video link for the original Planetoids Map Generator you'll get the idea, it's the same concept.
The Screenshots link appears to display nothing.
Version 1.3.1 is done, uploaded, and pending approval, built against bukkit-1.2.5-R1.0. The biggest change for this one is support for using Planetoids as a generator class in a multiworld plugin, rather than forcing you to use it as a standalone plugin (although standalone mode is still the default supported mode). See the Notes page for more details.
@theforeman0073
Are you running CraftBukkit 1.2.3-R0.2? Are you getting any error messages? Is it telling you that Planetoids has been loaded?
Remember that Planetoids doesn't replace the default world, it just creates a new one. You can send yourself to the Planetoids world by typing '/pltp'
hiya im slightly new to making a server but i do understand the gist. what i need to know is how to get this to work... simply puting it into the plug ins folder and running the server doesnt seem to work.
@ipadrules27
How so? You're not getting a constant size of 20?
As far as distance is concerned, the only variable is minDistance, which is exactly as labeled: the minimum distance. In your case, no planetoid will ever be less than 20 blocks apart, but they could be 20, 21, 22, 23, etc blocks apart.
The only thing you can really do to help the distance (short of forking my source code and modifying it yourself, which I recommend), is to increase the density. The plugin doesn't generate a grid of spheres, it places them randomly.
@Canis85
I still cant get it to spawn like i want... here's my config.yml
worldname: Planetoids
alwaysnight: false
weather: false
commands:
pltp: true
disablemonsters: true
disableanimals: false
seed: 112233445566778899
planets:
density: 750
minSize: 20
maxSize: 21
minDistance: 20
minShellSize: 2
maxShellSize: 2
floorBlock: GRASS
floorHeight: 0
bedrock: false
blocks:
cores:
- PUMPKIN-0.8
- STATIONARY_LAVA-0.8
- STATIONARY_WATER-1.0
- COAL_ORE-1.0
- IRON_ORE-0.8
- DIAMOND_ORE-0.4
- CLAY-0.3
- LAPIS_ORE-0.4
- LOG-1.0
- GOLD_ORE-0.6
- REDSTONE_ORE-0.75
- SAND-1.0
- BEDROCK-0.5
- AIR-1.0
- DIRT-1.0
shells:
- STONE-1.0
- GRASS-1.0
- LEAVES-0.9
- ICE-0.9
- SNOW_BLOCK-0.9
- GLOWSTONE-0.4
- BRICK-0.6
- SANDSTONE-0.8
- OBSIDIAN-0.5
- MOSSY_COBBLESTONE-0.3
- WOOL-0.4
- GLASS-0.9
- DIAMOND_BLOCK-0.1
- GOLD BLOCK-0.1
- IRON_BLOCK-0.1
- LAPIS_BLOCK-0.1
@ipadrules27
There is no way to set a maximum distance, only a minimum distance (the generator places them randomly, then checks to make sure they aren't too close to any existing planetoids). However, setting both minSize and maxSize to 20 will give you an error, because the code is 'radius = rand.nextInt(maxSize - minSize) + minSize', and Random.nextInt(0) will throw an exception. Technically this code is wrong, because rand.nextInt is exclusive on the upper bound, so right now the maximum size is actually maxSize - 1.
TL;DR: You can't set a max distance, but you should get a constant size of 20 by setting minSize to 20 and maxSize to 21.