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

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

    THIS HAS BEEN MOVED HERE, ON BUKKITDEV.

    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.

    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
     
  2. Offline

    Moe041991

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

    Elfsovereign

    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

    Yvar

    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

    a2omega

    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)
    
     
  6. Offline

    Errored

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

    ObsequiousNewt

    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

    xVEGASxJUGGALOx

    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

    Randell

    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

    karaktar

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

    Royalgamer06

    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
     
  12. Offline

    D3matt

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

    Elfsovereign

    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

    yakasuki

    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

    Canis85

    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

    szs

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

    FlyingPIes155

    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

    Royalgamer06

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

    Royalgamer06

    update! Broken in 1.2.3!
     
  20. Offline

    Scyntrus

    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

    Royalgamer06

    [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>
    Ty!
     
    Last edited by a moderator: Nov 27, 2016
  22. Offline

    Royalgamer06

    [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(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
     
    Last edited by a moderator: Nov 27, 2016
  23. Offline

    Scyntrus

    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

    Royalgamer06

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

    Scyntrus

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

    Canis85

    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

    Royalgamer06

    [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

    Canis85

    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

    Royalgamer06

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




    And...


    I am gonna try :D
     
  30. Offline

    Canis85

    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

    Royalgamer06

    Thanks!
    But I still having an issue teleporting to planetoids, will stop my server from responding/working!
    Maybe you can join the conversation: http://forums.bukkit.org/conversations/planetoids.31337/
    Ty
     

Share This Page