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

    Canis85

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Planetoids - Generates a world full of planets:
    Version: v1.2.5

    THIS HAS BEEN MOVED HERE, ON BUKKITDEV.

    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.

    Features:
    • 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

    Notes:
    • 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?
    Changelog:
    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

    This post has been edited 11 times. It was last edited by Canis85 Aug 2, 2012.
  2.  
  3. Offline

    TfT_02

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You should change the tag, in the title of this thread, to [WGEN].
    :)

    This post has been edited 1 time. It was last edited by TfT_02 Jul 30, 2011.
  4. Offline

    Canis85

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks! I'm glad to hear other people are using and enjoying this :)
  5. Offline

    Moe041991

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its a really nice plugin. One thing iam missing is an option for mixed planets. I loved Spheres, but its abandoned :(
  6. Offline

    enkious

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Totally isnt working for me. Not sure why.
    my server properties has
    Level name=Planetoids
    it's just a regular world though...
  7. Offline

    duhfux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    in bukkit.yml try
    Code:
    worlds:
        planetoids:
            generator: Planetoids
  8. Offline

    Canis85

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What exactly do you mean by 'mixed'?
  9. Offline

    Moe041991

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    with different kind of material. the best would be like just a part of a casual word in a sphere
  10. Offline

    Elfsovereign

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there anything in the coding of this which would slow down redstone circuitry? I'm having issues with it on my server now...
  11. Offline

    Yvar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

  12. Offline

    a2omega

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
    Code:
    name: Planetoids
    main: org.canis85.planetoidgen.PlanetoidGen
    version: 1.2.1
    load: startup
    commands:
        pltp:
            description: Moves the player to the planetoids area
            usage: /pltp
    
    However doing this makes the server throw this error
    Code:
    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(ArrayList.java:547)
            at java.util.ArrayList.get(ArrayList.java:322)
            at org.canis85.planetoidgen.PlanetoidGen.loadDefaults(PlanetoidGen.java:37)
            at org.canis85.planetoidgen.PlanetoidGen.loadSettings(PlanetoidGen.java:96)
            at org.canis85.planetoidgen.PlanetoidGen.onEnable(PlanetoidGen.java:132)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
  13. Offline

    Errored

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there gonna be 1185 support for this?
  14. Offline

    ObsequiousNewt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  15. Offline

    xVEGASxJUGGALOx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    This post has been edited 1 time. It was last edited by xVEGASxJUGGALOx Oct 19, 2011.
  16. Offline

    Randell

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  17. Offline

    karaktar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i had trouble using this with mutliverse it wasnt in the list of gens any ideas why
  18. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello,
    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
  19. Offline

    D3matt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is this compatible with the latest bukkit builds?
  20. Offline

    Elfsovereign

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  21. Offline

    yakasuki

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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 :(
  22. Offline

    Canis85

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  23. Offline

    szs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    any way to add other materials from a mod?
  24. Offline

    FlyingPIes155

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    This post has been edited 2 times. It was last edited by FlyingPIes155 Feb 19, 2012.
  25. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Update for RB 1.2.3 please! Love your plugin! Thanks!!!
  26. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    update! Broken in 1.2.3!
  27. Offline

    Scyntrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Royalgamer06 likes this.
  28. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  29. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    6)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    69)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:906)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:866)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:849)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at org.canis85.planetoidgen.PGPltpCommand.onCommand(PGPltpCommand.java:3
    3)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more
  30. Offline

    Scyntrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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...

    This post has been edited 1 time. It was last edited by Scyntrus Mar 13, 2012.
  31. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am using the latest beta build and using the right world name.
  32. Offline

    Scyntrus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wait, why's the world not loaded? of course you have to load the world!

Share This Page