1. When making a thread, please tag your thread accordingly using the menu to the left of the textfield where you name your thread where applicable. Server Advertisements and Mod Releases should be contained to their respective subforums.

Server Help Config

Discussion in 'Multiplayer' started by Qhiliqq, Jan 11, 2017.

  1. Qhiliqq

    Qhiliqq Orbital Explorer

    Hello everybody,

    I stuck at the config.
    My webinterface create a starbound_server.config in /storage/.
    But I only send maxplayers for testing see below:

    {
    "maxPlayers": "4"
    }

    I generate this with symfony json input is:
    [storage/starbound_server.config] json
    maxPlayers:%slots%

    Why this doesn't work?
    Do I have to create the whole config? Hope not...
    There are no startup parameters for setting players or ip/port.

    Hope you got a good answer :)

    Regards,
    Qhiliqq
     
    Last edited: Jan 11, 2017
  2. Qhiliqq

    Qhiliqq Orbital Explorer

    #Push
     
  3. Qhiliqq

    Qhiliqq Orbital Explorer

    @Hel maybe you got an answer for me?
     
  4. Hel

    Hel ✨ Johto's Finest ✨ Forum Moderator

    Yipes. You called?

    What are you trying to do? Change the maximum amount of people in a game or party?
     
  5. Qhiliqq

    Qhiliqq Orbital Explorer

    Hi ;)

    I want to create a server via an webinterface.
    Every game supports a few config items and the server create the other ones.
    For example the webinterface create the following starbound_server.config:
    {
    "maxPlayers": "4"
    }

    Nothing more.
    The server sets this to an .old and creates a new one.
    But why?
    It should accept the config and add the missing ones.

    I can't set the whole config, then the user can't change its config.
    So I have to set only neccessary things for me, like ip, port, maxplayers.

    Hope you can help me.
     
  6. Hel

    Hel ✨ Johto's Finest ✨ Forum Moderator

    Hmm..

    I don't really know how to set these up on a web interface. Only a local server.

    Did you like rent a server on line or something?
     
  7. Qhiliqq

    Qhiliqq Orbital Explorer

    I host them self.

    This is the problem ;)
     
  8. Qhiliqq

    Qhiliqq Orbital Explorer

    I tested around and found out that starbound is overwriting the config every time.
    I create the starbound_server.config with a yaml extension looking like this:

    {
    "gameServerBind":"37.xxx.79.xxx",
    "gameServerPort":"21035",
    "maxPlayers":"12",
    "queryServerBind":"37.xxx.79.xxx",
    "queryServerPort":"21035",
    "rconServerBind":"37.xxx.79.xxx",
    "rconServerPort":"21036"
    }

    But if I start now the server, starbound overwrites this config to default.
    Why it doesn't add just the missing values?
    Every game is able to do this, but no no starbound not... :nurumad:

    Somebody here who is able to help me... Maybe a dev itself...
    The easiest way would be a startup parameter like:
    "./starbound_server -logfile starbound_server.log -gameServerBind 37.xxx.79.xxx" etc....

    Regards :/
     
  9. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    In the starbound_server.log you will find the reason of the config reset. the config is most likely incomplete in this case, causing a reset to its default state.

    ~ Iris ~
     
  10. Qhiliqq

    Qhiliqq Orbital Explorer

    Yes I think too...
    But any other game is able to handle this and just add the missing entries.

    Thats really bad.

    Is a dev also registered on this board who could add this to feature requests?
     

Share This Page