1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Dedicated Server Issue (help needed)

Discussion in 'Starbound Support' started by Mobious007, Jul 25, 2016.

  1. Mobious007

    Mobious007 Space Hobo

    I installed the patch to 1.0, I started a dedicated server through steam. After which I realized I can not play and host the server that way. So I went to the Starbound / win32 directory and started the server via starbound_server.exe. As the server was setting up i noticed in the background a directory was made "storage" which is fine and all because thats where all the server information is being held. I stopped the server and edited the starbound_server.config. I set the max players / name of server/ and admin accounts. This is where the problem occurs. When I restarted the server, the server overwrote my config file and got a starbound_server.config.old. So I figured the starbound_server.config was actually stored else where. I couldnt find it. I found the pre-1.0 server config still in the "giraffe_storage" as it was set up during that time. I cut and pasted the config file from the giraffe directory into a neutral one. I restarted the server thinking maybe the pre-1.0 config was messing it up. But it wasnt. Has anyone had this issue and or found a way to repair it. I appreciate the help.
     
  2. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    Can you show me you setup? it looks like you're suffering a syntax error which causes the server to revert to the initial standard config.

    edit: for the accounts just replace the passwords with 123 or abc when showing the config

    ~ Iris ~
     
  3. Mobious007

    Mobious007 Space Hobo

    {
    "allowAdminCommands" : true,
    "allowAdminCommandsFromAnyone" : false,
    "allowAnonymousConnections" : true,
    "allowAssetsMismatch" : true,
    "anonymousConnectionsAreAdmin" : false,
    "bannedIPs" : [],
    "bannedUuids" : [],
    "checkAssetsDigest" : false,
    "clearPlayerFiles" : false,
    "clearUniverseFiles" : false,
    "clientIPJoinable" : false,
    "clientP2PJoinable" : true,
    "configurationVersion" : {
    "basic" : 1,
    "server" : 4
    },
    "crafting" : {
    "filterHaveMaterials" : false
    },
    "gameServerBind" : "*",
    "gameServerPort" : 21025,
    "interactiveHighlight" : true,
    "inventory" : {
    "pickupToActionBar" : true
    },
    "maxPlayers" : 50,
    "maxTeamSize" : 4,
    "playerBackupFileCount" : 3,
    "queryServerBind" : "*",
    "queryServerPort" : 21025,
    "rconServerBind" : "*",
    "rconServerPassword" : "",
    "rconServerPort" : 21026,
    "rconServerTimeout" : 1000,
    "runQueryServer" : false,
    "runRconServer" : false,
    "safeScripts" : true,
    "scriptInstructionLimit" : 10000000,
    "scriptInstructionMeasureInterval" : 10000,
    "scriptProfilingEnabled" : false,
    "scriptRecursionLimit" : 100,
    "serverFidelity" : "automatic",
    "serverName" : "Dark Luminance",
    "serverOverrideAssetsDigest" : null,
    "serverUsers" : {
    "NAME" : { "admin" : true, "password" : "12345" },
    "tutorialMessages" : true
    }


    There ya have it. Many Thanks on the help :)
     
  4. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    The line
    Code:
    "NAME" : { "admin" : true, "password" : "12345" },
    ends with a , but is also the last entry so that's the syntax error. Only place a , when adding more users like:
    Code:
    "Im a admin" : { "admin" : true, "password" : "12345" },
    "Im no admin" : { "admin" : false, "password" : "12345" }
    Hope this will clarify it. The rest of your config looks fine :)

    ~ Iris ~
     
  5. Mobious007

    Mobious007 Space Hobo

    I appreciate all the help Iris. Sadly it did not work. I was truly hoping that it would, to make life easier regarding the matter. I am sure that this will come in handy for others who may have almost the same issue. I am going to remove the game from steam and reinstall it. Than try again fresh. Only this time I will have your command lines correct :) Thanks again and I will let ya know how it turns out in the end.
     
  6. Zaflis

    Zaflis Pangalactic Porcupine

    The { } brackets are wrong on that part. You have "tutorialMessages" inside "serverUsers" block, which is missing a closing bracket before it. Like:
    Code:
    "serverUsers" : {
    "NAME" : { "admin" : true, "password" : "12345" }
    },
    "tutorialMessages" : true
    }
     
    Mobious007 and Iris Blanche like this.
  7. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    I completly oversaw the bracket >.< Thanks @Zaflis

    ~ Iris ~
     
    Mobious007 likes this.
  8. Mobious007

    Mobious007 Space Hobo

    Wow ! Who knew an oversight like missing one } could cause such a headache. It worked nicely. I appreciate both you fine folks for taking the time to help out :) You both rock !!
     
    Iris Blanche likes this.

Share This Page