GithubHelp home page GithubHelp logo

escapingnetwork / core-keeper-dedicated Goto Github PK

View Code? Open in Web Editor NEW
69.0 5.0 21.0 50 KB

Dockerfile for automated build of a Core Keeper Dedicated Server

Home Page: https://hub.docker.com/r/escaping/core-keeper-dedicated

License: MIT License

Dockerfile 35.83% Shell 64.17%
game docker steam steamcmd server dedicated-server game-server

core-keeper-dedicated's People

Contributors

arguser avatar charlesserrett avatar cjsaylor avatar dependabot[bot] avatar mattiasghodsian avatar micke90s avatar nmlynch94 avatar plveir avatar xcjs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

core-keeper-dedicated's Issues

Access to the X11 socket

Can you expand on what you meant by the tmp mounting or give a example so others can do that fix too?

Sure! Core Keeper eventually switches to GPU rendering for generating farther away areas. In order to do this, it needs access to the X11 socket accessible inside /tmp/.X11-unix to access the host's X11 socket and therefore the graphics hardware. The container/server log actually warns about that particular path not being accessible otherwise.

In my docker-compose, I expose this as a volume:

version: "3"

services:
  core-keeper:
    container_name: core-keeper
    image: escaping/core-keeper-dedicated:latest
    volumes:
      - REDACTED:/home/steam/core-keeper-dedicated
      - REDACTED:/home/steam/core-keeper-data
      - /tmp/.X11-unix:/tmp/.X11-unix
    environment:
      - WORLD_INDEX=0
      - WORLD_NAME=REDACTED
      - WORLD_SEED=0
      - GAME_ID=REDACTED
      - DATA_PATH=/home/steam/core-keeper-data
      - MAX_PLAYERS=8
    restart: unless-stopped
    stop_grace_period: 2m

Originally posted by @xcjs in #5 (comment)

docker-image not updated with fix from #17

first: thanks for your efforts providing this.

when setting up a game-server, I found the same issue that was described in issue #17. Then building the docker image locally and using that solved the issue.

When checking the Containerfile content on docker-hub, i don't see the libxi6 dependency that was added to fix the issue.

my issue is fixed but i thought i let you know.

Getting segmentation fault after last update

core-core-keeper-1 | Success! App '1007' already up to date.
core-core-keeper-1 | Success! App '1963720' already up to date.
core-core-keeper-1 | Started server process with pid 117
core-core-keeper-1 | _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
core-core-keeper-1 | [UnityMemory] Configuration Parameters - Can be set up in boot.config
core-core-keeper-1 | "memorysetup-bucket-allocator-granularity=16"
core-core-keeper-1 | "memorysetup-bucket-allocator-bucket-count=8"
core-core-keeper-1 | "memorysetup-bucket-allocator-block-size=4194304"
core-core-keeper-1 | "memorysetup-bucket-allocator-block-count=1"
core-core-keeper-1 | "memorysetup-main-allocator-block-size=16777216"
core-core-keeper-1 | "memorysetup-thread-allocator-block-size=16777216"
core-core-keeper-1 | "memorysetup-gfx-main-allocator-block-size=16777216"
core-core-keeper-1 | "memorysetup-gfx-thread-allocator-block-size=16777216"
core-core-keeper-1 | "memorysetup-cache-allocator-block-size=4194304"
core-core-keeper-1 | "memorysetup-typetree-allocator-block-size=2097152"
core-core-keeper-1 | "memorysetup-profiler-bucket-allocator-granularity=16"
core-core-keeper-1 | "memorysetup-profiler-bucket-allocator-bucket-count=8"
core-core-keeper-1 | "memorysetup-profiler-bucket-allocator-block-size=4194304"
core-core-keeper-1 | "memorysetup-profiler-bucket-allocator-block-count=1"
core-core-keeper-1 | "memorysetup-profiler-allocator-block-size=16777216"
core-core-keeper-1 | "memorysetup-profiler-editor-allocator-block-size=1048576"
core-core-keeper-1 | "memorysetup-temp-allocator-size-main=4194304"
core-core-keeper-1 | "memorysetup-job-temp-allocator-block-size=2097152"
core-core-keeper-1 | "memorysetup-job-temp-allocator-block-size-background=1048576"
core-core-keeper-1 | "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
core-core-keeper-1 | "memorysetup-temp-allocator-size-background-worker=32768"
core-core-keeper-1 | "memorysetup-temp-allocator-size-job-worker=262144"
core-core-keeper-1 | "memorysetup-temp-allocator-size-preload-manager=262144"
core-core-keeper-1 | "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
core-core-keeper-1 | "memorysetup-temp-allocator-size-audio-worker=65536"
core-core-keeper-1 | "memorysetup-temp-allocator-size-cloud-worker=32768"
core-core-keeper-1 | "memorysetup-temp-allocator-size-gfx=262144"
core-core-keeper-1 | ./launch.sh: line 46: 117 Segmentation fault (core dumped) DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" ./CoreKeeperServer -batchmode -logfile -world "${WORLD_INDEX}" -worldname "${WORLD_NAME}" -worldseed "${WORLD_SEED}" -gameid "${GAME_ID}" -datapath "${STEAMAPPDATADIR}" -maxplayers "${MAX_PLAYERS}" -logfile CoreKeeperServerLog.txt

Cannot find Game ID

Hi, I cannot find GameID.txt after running using docker CLI command
I also tried using docker-compose but to no avail

I tried to run this on Ubuntu 20.04 server

Output:

cat: core-keeper-dedicated/GameID.txt: No such file or directory

EDIT:
I saw these lines on console from container

core-keeper_1  | Connecting anonymously to Steam Public...OK
core-keeper_1  | Waiting for client config...OK
core-keeper_1  | Waiting for user info...OK
core-keeper_1  | Success! App '1007' already up to date.
core-keeper_1  | Success! App '1963720' already up to date.
core-keeper_1  | chmod: cannot access './CoreKeeperServer': No such file or directory
core-keeper_1  | Started server process with pid 55
core-keeper_1  | _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
core-keeper_1  | ./launch.sh: line 38: ./CoreKeeperServer: No such file or directory

is this related to #5 ?
I'm not sure how to solve this after reading that issue

Failed to install app '1963720' (Requires 64bit operating system)

I have jumped through some hoops to get this docker container to even run on my Oracle ARM VM. But I eventually got Docker to work by using Qemu and adding platform: linux/amd64 to the docker-compose.yml file.

However, now when I've got the Steamcmd to actually run inside the container, I get this error:
Failed to install app '1963720' (Requires 64bit operating system)

It seems like an obvious problem, but I'm not sure why it occurs, considering that I explicitly named the platform to use linux/amd64, and even when exec:ing into the container, I get these results:

$ getconf LONG_BIT
64
$ uname -m
x86_64

Which should confirm that the container is actually running in 64-bit.

Just to be clear, no other changes have been made to the files except adding the platform specification in docker-compose. And yes it's the newest version of the image.

Fail to start server on newest update

Docker logs:

Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1700160359
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 19.90 (14680064 / 73781292)
Update state (0x81) verifying update, progress: 78.05 (57587964 / 73781292)
Success! App '1007' fully installed.
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 19.38 (89537616 / 462089057)
Update state (0x61) downloading, progress: 33.66 (155531618 / 462089057)
Update state (0x61) downloading, progress: 52.45 (242383802 / 462089057)
Update state (0x61) downloading, progress: 73.14 (337983627 / 462089057)
Update state (0x61) downloading, progress: 89.90 (415418188 / 462089057)
Update state (0x81) verifying update, progress: 31.62 (146091002 / 462089057)
Success! App '1963720' fully installed.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1700160359
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '1007' already up to date.
Success! App '1963720' already up to date.
xvinfo: Unable to open display :99
Failed to start Xvfb, retry: 1
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X-Video Extension version 2.2
screen #0
no adaptors present
-batchmode -logfile CoreKeeperServerLog.txt -world 0 -worldname 3DevBros Core Keeper Server -worldseed 0 -worldmode 0 -datapath /home/steam/core-keeper-data -maxplayers 10 -season -1
Started server process with pid 134
[UnityMemory] Configuration Parameters - Can be set up in boot.config
"memorysetup-bucket-allocator-granularity=16"
"memorysetup-bucket-allocator-bucket-count=8"
"memorysetup-bucket-allocator-block-size=4194304"
"memorysetup-bucket-allocator-block-count=1"
"memorysetup-main-allocator-block-size=16777216"
"memorysetup-thread-allocator-block-size=16777216"
"memorysetup-gfx-main-allocator-block-size=16777216"
"memorysetup-gfx-thread-allocator-block-size=16777216"
"memorysetup-cache-allocator-block-size=4194304"
"memorysetup-typetree-allocator-block-size=2097152"
"memorysetup-profiler-bucket-allocator-granularity=16"
"memorysetup-profiler-bucket-allocator-bucket-count=8"
"memorysetup-profiler-bucket-allocator-block-size=4194304"
"memorysetup-profiler-bucket-allocator-block-count=1"
"memorysetup-profiler-allocator-block-size=16777216"
"memorysetup-profiler-editor-allocator-block-size=1048576"
"memorysetup-temp-allocator-size-main=4194304"
"memorysetup-job-temp-allocator-block-size=2097152"
"memorysetup-job-temp-allocator-block-size-background=1048576"
"memorysetup-job-temp-allocator-reduction-small-platforms=262144"
"memorysetup-allocator-temp-initial-block-size-main=262144"
"memorysetup-allocator-temp-initial-block-size-worker=262144"
"memorysetup-temp-allocator-size-background-worker=32768"
"memorysetup-temp-allocator-size-job-worker=262144"
"memorysetup-temp-allocator-size-preload-manager=262144"
"memorysetup-temp-allocator-size-nav-mesh-worker=65536"
"memorysetup-temp-allocator-size-audio-worker=65536"
"memorysetup-temp-allocator-size-cloud-worker=32768"
"memorysetup-temp-allocator-size-gfx=262144"
./launch.sh: line 80: 134 Segmentation fault (core dumped) DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" ./CoreKeeperServer "${params[@]}"

Unbreakable Obsidian Wall Around Spawn

When creating and loading a new world on a server without a graphics card installed, the unbreakable world border wall generates around the central spawn area near the core. Not sure if this is a one off issue for myself or if something changed with an update as I see support was added in a previous commit.

Segmentation fault on launch.sh

Today i restarted my containter due to the last seasonal update, i encountered this error on restarting.
I tried to find more information about it, but i couldn't find any clues. Its seems to me that could be a display problem, because the segmentation error code changed when i used other docker images (trying to add /tmp/.X11-unix as a volume).

These are the docker logs before dying

2023-02-09T02:54:15.640856047Z
2023-02-09T02:54:17.548378709Z Connecting anonymously to Steam Public...OK
2023-02-09T02:54:17.548393416Z Waiting for client config...OK
2023-02-09T02:54:18.630622577Z Waiting for user info...OK
2023-02-09T02:54:18.630636554Z Success! App '1007' already up to date.
2023-02-09T02:54:18.630639437Z Success! App '1963720' already up to date.
2023-02-09T02:54:18.750413071Z Started server process with pid 70
2023-02-09T02:54:18.753308463Z [UnityMemory] Configuration Parameters - Can be set up in boot.config
2023-02-09T02:54:18.753324082Z "memorysetup-bucket-allocator-granularity=16"
2023-02-09T02:54:18.753327246Z "memorysetup-bucket-allocator-bucket-count=8"
2023-02-09T02:54:18.753329932Z "memorysetup-bucket-allocator-block-size=4194304"
2023-02-09T02:54:18.753332455Z "memorysetup-bucket-allocator-block-count=1"
2023-02-09T02:54:18.753334751Z "memorysetup-main-allocator-block-size=16777216"
2023-02-09T02:54:18.753337108Z "memorysetup-thread-allocator-block-size=16777216"
2023-02-09T02:54:18.753339438Z "memorysetup-gfx-main-allocator-block-size=16777216"
2023-02-09T02:54:18.753341676Z "memorysetup-gfx-thread-allocator-block-size=16777216"
2023-02-09T02:54:18.753344034Z "memorysetup-cache-allocator-block-size=4194304"
2023-02-09T02:54:18.753346415Z "memorysetup-typetree-allocator-block-size=2097152"
2023-02-09T02:54:18.753349073Z "memorysetup-profiler-bucket-allocator-granularity=16"
2023-02-09T02:54:18.753351476Z "memorysetup-profiler-bucket-allocator-bucket-count=8"
2023-02-09T02:54:18.753353706Z "memorysetup-profiler-bucket-allocator-block-size=4194304"
2023-02-09T02:54:18.753355795Z "memorysetup-profiler-bucket-allocator-block-count=1"
2023-02-09T02:54:18.753357968Z "memorysetup-profiler-allocator-block-size=16777216"
2023-02-09T02:54:18.753360084Z "memorysetup-profiler-editor-allocator-block-size=1048576"
2023-02-09T02:54:18.753362316Z "memorysetup-temp-allocator-size-main=4194304"
2023-02-09T02:54:18.753364380Z "memorysetup-job-temp-allocator-block-size=2097152"
2023-02-09T02:54:18.753366894Z "memorysetup-job-temp-allocator-block-size-background=1048576"
2023-02-09T02:54:18.753369359Z "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
2023-02-09T02:54:18.753371810Z "memorysetup-temp-allocator-size-background-worker=32768"
2023-02-09T02:54:18.753374213Z "memorysetup-temp-allocator-size-job-worker=262144"
2023-02-09T02:54:18.753376569Z "memorysetup-temp-allocator-size-preload-manager=262144"
2023-02-09T02:54:18.753378816Z "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
2023-02-09T02:54:18.753385945Z "memorysetup-temp-allocator-size-audio-worker=65536"
2023-02-09T02:54:18.753389582Z "memorysetup-temp-allocator-size-cloud-worker=32768"
2023-02-09T02:54:18.753391990Z "memorysetup-temp-allocator-size-gfx=262144"
2023-02-09T02:54:19.052049163Z ./launch.sh: line 46: 70 Segmentation fault (core dumped) DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" ./CoreKeeperServer -batchmode -logfile -world "${WORLD_INDEX}" -worldname "${WORLD_NAME}" -worldseed "${WORLD_SEED}" -gameid "${GAME_ID}" -datapath "${STEAMAPPDATADIR}" -maxplayers "${MAX_PLAYERS}" -logfile CoreKeeperServerLog.txt

Extra info: The server where the container is running is also running other stuff but hasn't been updated in a long time.

Feature: Improved Discord messages

At the moment the server only sends the game id to the configured discord server. I think it would be a nice feature if we could set up a message text.

Heroic hero the world of ${WORLD_NAME} awaits you. Please join ${GAME_ID}

I think the an environment variable DISCORD_STARTUP should work. I am not sure if the placeholders can be replaced automatically, but this should not be a problem to get a good solution.

Also it would be great to get notified if the server goes down by using the handler kill_corekeeperserver

I think it would be a good solution to create a function for the discord call which handles curl call. (A function would be great for further enhancements e.g. “Player joined”, “Player left” if this could be determined by the logs of the server)

What’s your opinion?

build issue "./CoreKeeperServer: No such file or director"

Using Docker Compose
added corekeeper to the volume to house in a single folder in my docker folder

  #corekeeper
  core-keeper:
    container_name: corekeeper
    image: arguser/core-keeper-dedicated
    volumes:
      - ./corekeeper/server-files:/home/steam/core-keeper-dedicated
      - ./corekeeper/server-data:/home/steam/core-keeper-data
    env_file:
      - ./envs/corekeeper.env
    restart: always

When I am trying to build, I am getting this error in the logs

chmod: cannot access './CoreKeeperServer': No such file or directory
Started server process with pid 122
./launch.sh: line 38: ./CoreKeeperServer: No such file or directory
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

I don't know what I am overlooking here but would appreciate any help

Unraid: Server isn't starting after downloading (FIX PROPOSED)

Any ideas what is going on? It should just deploy the container, download the files and make the necessary folders and logs etc. However it's not starting and not making any logs etc either. So I cannot even see what is going on.

Both the DIRs are just empty.

steamcmd.sh[8]: Restarting steamcmd by request...
tid(13) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
minidumps folder is set to /tmp/dumps
[  0%] Checking for available updates...
[----] Verifying installation...
[  0%] Downloading update...
[  0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
UpdateUI: skip show logotid(26) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
minidumps folder is set to /tmp/dumps
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 0.00 (0 / 73781292)
 Update state (0x61) downloading, progress: 92.89 (68538412 / 73781292)
Success! App '1007' fully installed.
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 10.84 (50712620 / 467785005)
 Update state (0x61) downloading, progress: 15.77 (73781292 / 467785005)
 Update state (0x61) downloading, progress: 69.11 (323268613 / 467785005)
 Update state (0x61) downloading, progress: 97.58 (456468989 / 467785005)
Success! App '1963720' fully installed.
tid(108) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
minidumps folder is set to /tmp/dumps
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '1007' already up to date.
Success! App '1963720' already up to date.
xvinfo:  Unable to open display :99
Failed to start Xvfb, retry: 1
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X-Video Extension version 2.2
screen #0
 no adaptors present
chmod: cannot access './CoreKeeperServer': No such file or directory
-batchmode -logfile CoreKeeperServerLog.txt -world 0 -worldname Babs World -worldseed 0 -worldmode 0 -gameid 1q2w3e4r5t6y7u8i9o0pzxc -maxplayers 10 -season -1
Started server process with pid 137
./launch.sh: line 72: ./CoreKeeperServer: No such file or directory

Server won't save

I have an issue with the server not saving worlds and just reseting everytime I'm restarting the server.

Here are the steps I followed :

First I have to tell I'm on a TrueNAS Scale server

I created Datasets
01

Gave root permissions
02

Then launched the Docker image with basic configuration
03

Created the volumes for persistent storage
04

Then I launched it and volume server-files filed
05

In the Shell
06

If I get the GameID from the txt I can join the game, friends can join, and things work fine.

I wait for 10-15 minutes

But the server never creates any "worlds" folder or 0.world.gzip file.

So if I restart the server, my world is lost and the server creates a new one.

Server crashes before starting with Segmentation fault

I hope I didn't just miss something simple. I followed the instructions, but when I try run docker compose up -d it takes a minute but then when I check docker compose logs I see at the end that CoreKeeperServer experienced a Segmentation fault.

I've attached my compose.yaml, core.env, and the output of docker compose logs. I couldn't find the CoreKeeperServerLog.txt.

I entered the container and tried to tinker myself. I tried running without DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" (I searched a bit and couldn't find any Steamworks SDK Redist directory), and I also noticed -logfile is in the command twice, once with and once without the filename, so I skipped the one without a filename. When I did that, the server ran without a Segmentation fault, however it never seemed to actually load, and I couldn't connect to the game id. I did however notice the CoreKeeperServerLog.txt did get generated, so I've attached that as well.

compose.yaml.txt
core.env.txt
docker compose logs.txt
CoreKeeperServerLog.txt

core-keeper-dedicated remains empty

Good evening, unfortunately Core Keeper cannot be started with the Docker image on my system,
because the folder core-keeper-dedicated remains empty.

When I run docker compose up I get the following log:

Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Downloading update (48 of 57,385 KB)...
[  0%] Downloading update (3,716 of 57,385 KB)...
[  6%] Downloading update (7,205 of 57,385 KB)...
[ 12%] Downloading update (9,955 of 57,385 KB)...
[ 17%] Downloading update (12,452 of 57,385 KB)...
[ 21%] Downloading update (14,937 of 57,385 KB)...
[ 26%] Downloading update (17,426 of 57,385 KB)...
[ 30%] Downloading update (19,917 of 57,385 KB)...
[ 34%] Downloading update (22,410 of 57,385 KB)...
[ 39%] Downloading update (24,906 of 57,385 KB)...
[ 43%] Downloading update (27,666 of 57,385 KB)...
[ 48%] Downloading update (30,155 of 57,385 KB)...
[ 52%] Downloading update (32,643 of 57,385 KB)...
[ 56%] Downloading update (35,148 of 57,385 KB)...
[ 61%] Downloading update (37,651 of 57,385 KB)...
[ 65%] Downloading update (40,730 of 57,385 KB)...
[ 70%] Downloading update (42,113 of 57,385 KB)...
[ 73%] Downloading update (43,340 of 57,385 KB)...
[ 75%] Downloading update (44,593 of 57,385 KB)...
[ 77%] Downloading update (45,844 of 57,385 KB)...
[ 79%] Downloading update (47,092 of 57,385 KB)...
[ 82%] Downloading update (48,345 of 57,385 KB)...
[ 84%] Downloading update (49,712 of 57,385 KB)...
[ 86%] Downloading update (50,960 of 57,385 KB)...
[ 88%] Downloading update (52,209 of 57,385 KB)...
[ 90%] Downloading update (53,455 of 57,385 KB)...
[ 93%] Downloading update (54,700 of 57,385 KB)...
[ 95%] Downloading update (55,953 of 57,385 KB)...
[ 97%] Downloading update (57,198 of 57,385 KB)...
[ 99%] Downloading update (57,385 of 57,385 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 14.15 (9437184 / 66706004)
Success! App '1007' fully installed.
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 4.13 (12582912 / 304624269)
 Update state (0x61) downloading, progress: 60.73 (184987410 / 304624269)
 Update state (0x61) downloading, progress: 98.50 (300057765 / 304624269)
 Update state (0x81) verifying update, progress: 89.61 (272970465 / 304624269)
Success! App '1963720' fully installed.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '1007' already up to date.
Success! App '1963720' already up to date.
chmod: cannot access './CoreKeeperServer': No such file or directory
./launch.sh: line 38: ./CoreKeeperServer: No such file or directory
Started server process with pid 115

My .env file contains:

WORLD_INDEX=0
WORLD_NAME=My Server
WORLD_SEED=0
MAX_PLAYERS=10
DISCORD=0

The docker-compose.yml:

version: "3"

services:
  core-keeper:
    image: escaping/core-keeper-dedicated
    volumes:
      - ./server-files:/home/steam/core-keeper-dedicated
      - ./server-data:/home/steam/core-keeper-data
      - /tmp/.X11-unix:/tmp/.X11-unix
    restart: always
    stop_grace_period: 2m

Env for pause when empty

Hello,

I'm wondering if there's a method to establish a minimum number of active players to prevent pauses when there are no players present?

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.