hoanggtg / junimohost-stardew-server

headless stardew server inside a container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JunimoHost.com Stardew Dedicated Server

This repository contains everything needed to build a docker container running headless Stardew Valley.

Usage

Game config is pulled from the backend to the daemon before the game starts. The game mod retrieves its config from the daemon. There are default options provided in the case the backend service is not available. Use docker-compose to run the container.

Compilation

Requirements

All

  • make
  • docker

Daemon

  • go 1.19

Mod

  • .NET 5+ sdk
  • Installed SMAPI & Stardew

Command

run make build

Context

The headless server contains three main components:

  • Docker
  • Daemon
  • JunimoServer SMAPI Mod

Docker

Docker files are used to build a container that headlessly runs Stardew.

Daemon

The daemon is used to manage the system the game is running on. It's responsible for creating backups, getting configs from the backend, and eventually managing the game process completely.

JunimoServer

JunimoServer is a SMAPI mod used to automate the host and add in features condusive to server play.

About

headless stardew server inside a container

License:MIT License


Languages

Language:C# 88.8%Language:Go 9.2%Language:Dockerfile 1.1%Language:Makefile 0.6%Language:Shell 0.2%