Inactive [WGEN] Planetoids v1.2.5 - Generates a world full of planets [1.2.3 R0.2] [MOVED TO BUKKITDEV]

Discussion in 'Inactive/Unsupported Plugins' started by Canis85, Jun 23, 2011.

  1. Offline


    Planetoids - Generates a world full of planets:
    Version: v1.2.5


    Show Spoiler
    Planetoids 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.

    I got the idea from the Planetoids Map Generator, but I have no affiliation with the author of that tool.

    NOTE: If you're updating from 1.2.1, you'll have to rename your settings.yml to config.yml due to a change in how Bukkit does config loading.

    • Configurable core and shell blocks, with percentage chance
    • Floor, with configurable block type and height
    • Optional single-block bedrock floor below that
    • Lock it to nighttime only
    • Disable weather, monsters, animals
    Download Planetoids (zip)
    Download Planetoids (jar only)
    Source Code

    A default config is created if you don't make one and don't use the zip, inside plugins/Planetoids. If you want to customize it before the spawn area generates (highly recommended), use this template (updated for 1.1.0's yml):
    Sample Config

    • The only command is /pltp, which can be disabled in the settings file. When you use it it teleports you to the Planetoid world, at the spawn location. I suggest disabling it and using other multiworld plugins to do the actual teleporting and moving between worlds
    • The first time you launch CraftBukkit with this plugin, it will take a decent amount of time to create the spawn area, thanks to the lighting calculations
    • Regarding Density: If you're planning to use a teleport/flying plugin to hop from planet to planet, you'll need a lower density so that the generator can keep up (<1000). If you plan on restricting your players and making them build their way from planet to planet, you'll want a higher density (>5000) so they don't have to build so far to get to the next planetoid (this is assuming default planetoid sizes)
    • Spawn point is on a hard-coded planetoid that generates with a leaf shell and a log core. So even if you don't have leaf/log in your settings file, the spawn planet will always be this, so that players have something to start building with (in testing I started on obsidian planets sometimes...)
    • If you changed the config but you're still getting (or not getting) shell/core types that you've removed/added, remember that you have to move into a new "system" (or delete the files in /plugins/Planetoids/Systems and delete the world) to see the new types. Each "system" is 50x50 chunks, so you should see new planetoids at x or z = +/-800 (and 1600, and so on)
    • Make sure you leave at least one core type that doesn't generate heat (burning_furnace, fire, glowstone, jack_o_lantern, stationary_lava, lava). The generator has some internal logic to help prevent stuff like a wood shell with a lava core, and the generator code will freeze if it can't find an alternate core
    Known Issues:

    See the Github issue tracker. If you find a bug, please submit it there!

    NOTE: If you're looking for something more "space-y", check out StyxSpace. I've worked with the author of that plugin, and I integrated the generation code from this plugin (v1.1.0) into it. I will still continue to maintain Planetoids, because Planetoids is meant more to be a fun way to mine for resources than a "space world".

    Planned Features:
    Version 1.3.0
    • Set core size based on core type
    • Suggestions?
    Version 1.2.5
    • Bug fix: Monsters were sometimes spawning even when disableMonsters was set to true, this should not happen anymore.
    Version 1.2.4
    • Bug fix: bedrock floor will no longer show up with floorHeight > 0 unless bedrock is set to true in the config.
    Version 1.2.3
    • Updated /pltp command to send you to the spawnpoint of World 0 (which is usually the main world) when you're in the Planetoids world.
    Version 1.2.2
    • Updated for Minecraft 1.2.3
    Version 1.2.1
    • Lowered system size from 100x100 chunks to 50x50 chunks
    • Lowered default density to 750 to match new system size
    • Confirmed works in Minecraft Beta 1.7.2
    Version 1.2.0
    • Fixed bug where sometimes chunks at borders between systems would be empty
    • Lowered default density from 15000 to 2000. This should speed up the generator for those of you flying around ;)
    • Changed the way cores are generated so they're more round
    • Added option to disable monsters and/or animals in the Planetoids world
    Version 1.1.0
    • Config now uses yml and is easier to read
    • Generated "systems" are saved so changes to config/code won't mess up existing world
    • Probably last release before integration into StyxSpace UPDATE: I will continue to maintain Planetoids outside of StyxSpace
    Version 1.0.1
    • Fixed bug when using custom world name
    Version 1.0.0
    • Release
  2. Offline


    with different kind of material. the best would be like just a part of a casual word in a sphere
  3. Offline


    Is there anything in the coding of this which would slow down redstone circuitry? I'm having issues with it on my server now...
  4. Offline


    I have made a Tutorial on how to Install this. :)
    I hope you will add it to this page so people can see 2 different method's on how to install this.
    Your plugin is awesome Cheers. :D

  5. Offline


    This isn't working for me either but i think i figured out why at least partly.
    the plugin doesn't load before the world is generated to fix this you need to add "load: startup" on a line in your plugin.yml file like so.
    name: Planetoids
    main: org.canis85.planetoidgen.PlanetoidGen
    version: 1.2.1
    load: startup
            description: Moves the player to the planetoids area
            usage: /pltp
    However doing this makes the server throw this error
    01:40:43 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    01:40:43 [SEVERE] Error occurred while enabling Planetoids v1.2.1 (Is it up to date?): Index: 0, Size: 0
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.RangeCheck(
            at java.util.ArrayList.get(
            at org.canis85.planetoidgen.PlanetoidGen.loadDefaults(
            at org.canis85.planetoidgen.PlanetoidGen.loadSettings(
            at org.canis85.planetoidgen.PlanetoidGen.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(
            at org.bukkit.craftbukkit.CraftServer.<init>(
            at net.minecraft.server.ServerConfigurationManager.<init>(
            at net.minecraft.server.MinecraftServer.init(
  6. Offline


    Is there gonna be 1185 support for this?
  7. Offline


    I'm getting a bug... It won't generate a water floor. I have bedrock but no water.

    I modified these lines:

    bedrock: true
    floorHeight: 3

    All I get is the bedrock.
  8. Offline


    it wont generate any floor for me either and it only generates part of my world, How do i get all of my world planetoidish
  9. Offline


    I have found the problem with creating systems with glowstone(or any other heat generating block) as shells. The pluggin is designed to reject cores that generate heat with shells that may melt. However in doing that it also prevented shells that generate heat. I do not understand it enough to fully fix this.. however I did find a temporary fix. I removed GLOWSTONE from the list of heat generating blocks. BUT you HAVE to have world guard installed as to prevent the melting of ice and snow. other wise you may freeze up your server/map if you ever come into contact with a planet that has ice as a shell and glowstone as a core or visa versa.
    just fyi.
  10. Offline


    i had trouble using this with mutliverse it wasnt in the list of gens any ideas why
  11. Offline


    Can u update this plugin please.
    I have a wierd error.
    I have worldwarp and when I warp to planetoids it often warps me to nether :S
    Except when I delete de 'Planetoids' map from plugins map and restart my server.
    Thank U
  12. Offline


    Is this compatible with the latest bukkit builds?
  13. Offline


    It is and isn't. If the world generated by this plugin isn't visited often enough it will become unresponsive and ports, stargates, warps etc. will pick an alternative world to warp you to.
  14. Offline


    can you make it like styx space :( the dude who took it over made it a peice of crap and you cant gen a world on it :(
  15. Offline


    I recompiled this against the latest bukkit (1.1 R4). Anyone who was having trouble with it can try it again. What kinds of problems are people having with it? Are you using it with other plugins? I only test it by itself.
  16. Offline


    any way to add other materials from a mod?
  17. Offline


    for me it just generates a normal world...

    and when I type /pltp it just shows /pltp on the chat.

    now i reloaded it and it said [SEVERE] Error occurred while enabling Planetoids v1.2.1 (Is it up to date?): null; mapping values are not allowed here
  18. Offline


    Update for RB 1.2.3 please! Love your plugin! Thanks!!!
  19. Offline


    update! Broken in 1.2.3!
  20. Offline


    I found a request for an update and I though it'd be fun to try, so here's an updated version:

    <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Nov 27, 2016
    Royalgamer06 likes this.
  21. Offline


    [quote uid=90589643 name="Scyntrus" post=1013631]I found a request for an update and I though it'd be fun to try, so here's an updated version:

    <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Nov 27, 2016
  22. Offline


    [quote uid=90589643 name="Scyntrus" post=1013631]I found a request for an update and I though it'd be fun to try, so here's an updated version:

    <Edit by Moderator: Redacted mediafire url>
    When I try to join the Planetoids world (with every method), my server stops responding (no error)!
    Also when I try /pltp without the world loaded, I get this:
    18:20:17 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pltp
    ' in plugin Planetoids v1.2.1
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.

    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.handle(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(
    at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.NullPointerException
    at org.canis85.planetoidgen.PGPltpCommand.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 12 more
    Last edited by a moderator: Nov 27, 2016
  23. Offline


    That's odd, I don't get that error... hmm. Did you set the worldname in the config file? I'm also using the latest craftbukkit development version. That could be it I guess...
  24. Offline


    I am using the latest beta build and using the right world name.
  25. Offline


    Wait, why's the world not loaded? of course you have to load the world!
  26. Offline


    Working on updating this. They changed the way several things work entirely, including the YAML configs and world loading. I'll post an update once it's done.
  27. Offline


    [quote uid=11117 name="Canis85" post=1020647]Working on updating this. They changed the way several things work entirely, including the YAML configs and world loading. I'll post an update once it's done.[/quote]
    Thanks mate!
    But maybe you can get a look at this:
    [quote uid=90589643 name="Scyntrus" post=1013631]I found a request for an update and I though it'd be fun to try, so here's an updated version:

    <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Nov 27, 2016
  28. Offline


    I'd love to use whatever they did, but that's just a jar file with compiled code. If they had forked my git repo and submitted a pull request, this would be a lot easier. I don't feel like reverse compiling class files.

    In any case, It's updated and compiling without issue, I just have to test it a bit.

    If one of you can try this build and let me know if it works, I'll update the main page. For some reason I can't connect to the latest craftbukkit build (craftbukkit git-Bukkit-1.1-R6-b1988jnks).

    EDIT: If you have an existing config, rename it to config.yml, it should still work.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  29. Offline


    Maybe because of this (and please make it for 1.2.3-R0.2!):


    I am gonna try :D
  30. Offline


    I'm building against 1.2.3-R0.2, so don't worry about that. I'll give that version of CB a try, thanks.
    Royalgamer06 likes this.
  31. Offline


    But I still having an issue teleporting to planetoids, will stop my server from responding/working!
    Maybe you can join the conversation:

Share This Page