Saba-chan Official Documentation

Official guide covering Saba-chan installation, configuration, and module and extension development.

Saba-chan Official Documentation

Saba-chan is a program that installs and manages game servers on a personal PC. A daemon, a program that always runs in the background, controls server processes. You can start, stop, and monitor servers with the GUI, the CLI, or Discord commands. Windows, Linux (x86_64), and macOS (Apple silicon) are supported.


Documentation Guide

Getting Started

  1. Getting Started: Walk through the setup process, from installing Saba-chan to creating and starting your first game server.
  2. Managing Your Servers: Learn the day-to-day workflow, such as starting, stopping, and monitoring servers.
  3. Discord Bot: Connect the Discord bot to start servers and check server status directly from Discord channels.
  4. Commands: See the commands available in the Discord bot and how to register aliases.
  5. Troubleshooting: Identify causes and solutions for common issues, such as port conflicts and connection errors.

Configuration and Extensions

  • Configuration: Review config.json, the single file that holds all user settings, along with environment variable options.
  • Extensions: Extend daemon capabilities with features such as automated SteamCMD installation and Unreal Engine config file editing.

Module and API Development

  • Module System: Add support for new game servers using module.toml configurations and Python .py scripts.
  • REST API Reference: Review the HTTP REST API specifications provided by the daemon when integrating external tools or dashboards.

Key Features

1. Runtime Setup

Saba-chan does not modify system-wide environment variables (PATH). The installer prepares the Python runtime that modules and extensions need in a dedicated Saba-chan folder, removing the need to configure separate environments manually.

2. Daemon and Interfaces

A core daemon written in Rust performs every feature and directly manages server processes. The GUI and CLI are interfaces that call the daemon API.

  • When you close the GUI window, selecting "Exit Interface" keeps the daemon and game servers running. To shut down completely, select "Quit All" to stop the daemon as well.
  • When the daemon restarts, it inspects existing server processes that are still running, verifies them, and automatically reconnects (Re-attach) to resume monitoring.

3. Discord Bot and Remote Management

The Discord bot runs on the cloud relay server. Once you pair Saba-chan with the bot, the daemon connects out to the relay, so you can manage servers via Discord commands from external networks without router port forwarding. The relay only forwards management commands. Network access for players must be configured separately from remote management.

4. Modules and Extensions

  • Modules: Define how each game is installed and launched, along with its configuration rules, to add support for new games. The official modules are Minecraft, Palworld, Project Zomboid, and Terraria.
  • Extensions: Add operational tools to the daemon, such as automated SteamCMD installation, Unreal Engine config file (INI) editing, or portable XNA Framework setup.
  • Modules and extensions without a verified official signature run in an isolated sandbox (AppContainer on Windows, bubblewrap on Linux). Where isolation is not possible (Linux without a usable bubblewrap, and macOS), they run only after you agree. Running them without isolation requires your explicit consent.

5. Updates

Updates for the app, modules, and extensions are downloaded only from releases with a verified official signature, and every downloaded file is hash-checked.


Support and Contributions