[INACTIVE][WGEN/MECH] StyxSpace v1.1 [TheOne] - Go to space! BananaSpace coming soon. [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Styx Reborn, Jun 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Styx Reborn

    StyxSpace - Version 1.1 [TheOne]
    [​IMG]
    [​IMG]
    What is StyxSpace, what can it be used for?
    StyxSpace is a plugin that allows generation of worlds that are "space", empty. Say you want to make a space station and some planets, you can do so with StyxSpace. We offer you space to build in, you make space really look like space. Freebuild servers (like Styx Reborn!) can use StyxSpace to give their players a world they can freely wander around and build amazing space
    related builds. Survival servers can use StyxSpace to give players a new world to explore.

    StyxSpace is very lightweight. It only offers a single command for everything. You can use other plugins like Inception to offer players a brand new way to
    go to space. For extra realism we have added spacehelmets & spacesuits to the plugin - without a
    helmet/suit you won't be able to survive in space for long! StyxSpace has a great amount of
    configuration to make your space worlds feel exactly how you want them. You might be wondering what the space StyxSpace creates looks like.. Below are some screenshots with planets, asteroids and all that good stuff StyxSpace has to offer!
    Screenshots of StyxSpace (open)

    [​IMG]
    [​IMG]
    [​IMG]
    As you can see from the last screenshot, StyxSpace now has Pail (a Bukkit GUI) support. From there you can change StyxSpace settings and save them. This feature is still a work in progress but should be finished soon!

    StyxSpace also has Spout-support. If you have Spout installed, and your players use Spoutcraft, you can now remove clouds from spaceworlds! This is toggleable in the configuration file though, so don't worry.
    Download StyxSpace v1.1 [TheOne]
    Download dev builds or older versions
    [​IMG]
    Before asking questions, please read the wiki here!
    (includes installation instructions!)

    Full permission node and command list (open)

    Commands
    Code:yaml
    1.  
    2. commands:
    3. space:
    4. description: Go to space, back to earth etc.
    5. usage: |
    6. /<command> <enter> [spaceworld] - Go to a space world
    7. /<command> <back> - Go back where you were
    8. /<command> <help>
    9.  

    Permission groups
    • styxspace.* - Access to all StyxSpace commands
    • styxspace.teleport.* - Access to all teleportation commands (/space enter, /space back etc)
    • styxspace.portal.* - Access to portal creation, usage and removal
    Single permissions
    • styxspace.portal.use
    • styxspace.portal.create
    • styxspace.portal.remove
    • styxspace.teleport.enter
    • styxspace.teleport.exit

    How to report bugs!
    Please use this form when reporting bugs:
    Code:
    [b]StyxSpace Version:[/b]
    [b]CraftBukkit Version:[/b]
    [b]Description of bug:[/b]
    [b]How to reproduce:[/b]
    [b]Errors in log about StyxSpace? If yes, paste it here:[/b]
    
    IF YOU USE SOME OTHER _CLEAR_ WAY TO REPORT A BUG, IT IS FINE. IF YOU ONLY SAY: I DIED AND ERROR, IT WILL BE IGNORED.

    Changelog
    Version 1.1 [TheOne] The biggest update ever.:
    -Added support for multiple space worlds
    -Added glowstone generation, configurable spawning chance
    -Added "asteroid" generation, configurable spawning chance
    -Added nethermode, makes space have nether environment (it's a lot of fun!)
    -Added a tiny little Spout feature, no clouds. Requires Spout & Spoutcraft (client mod)
    -Added Pail (Bukkit GUI) support.
    -Added permission nodes to plugin.yml
    -Added SpaceWorldHandler and SpaceConfigHandler (API)

    -Changed config.yml a lot. Please make a new config when updating from older versions to 1.1.
    -Planet generation configuration is in its own file now, global
    -Helmet block id, armortype, and givehelmet/suit are now global
    -Changed some commands because of multiple space world support
    -Changed some permission nodes, added permission groups (SuperPerms)
    -Changed the API around a bit for multiple space worlds (API)
    -Cleaned the code up a cheeseload

    -Removed some old code that is no longer used
    -Removed /space reload as it didn't work like it should
    -Removed teleporting others to space as it was a hacky command
    -Removed a command no one has yet found, added sometime in 0.4
    -Removed SpaceHandler (API)
    -Removed some old methods because of code changes (API)

    Version 1.0 [Graduation]:
    -Added /space help & reload (permission nodes under download link)
    -Possibly patched some problems with area detection
    -Started new plugin, 'StyxFlight'
    -Expanded & modified the API, more info
    -Prepared coming API changes (SpacePlayer)
    -Made plugin "open source", more info

    - PULL REQUESTS ARE WELCOME!

    Older versions of StyxSpace (open)

    Version 0.9_5 [Netherrack]:
    -Readded spawn block generation on teleport to space removed in 0.5
    Version 0.9_4 [Netherrack]:
    -Fixed errors if a player dies while suffocating in space
    Version 0.9_3 [Netherrack]:
    -Changed the way helmets are handled
    Version 0.9_2 [Netherrack]:
    -Implemented Bukkit's permission system
    -Added hasPermission(String permission, Player player) to API (SpacePlayer)
    Version 0.9_1 [Netherrack]:
    -Fixed only ops or players with permission being able to break a sign
    Version 0.9 [Netherrack]:
    -Added portals, more information here
    -Added spacesuits (just as configurable as helmets)
    -Added /space playername to teleport other players to space, permission node:

    StyxSpace.teleport.enterothers
    -Implemented a few missing API methods
    -Fixed errors when changing world while suffocating
    -Fixed some problems with message order (permissions)
    -Removed unused configuration for messages
    -Changed colors of other messages to red/green

    Version 0.8_1 [Adventor]:
    -Fixed helmet given regardless of configuration settings
    Version 0.8 [Adventor]:
    NOTE: Please delete your configuration file for a new one to be generated!
    -Rewrote most of the code for optimization
    -Organized configuration file
    -Pumpkinhelmet replaced with blockid
    -Fixed endless loop of errors when a player quits while in 'drowning' mode
    -Implemented most of the API, more information here



    Version 0.7_4-9:
    -Implemented API (for usage)
    -Fixed /space back working regardless of the permission node
    Version 0.7_3-9:
    -Added API, for more information, click here
    Version 0.7_2 (URGENT):
    -Fixed fix of errors with /space
    Version 0.7:
    -Added new config setting, helmetrequired: true/false: defaults to false
    -Givehelmet now defaults to false
    -Gave the death a drowning effect
    -Cleaned up code

    Version 0.6:
    -Made messages configurable
    -Fixed dying after dying for having no helmet

    Version 0.5:
    -Added planet generation, extremely configurable, defaults to on
    -Added /space back, permission node: styxspace.teleport.exit
    -Cleaned up the code
    -No more forced spawnblock, generated only once
    -No bugfixes, sorry

    Version 0.4_2:
    -Fixed errors with breathable areas
    Version 0.4_1:
    -Fixed internal server errors when leaving space
    -Grammar
    Version 0.4:
    -Brought back settings for hostile and neutral mobs
    -Breathable areas, don't use glass helmets anymore!
    -Fixed material duplication bug
    -Fixed configuration file resetting to default on reload
    -Removed BukkitContrib requirement
    -Made helmet checks more efficient
    -Prepared for 0.4_1 later this week
    -New permission node for /space: styxspace.teleport.enter, preparing for new commands

    Version 0.3_2:
    -Fixed BukkitContrib loading after StyxSpace
    -Fixed grammar errors
    Version 0.3_1:
    -Made chunk generator lightweight
    Version 0.3:
    -Pumpkins as spacehelmets
    -Configurable autogive of spacehelmets
    -Fixed players running out of "air" to breathe when clicking a spot in their inventory (without
    actually removing the helmet)
    -Attempted fix of BukkitContrib problems
    -Any teleport to space will be recognized and will show welcome messages etc.

    Version 0.2
    -Configurable weather (true/false)
    -Configurable mobs (true/false)
    -Configurable night only (true/false)
    -Configurable world name
    -Configurable space helmets (true/false)
    -Space helmets, if you take it off your head you will die
    -Configuration
    -Fixed void kicking for flying

    Version 0.1_3:
    -Only pigs spawn in space
    -No rain/thunder/snow in space
    Version 0.1_2:
    -/space now defaults to OP if Permissions is not installed
    Version 0.1_1:
    -Spawngriefprotection will replace the following: sign, ladder, water, lava with stone
    -Disabled /space when the player is in space (configurable in v0.2)
    Version 0.1:
    -Initial release of StyxSpace
     
  2. Offline

    Styx Reborn

    What error are you even getting.
     
  3. Offline

    baunegaard

    First off i am using Craftbukkit #1000, StyxSpace 1.1 and Wormhole X-Treme 1.011
    This problem is reproducable on my server.
    If i never activate any wormhole on my space world, everything keeps working beautifully.
    If i activate a wormhole, everything keeps working until i restart the server 1 time, then StyxSpace is no longer working, and i get the following error with "/space enter":
    Code:
    2011-08-13 13:42:56 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'space' in plugin StyxSpace v1.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:570)
        at java.util.ArrayList.get(ArrayList.java:348)
        at me.iffa.styxspace.commands.SpaceCommand.onCommand(SpaceCommand.java:70)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    And StyxSpace seems to have lost control of space world, it is day and hostile mobs are spawning in space.
    If i remove that wormhole and restart the server one more time, StyxSpace starts working again, and i can use "/space enter" to get to my space world once more.
    Hope this can help in some way, dont really know if the problem is StyxSpace related, or related to Wormhole X-Treme.
     
  4. Offline

    Styx Reborn

    Ah... hm. These multi world plugins must indeed be controlling StyxSpace.
     
  5. Offline

    Altobot

    Hey guy, got some ideas for the plugin to make it a bit more realistic.

    First:
    Make sun systems, Where a big sun (a lava sphrer with glass on the outside) in the middle and the planets around it.
    Ice planets are far away from the sun, Netherrack planets near.

    in the habital zones there should be planets wich have a top like in normal game, only that they are spheres.

    Second:
    Well, the planets should be much bigger and they should have a more interesting surface (maby crafters or small mountains or something like...)

    Third:
    Meteroids should only be around planets. If you combine this mod like me with MoveCraft, its really anoying, because on the one hand side, you want to harvest the glowstoneplanets, but on the other side, you want to travel around with big ships and something like and they always get stuck in the Meteroids.

    Well, I think that would be great features. I hope, youll bring them into the plugin!

    Thanks forward...
     
  6. Offline

    Styx Reborn

    @Altobot : Thanks for the suggestions, but most of those would be pretty hard to code and they would be really heavy aswell.

    On the other hand, I just noticed how many things I forgot to remove/change before the 1.1 release. You'll find out soon enough... v1.2 is coming.
     
  7. Offline

    HuntMASTER15

    Very buggy update. I can't make my old space world my new one, citizens is spamming me with errors, and everything is just flipping out. So I'm going back to 1.0. Hopefully my old space world will work cause 1.1 says it's not a space world and all my portals don't work.
     
  8. Offline

    lub4095

    It'll be great if you actually make the planets really big and when you get close to them to get pulled by gravity depending on ths size of the planet and also to change the oriantation of the player to the center of the planet. Then this plugin will be even cooler! Anyway nice plugin!
     
  9. Offline

    Altobot

    Good evening..

    Wenn, the code for my suggestions shouldnt be too hard. Well, Im not so good in Programming languages, but the Mathematic therms are verry easey for that.

    The easyest thing is the placement of the planets:
    First: you chose a random point in the world to create a Sun. Than you need a random point near the Sun. Normally, This point should be in a sphere around the sun, but it would be easyer to take a square. by choosing this point you should keep in mind, that the Planets have a simular x coordinate with the Sun, so that the hole sun System is a huge plate. Than you have to Calculate the distance from the Sun to the different Planets (verry easy with pytagoras...). Then generate the Planet with the logical core depending on the distance to the sun and you got a Planet in the Sun system.
    Repeat that a few times an you got a full Solar system.

    For the earthplanets, well, maby it works if you generate a chunksquare and than make a grass surface around it. Trees and plants will grow automaticly.

    For the better surface, well, no plan. Maby it helps when you take a look on the Minecraft Map generator and watch out for the lines wich define Mountains and Seas. Hope it will help.

    If there are any questions on Java, I got a verry good source for IT, espacially for Java. But please, write the question in a normal English, maby then I understand the problem better.

    Sorry for those massive grammatic mistakes. Its already late and my English isnt as good as I need it for that.
     
  10. Offline

    NeonJ

    Would it be possible to add Risugami's Biosheres generator to this mod? That would be awesome.
     
  11. Offline

    Styx Reborn

    It is not my fault if plugin X doesn't like StyxSpace. And you didn't bother pasting the errors here either.

    Once it's possible...

    Maybe one day. The only thing is the planet code isn't by me, it is by @Canis85 (who seems to be inactive nowadays?) and it is one giant mess of code for me to work with ;)

    I'm also interested in "living" planets. We'll see...

    If someone wonders why reloading the plugin after adding a spaceworld is bad, it doesn't work correctly. So if you add a new spaceworld to the config, you will have to restart the server for that. If you reload, your older spaceworlds will be recognized as normal worlds. This is because of my bad thinking. This will be fixed in v1.2 [Squid] however.
     
  12. Offline

    RSM151

    What does this mean?
    It happens when i type in /space enter

    10:35:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'spac
    e' in plugin StyxSpace v1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    52)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:737)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at me.iffa.styxspace.commands.SpaceCommand.onCommand(SpaceCommand.java:7
    0)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    when i type /space enter world it says the world is not a space world
    and if i type in /space enter world_space it says the world is not a space world!
    Please help! and i am using version 1.1 of styxspace and version 0.0.0-980-g4ed23b1-b1060jnks of bukkit.(at least that is what the server window says ;))
     
  13. Offline

    HuntMASTER15

    You want to see the errors, hm?
    There you go.
     
  14. Offline

    mbrundler

  15. Offline

    Styx Reborn

    Hm. The only thing I can come up with is you reloaded the server which I warned about, but a little too late.
     
  16. Offline

    HuntMASTER15

    I fixed the issue... Somehow... :p
     
  17. Offline

    Jonchun

    Code:
    02:55:00 [SEVERE] Could not pass event PLAYER_TELEPORT to StyxSpace
    java.lang.NullPointerException
            at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:28)
            at me.iffa.styxspace.listeners.SpacePlayerListener.onPlayerTeleport(SpacePlayerListener.java:85)
            at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:293)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:216)
            at com.earth2me.essentials.Teleport.now(Teleport.java:224)
            at com.earth2me.essentials.Teleport.teleport(Teleport.java:202)
            at com.earth2me.essentials.Teleport.respawn(Teleport.java:123)
            at com.earth2me.essentials.spawn.Commandspawn.run(Commandspawn.java:21)
            at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:83)
            at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:442)
            at com.earth2me.essentials.spawn.EssentialsSpawn.onCommand(EssentialsSpawn.java:44)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    Build 1000. Any clue what's wrong?
     
  18. Offline

    Deren909

    ★★★★☆
     
  19. Offline

    HuntMASTER15

    Bad mobs are spawning in my world. My config file has them off though. Is this a known bug?
    Edit: Maybe because I'm using build 1000.
     
  20. Offline

    Styx Reborn

    What plugins do you have? I've seen lots of people that have problems with spawning with some plugins (?)
     
  21. Offline

    HuntMASTER15

    Armageddon, BaseBukkitPlugin, bShortcut, creaturebox, Essentials, EssentialsChat, EssentialsSpawn, LagMeter, LazyRoad, MapAPI, MidiBanks, MobDisguise, SimpleSignEdit, Spout, SpyerAdmin, SpyerAdminCommands, SpyerFun, StickyHelp, StyxBed, StyxSpace (of course :p), Vampire, Worldedit. I had worldguard but it was spamming me with errors so I removed it, but it may come back.
     
  22. Offline

    ochenchi

    SPAAAAAAAAAACCCCCCCCCEEEEEE :D
     
  23. Offline

    Jonchun

    I'm getting the same error many people are getting... I think it has to do with my CreativeGates plugin... Something to do with creating more portals to your space world messing it up... Do you think you can release a separate version of your plugin that ONLY generates the space-world? (like the void, planets, astroids). I'm not too interested in /space enter, etc etc etc. I don't even require the helmets. I can replicate all those features with WorldGuard or something... I just want a world generator for my players to explore in a void/sphere world. Thanks!

    Error:
    Code:
    2011-08-18 01:33:37 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'space' in plugin StyxSpace v1.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:571)
        at java.util.ArrayList.get(ArrayList.java:349)
        at me.iffa.styxspace.commands.SpaceCommand.onCommand(SpaceCommand.java:70)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
     
  24. Offline

    Jackzilla88

    Portals refuse to work for me returning from space to the normal world.
     
  25. Offline

    Timberman

    Hmm my Server crashes after a time when someone enters the space... Dont really know why...

    first worldguard sends me an error and the cpu runs over 140% on my v-server.... after about 2 mins... console says Read Error and you must kill the java process... nothing else works than... not even a stop on the console...

    But there are no error messeages... sometimes it says internal error occured whe using /space enter... but btw. just seen i am running CB#1054...
     
  26. Offline

    Styx Reborn

    I answered this before, but I believe that was on page 24 or 23. The reason is you've reloaded the server which causes StyxSpace to forget the space worlds, resulting in a IndexOutofBounds exception. This (hopefully) can be fixed by using the v1.2 dev build (which currently fixes this and adds some stuff to the Pail tab). You can find that here (StyxSpace-1.2.jar).

    Ahh. Any other information you can give? Errors?

    You get an internal error? What do you get in the server log about that?
     
  27. Offline

    Jonchun

    Kay! I'm gonna try out the dev build right now. Thanks for the awesome plugin!
     
  28. Offline

    Styx Reborn

    Added link in first post to find developer builds a little easier... :>
     
  29. Offline

    Jonchun

    Awesome. Question: can I use your plugin only for the world gen? Like can I use a different portal system? Also, is there a way I can define regions in space where you don't get hurtwithout a helmet.
     
  30. Offline

    Styx Reborn

    Well, if you have helmets and or suits enabled you can just go to a room that is max. 5 blocks high (by default) - you won't get hurt in there. That "height" is configurable. And about only for world gen, I believe someone started converting the gen to MultiVerse 2.
     
  31. Offline

    Jonchun

    Well, as. Long as reloading and portals don't mess up your plugin, I don't mind staying with it. Does ithave to be a completely sealed room? How about doors?
     
Thread Status:
Not open for further replies.

Share This Page