Git Product home page Git Product logo

empyrion-game-server's Introduction

Empyrion Survival Game Server


Docker image for Empyrion dedicated server

The image base on Arch Linux image and uses Wine to launch server it self, in addition to base functionality some useful scripts added.

  • Added possibility to install Reforged Eden scenario
  • Possibility to configure dedicated.yaml using environment variables

Usage

Creating storage for new container

docker volume create empyrion_vol

Start game server in background using lates image and expose game port

docker run \
     -p 30000:30000/udp
     --name empyrion-game-server
     --detach
     -v empyrion_vol:/runtime
     xpr0ger/empyrion-game-server:lates

Warning

To allow Linux client connect the server you have to disable EAC

docker run \
     -p 30000:30000/udp
     --name empyrion-game-server
     --detach
     -e SERVERCONFIG_EACACTIVE="false"
     -v empyrion_vol:/runtime
     xpr0ger/empyrion-game-server:lates

Installing Reforged Eden

Caution

Keep in mind to download Reforged Eden from Steam Workshop you have to be logged in, thus you will have to specify your login and will be promoted for password and possibility for second Steam Guard Security Code by steamcmd.

To install Reforged Eden run:

docker exec -it <CONTAINER_NAME> install_reforged_eden.sh <STEAM_LOGIN>

Remove old container:

docker stop empyrion-game-server && \
    docker rm empyrion-game-server

Create new container:

docker run \
    -p 30000:30000/udp
    --name empyrion-game-server \
    -e GAMECONFIG_CUSTOMSCENARIO="Reforged Eden" \
    # You have change save directory to start new game
    # with Reforged Eden scenario
    -e GAMECONFIG_GAMENAME="<NEW_SAVE_DIRECTORY>" \
    -v empyrion_vol:/runtime \
    xpr0ger/empyrion-game-server:lates

Environment variables

Container has helper to translate environment variable to dedicated.yaml config file.

For example to change server port you have to change value:

ServerConfig:
    Srv_Port: 30000

To do so using environment you have to pass SERVERCONFIG_SRV_PORT to your container:

docker run \
     ...
     -e SERVERCONFIG_SRV_PORT="<NEW_VALUE>"
     ...

empyrion-game-server's People

Contributors

nmistry avatar xpr0ger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.