Sign inSign up

struppinet/aska-dedicated-server

By struppinet

Updated 8 months ago

Dedicated game server for the ASKA game

Image
0

3.4K

struppinet/aska-dedicated-server repository overview

Docker for a Aska dedicated server

Static Badge Docker Hub

Table of contents

This is a Docker container to help you get started with hosting your own Aska dedicated server.

Requirements

Info

  • Forked from luxusburg/aska-server, thanks for your work!
  • This image uses the pterodactyl/wine yolk Ptero-Eggs as it was the only thing working. Thank you guys for your work!
  • The volume paths are not that great since it uses the windows emulation.
  • If anything is wrong with the config the Aska server will just crash.
VolumePathDescription
savegame/home/container/.wine/drive_c/users/container/AppData/LocalLow/Sand Sailor Studio/Aska/data/serverThe path where the start-script will store the config and Aska will store the savegame
server/home/container/server_filesThe path where steam will install the Aska dedicated server (optional to store to avoid re-downloading)

Known issues

As often discussed in the official discord server: #dedicated-server-megathread

  • Server quits/disconnects after a few minutes without any players. -> added a keep-alive detection
  • Savegame id will reset and a new save will be created. (even though the old save is still there) -> use the SAVE_ID env
  • Still some xvfb/wine issues. If you encounter any please report them in the issues section with logs and specs so we can have a look.

Docker Run

docker run -d \
    --name aska \
    -p 27015:27015/udp \
    -p 27016:27016/udp \    
    -v ./savegame:"/home/container/.wine/drive_c/users/container/AppData/LocalLow/Sand Sailor Studio/Aska/data/server" \
    -v ./server:"/home/container/server_files" \
    -e AUTHENTICATION_TOKEN=https://steamcommunity.com/dev/managegameservers \
    -e SERVER_NAME="Aska docker" \
    -e REGION=europe \
    -e KEEP_WORLD_ALIVE=false \
    struppinet/aska-dedicated-server:latest

Docker Compose

services:
  aska:
    container_name: aska
    image: struppinet/aska-dedicated-server:latest
    network_mode: bridge
    environment:
      - AUTHENTICATION_TOKEN=https://steamcommunity.com/dev/managegameservers
      - SERVER_NAME=Aska_docker
      - REGION=europe
      - KEEP_WORLD_ALIVE=false
    volumes:
      - './savegame:/home/container/.wine/drive_c/users/container/AppData/LocalLow/Sand Sailor Studio/Aska/data/server:rw'
      - './server:/home/container/server_files:rw'
    ports:
      - '27015:27015/udp'
      - '27016:27016/udp'
    restart: unless-stopped

Environment variables server settings

You can use these environment variables for your server settings:

VariableDefaultDescription
AUTHENTICATION_TOKENThe token needed for an authentication for AppId 1898300. Get it here: https://steamcommunity.com/dev/managegameservers
SESSION_NAMEDefault SessionSession name that is displayed in the server list (left column)
SERVER_NAMEMy Aska ServerHost name that is displayed in the server list (right column)
REGIONdefaultLeave default to ping the best region
PASSWORDSets the server password.
SERVER_PORT27015The port that clients will connect to for gameplay
SERVER_QUERY_PORT27016The port that will manage server browser related duties and info
KEEP_WORLD_ALIVEfalseIf set to true when the session is open, the world is also updating, even without players, if set to false, the world loads when the first player joins and the world unloads when the last player leaves
AUTOSAVE_STYLEevery morningThe style in which the server should save, possible options: every morning, disabled, every 5 minutes, every 10 minutes, every 15 minutes, every 20 minutes
SAVE_IDIf not empty this savegame id will be set. Use this to ensure the same savegame id after restarts to combat the known issue with savegame recreation
NO_VALIDATEfalseSet to true to skip validation of the game files on each startup

More options exists in the my_server_properties.txt file please modify it in there!

Game Options via Environment variables (ASKA_*)

You can use ASKA_ prefixed environment variables to set any config option. The variable name is converted automatically:

  • Drop the ASKA_ prefix
  • Convert to lowercase
  • Replace _ with spaces

For example: ASKA_MONSTER_DENSITY=high becomes monster density = high

Github https://github.com/struppinet/aska-dedicated-server
Docker https://hub.docker.com/r/struppinet/aska-dedicated-server

Tag summary

Content type

Image

Digest

sha256:ec4b0f4c5

Size

1.1 GB

Last updated

8 months ago

docker pull struppinet/aska-dedicated-server