Stationeers dedicated server linux

Stationeers dedicated server linux

This is a command line tool

steamcmd +login anonymous +app_update 600760 validate +quit

steamcmd +login anonymous +app_update 600760 -beta beta validate +quit

For getting back from beta to public use -beta public ,steamcmd has trouble with caching

Default ports [ править ]

8081: Meta Server port (TCP).
27016: Game port (UDP).
27015: Steam update port (UDP).

Legacy Server Startup Arguments [ править ]

String parameters can take space with double quotes.

moon, mars, europa, europa2, mimas, vulcan, vulcan2, space, loulan, venus

batchmode, nographics and logfile are Unity3D commands.

Logging Alternates [ править ]

Logging seems to be broken, here are some old skool alternatives.
Small downside is they break the input of the console but it doesn’t seem to throw warnings like usual.

  • Linux rocketstation_DedicatedServer.x86_64 2>&1 | tee filename.txt
    • extra options would be —a or —append in front of the filename to keep appending to the logfile
    • extra options would be -Append at the end to keep appending to the logfile
    • Command Prompt powershell rocketstation_DedicatedServer.exe ^| tee -File filename.txt

    Examples [ править ]

    Dedicated server starts new Mars world. Autosave every 5 mins to Mars1.
    rocketstation_DedicatedServer.exe -LOAD Mars1 Mars -SETTINGSPATH «C:\Server\User1» -settings StartLocalHost true ServerVisible true GamePort 27016 UpdatePort 27015 AutoSave true SaveInterval 300

    Load Mothership file. Autosave every 5 mins.
    rocketstation_DedicatedServer.exe -LOAD Mothership -settings StartLocalHost true ServerVisible true GamePort 27016 UpdatePort 27015 AutoSave true SaveInterval 300

    Load Mothership file. Autosave every 5 mins. C:\Profile\Player1\saves\Mothership
    rocketstation_DedicatedServer.exe -LOAD Mothership -SETTINGSPATH «C:\Profile\Player1» -settings StartLocalHost true ServerVisible true GamePort 27016 UpdatePort 27015 AutoSave true SaveInterval 300

    Example -logfile syntax
    -logFile «C:\Server_Path\rocketstation_DedicatedServer_Data\output_log.txt»

    Example -LOAD «myworld» directory structure.
    Note: BaseDirectory is by default in SteamApps/common/Stationeers Dedicated Server/ if installed with SteamCMD

    Linux:
    -LOAD «myworld» will look for a folder named «myworld» in the saves directory like this:
    BaseDirectory/saves/myworld/

    Windows:
    -LOAD «myworld» will look for a folder named «myworld» in the saves directory like this:
    BaseDirectory\saves\myworld\

    Details:
    In the world directory named «myworld», these files must be present:

    Note: The names of these files do not correspond to your custom world name. These will always be called world.bin etc..
    The server will automatically generate these upon first start. If you are importing another world, make sure these are in place in the correct directory for the server to load them.
    There is also one more file that will be created:

    Configuration from setting.xml [ править ]

    setting.xml will be created once you start it up for the first time. Command parameters reset setting.xml to default

    The server is mostly a stripped down client as such it inherits certain features

      true 300 Default Easy 0.5 1 ResearchOff 1 false Stationeers true true randomstringhere 10 27015 27016 true 10000 500 
    XML Attribute Parameter
    Case Sensitive
    Details
    Easy, Normal, Stationeer Or a custom key from a mod.
    Seems to be used as spawn conditions instead for new players
    Default, Minimal, Vulcan, Venus, BareBones Or a custom key from a mod.
    Server ignores this, define custom worldtype
    ResearchOff, ResearchOn Or a custom key from a mod.
    Server ignores this
    default=1 Multiplier on the time it takes for the sun to orbit, default is 20 minutes, 10 minute day 10 night.
    Undocumented
    false true, false
    number default=8
    number default=8
    100 number default=100
    50 number default=50
    1 number default=1

    Savegames [ править ]

    Configuration from worldsettings.xml [ править ]

    The server is mostly a stripped down client as such it inherits certain features

    XML Attribute Parameter Details
    Creative, Survival
    default=0.25 Multiplier on the amount of hunger generated per game tick.
    N/A Can only be defined in custom world before generation

    Configuration from world.xml [ править ]

    XML Attribute Parameter Details
    ResearchOff, ResearchOn Or a custom key from a mod.
    Easy, Normal, Stationeer Or a custom key from a mod.
    Seems to be used as spawn conditions instead for new players

    Server Administrator [ править ]

    In Game Admin [ править ]

    parameter must be added to setting.xml on both server and client and be the same token.

    All commands are typed in the chat (tilde) by default and prefixed by serverrun

    Server Program Console [ править ]

    You can type commands in the running application which acts like a console

    Command Lists [ править ]

    Supply a reference Id to check ONLY that item

    • toggleloglength
    • togglelogbps
    • pipe
    • world
    • room
    • global
    • thing
    • No args returns total thing count
    • find
    • delete
    • spawn
    • reset (Resets the keybindings stack. Can help solve input issues)
    • true
    • false
    • delete
    • list

    Modding on Servers [ править ]

    Undocumented feature
    Mods are supported on Dedicated servers, however it requires additional manual configuration — Necessitating direct file access and editing on the dedicated server. To install mods, you’ll need to manually obtain the mod data first — Either from the Steam Workshop, or built yourself. Upload/Store the mods in a specific folder on the server — You will also likely want to edit default.ini on the server to point to a particular server folder rather then the default directory, defined below. Then manually add ModConfig.xml in the root directory of the server executible files, and manually edit the file to add each individual mod.

    modconfig.xml [ править ]

    Place a modconfig.xml in the serverfiles root (next to executable). Filename case is significant on Linux.

        1 true  0 true YourFirstModFolderHere  0 true YourSecondModFolderHere    

    Local mods have Id 0.
    So try and keep the same structure in the server to prevent complications.
    1 is core file and always need to be enabled

    Alternate ModConfig.xml [ править ]

    If the above modconfig don’t work, try this one:

       1 1001 1002   "FirstModFolderPath" 1001  "SecondModFolderPath" 1002    

    Storing Mods [ править ]

    WIN: C:\Users\USERNAME_HERE\Documents\My Games\Stationeers\mods\ LIN: /home/USERNAME_HERE/My Games/Stationeers/mods/ OSX: /Users/USERNAME_HERE/My Games/Stationeers/mods/

    Mods folder root is displaced by the setting in setting.xml,
    not sure if it’s a bug or feature

    \Modname or workshopid\About\

    (file containing description about mod and thumbnail)

    \Modname or workshopid\GameData\

    (files you want to append to the core gamedata)

    It’s recommended to only put entries in the mod files you want to add or replace,
    do not try and replace the whole file for compatibility issues and errors.

    There are some examples of how to make your own mods in:

    \Steam\steamapps\common\Stationeers\rocketstation_Data\StreamingAssets\

    Look for ExampleMod.zip and AttributesExampleMod.zip .

    Note: There seems to be some changes as to how where the dedicated server loads mods from. The above solution seems to be deprecated, see below if above solution doesn’t work.

    WIN:[Where you’ve installed the server]/Steam/steamapps/common/Stationeers Dedicated Server/rocketstation_DedicatedServer_Data/StreamingAssets/Data/Mods
    LIN:/home/USERNAME_HERE/Steam/steamapps/common/Stationeers Dedicated Server/rocketstation_DedicatedServer_Data/StreamingAssets/Data/Mods
    OSX:[Where you’ve installed the server]/Steam/steamapps/common/Stationeers Dedicated Server/rocketstation_DedicatedServer_Data/StreamingAssets/Data/Mods

    The Mods folder in /StreamingAssets/ is not premade, but needs to be added manually. Put the mods you want in here, and the server will load them. It is unknown if a ModConfig is even needed when doing it this way.

    Источник

    Saved searches

    Use saved searches to filter your results more quickly

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

    Provides a dedicated linux server for Stationeers running inside a Docker container.

    License

    Didstopia/stationeers-server

    This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

    Name already in use

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    Sign In Required

    Please sign in to use Codespaces.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching Xcode

    If nothing happens, download Xcode and try again.

    Launching Visual Studio Code

    Your codespace will open once ready.

    There was a problem preparing your codespace, please try again.

    Latest commit

    Git stats

    Files

    Failed to load latest commit information.

    README.md

    Stationeers server that runs inside a Docker container

    Show your support for this project by signing up for a free Bitrise account!

    NOTE: This image will install/update on startup. The path /steamcmd/stationeers can be mounted on the host for data persistence.

    1. Set the environment variables you wish to modify from below
    2. Optionally mount /steamcmd/stationeers somewhere on the host or inside another container to keep your data safe
    3. Enjoy!

    You might alternatively edit default.ini to further customize your installation, but this hasn’t been fully tested. Using environment variables is the only recommended way at the moment.

    The following environment variables are available:

    STATIONEERS_SERVER_STARTUP_ARGUMENTS (DEFAULT: "-autostart -nographics -batchmode" - Default startup arguments) STATIONEERS_SERVER_NAME (DEFAULT: "A Docker Server" - Publicly visible server name) STATIONEERS_WORLD_NAME (DEFAULT: "docker" - World name, mainly used for save names etc.) STATIONEERS_SERVER_SAVE_INTERVAL (DEFAULT: "300" - Automatic save interval in seconds) STATIONEERS_GAME_PORT (DEFAULT: "27500" - Used for both incoming client connections (UDP) and the web-interface (TCP)) STATIONEERS_QUERY_PORT (DEFAULT: "27015" - Steam query port (UDP)) STATIONEERS_SERVER_PASSWORD (DEFAULT: "" - Server password) 

    Stationeers comes with a built-in web-interface for RCON, which can be accessed at http://your-server-ip:27500.

    You should definitely set/change the RCON password for this (default password is stationeers , which is found in default.ini ).

    If you need help, have questions or bug submissions, feel free to contact me @Dids on Twitter.

    Источник

    Читайте также:  Rename file linux cmd
Оцените статью
Adblock
detector