Starmade Wrapper - A starmade server management tool

    Joined
    Jun 30, 2013
    Messages
    390
    Reaction score
    285
    • Video Genius
    • Legacy Citizen 8
    • Community Content - Silver 1
    Hello gravypod I have just installed your Wrapper to our server. I really liked the unattended installation with a fresh install of starmade.

    I would love to write up a few more detailed instructions for server owners running the Wrapper. Regardless a way to install this wrapper to an existing server that is already up and running would be great.

    I'm not 100% if you are installing to Root, but I think that it is a customisable setting anyways so it's no big deal :D


    Great works here!
     
    Last edited by a moderator:
    • Like
    Reactions: ElgarL
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    Hello gravypod I have just installed your Wrapper to our server. I really liked the unattended installation with a fresh install of starmade.

    I would love to write up a few more detailed instructions for server owners running the Wrapper. Regardless a way to install this wrapper to an existing server that is already up and running would be great.

    I'm not 100% if you are installing to Root, but I think that it is a customisable setting anyways so it's no big deal :D


    Great works here!
    It installs/uses the copy of the server inside the relative "starmade" path to the CWD
     
    Last edited by a moderator:
    • Like
    Reactions: ElgarL
    Joined
    Mar 4, 2014
    Messages
    16
    Reaction score
    11
    Would it be possible to add a command that lists which sectors are connected via warps? I'm starting my own private server, and setting up a basic network of warps, but I'm having trouble keeping track of them without having to look at the warps.yml file, which is located on another computer.
     
    • Like
    Reactions: ElgarL
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    Would it be possible to add a command that lists which sectors are connected via warps? I'm starting my own private server, and setting up a basic network of warps, but I'm having trouble keeping track of them without having to look at the warps.yml file, which is located on another computer.
    Yes, I will be able to add this tomorrow. I just need to get some sleep.
     
    • Like
    Reactions: ElgarL
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    Large amount of changes made. The largest being a full plugin API
     
    Joined
    Mar 4, 2014
    Messages
    16
    Reaction score
    11
    The latest version keeps overwriting my server's settings. Is there any way to fix that?
     
    • Like
    Reactions: ElgarL
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    The latest version keeps overwriting my server's settings. Is there any way to fix that?
    Seems like there was a bug with starmade. If you remove the comments on the config, it regenerates the entire config. Our config parser now adds the config comments. Ill be pushing an update soon
     
    • Like
    Reactions: ElgarL
    Joined
    Mar 4, 2014
    Messages
    16
    Reaction score
    11
    Receiving an error message:

    C:\Users\TempestStorm\Desktop\StarMade>java -server -jar StarmadeWrapper.jar
    May 23, 2014 9:47:14 PM com.gravypod.starmadewrapper.plugins.PluginManager <init
    >
    INFO: Started plugin handler
    com.esotericsoftware.yamlbeans.YamlReader$YamlReaderException: Line 1, column 15
    : Unable to find property 'adminPanelPass' on class: com.gravypod.wrapper.server
    .Config
    at com.esotericsoftware.yamlbeans.YamlReader.readValueInternal(YamlReade
    r.java:292)
    at com.esotericsoftware.yamlbeans.YamlReader.readValue(YamlReader.java:1
    52)
    at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:103)
    at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:90)
    at com.gravypod.wrapper.server.DataSaver.loadConfig(DataSaver.java:66)
    at com.gravypod.wrapper.server.Server.<init>(Server.java:64)
    at com.gravypod.wrapper.ServerWapper.main(ServerWapper.java:23)
    Exception in thread "main" java.lang.NullPointerException
    at com.gravypod.wrapper.server.Server.getStarmadeDirectory(Server.java:1
    60)
    at com.gravypod.wrapper.server.Server.<init>(Server.java:66)
    at com.gravypod.wrapper.ServerWapper.main(ServerWapper.java:23)
    Exception in thread "Thread-2" java.lang.NullPointerException
    at com.gravypod.wrapper.monitors.ShutdownMonitor.run(ShutdownMonitor.jav
    a:19)

    C:\Users\TempestStorm\Desktop\StarMade>PAUSE
    Press any key to continue . . .
     
    • Like
    Reactions: ElgarL
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    Receiving an error message:

    C:\Users\TempestStorm\Desktop\StarMade>java -server -jar StarmadeWrapper.jar
    May 23, 2014 9:47:14 PM com.gravypod.starmadewrapper.plugins.PluginManager <init
    >
    INFO: Started plugin handler
    com.esotericsoftware.yamlbeans.YamlReader$YamlReaderException: Line 1, column 15
    : Unable to find property 'adminPanelPass' on class: com.gravypod.wrapper.server
    .Config
    at com.esotericsoftware.yamlbeans.YamlReader.readValueInternal(YamlReade
    r.java:292)
    at com.esotericsoftware.yamlbeans.YamlReader.readValue(YamlReader.java:1
    52)
    at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:103)
    at com.esotericsoftware.yamlbeans.YamlReader.read(YamlReader.java:90)
    at com.gravypod.wrapper.server.DataSaver.loadConfig(DataSaver.java:66)
    at com.gravypod.wrapper.server.Server.<init>(Server.java:64)
    at com.gravypod.wrapper.ServerWapper.main(ServerWapper.java:23)
    Exception in thread "main" java.lang.NullPointerException
    at com.gravypod.wrapper.server.Server.getStarmadeDirectory(Server.java:1
    60)
    at com.gravypod.wrapper.server.Server.<init>(Server.java:66)
    at com.gravypod.wrapper.ServerWapper.main(ServerWapper.java:23)
    Exception in thread "Thread-2" java.lang.NullPointerException
    at com.gravypod.wrapper.monitors.ShutdownMonitor.run(ShutdownMonitor.jav
    a:19)

    C:\Users\TempestStorm\Desktop\StarMade>PAUSE
    Press any key to continue . . .
    In the change log I put some notes for the beta. Remove the following settings from your config: "adminPanelPass", "adminPanelPort", and "apiKey" or just delete your config and have the wrapper regenerate the config. If you have not used the beta builds and are still on 0.6 everything will work fine.
     
    • Like
    Reactions: ElgarL
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    Receiving an error message:
    I just wrote up some code to detect this now. In the next version the wrapper will backup the old config and regenerate a new config.

    Broken config will be called "config.yml.broken"
    The new config will be "config.yml"
     
    • Like
    Reactions: ElgarL

    Master1398

    Keep calm and quit raging
    Joined
    Aug 19, 2013
    Messages
    293
    Reaction score
    229
    • Purchased!
    • Community Content - Bronze 2
    • Legacy Citizen 3
    Installed this neat looking thing today. But when i try to add a plugin it gives me this error message;
    C:\Users\(...)\Server>java -server -jar StarmadeWrapper.jar
    Jun 05, 2014 11:23:40 PM com.gravypod.starmadewrapper.plugins.PluginManager <init>
    INFO: Started plugin handler
    Jun 05, 2014 11:23:41 PM com.gravypod.wrapper.StarmadeServerThread run
    INFO: Starting server
    java.lang.NullPointerException: entry
    at java.util.zip.ZipFile.getInputStream(Unknown Source)
    at java.util.jar.JarFile.getInputStream(Unknown Source)
    at com.gravypod.starmadewrapper.plugins.PluginManager.loadPluginFile(PluginManager.java:114)
    at com.gravypod.starmadewrapper.plugins.PluginManager.loadPlugins(PluginManager.java:93)
    at com.gravypod.wrapper.server.Server.run(Server.java:95)
    at com.gravypod.wrapper.StarmadeServerThread.run(StarmadeServerThread.java:23)
    Jun 05, 2014 11:23:41 PM com.gravypod.starmadewrapper.plugins.PluginManager load
    PluginFile
    INFO: [Ljava.lang.StackTraceElement;@6b5c9416
     
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    Installed this neat looking thing today. But when i try to add a plugin it gives me this error message;
    What plugin did you try to add?
    Was it one of the included jars?
    Are you running windows, linux, or OSX?
    Any more information would be nice.
     

    Master1398

    Keep calm and quit raging
    Joined
    Aug 19, 2013
    Messages
    293
    Reaction score
    229
    • Purchased!
    • Community Content - Bronze 2
    • Legacy Citizen 3
    What plugin did you try to add?
    Was it one of the included jars?
    Are you running windows, linux, or OSX?
    Any more information would be nice.
    I tried StarmadeWrapper-1.0.0b-API.jar but it gives me the error message.
    The other 3 included jars work for a start but if i try to start the server it gives me the same error message.
    I run Windows
     
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    I tried StarmadeWrapper-1.0.0b-API.jar but it gives me the error message.
    The other 3 included jars work for a start but if i try to start the server it gives me the same error message.
    I run Windows
    The StarmadeWrapper-1.0.0b-API.jar is for developing plugins, that should not go into the plugins folder.