A self-hosted web panel for managing Insurgency: Sandstorm dedicated servers. Built with Go and React.
本仓库是 jocxFIN/sandpanel 的简体中文汉化分支, 由社区维护,与上游作者无关。基于上游
main分支,保留 MIT 许可。
- 完整简体中文本地化(基于 i18next / react-i18next),覆盖导航、按钮、表单、弹窗、 提示、空状态、错误信息等全部界面文案。
- 语言切换入口:登录页与登录后侧边栏各一处,可切换
English/简体中文。- 默认语言仍为英文,与上游界面完全一致;语言选择持久化在浏览器
localStorage["sandpanel-lang"],也可用?lang=zh-CN强制指定。- 后端增加 Windows 支持(上游后端仅能在 Linux 编译运行), 详见 TRANSLATION_NOTES.md 第九节。
- RCON 控制台与玩家管理支持直接操作远程服务器(上游只能操作本机进程)。
git clone <本仓库地址> cd sandpanel cp .env.example .env # 设置 RCON_PASSWORD、FRONTEND_PORT、SANDSTORM_INSTALL_PATH docker compose up --build -d docker logs sandpanel-backend 2>&1 | grep -i password # 首次运行的管理员密码浏览器打开
http://<服务器IP>:22369即可。首次进入是英文界面,点简体中文切换。面板可以跑在一台机器上,去管另一台机器上的 Sandstorm 服务端: 「运维中心 → 监控项 → 添加监控」填入服务器的
IP、查询端口、RCON 端口、RCON 密码, 保存并点「启动」;然后到 RCON 控制台右上角的「目标服务器」下拉里选中它, 命令即直达该服务器。踢出/封禁会自动按玩家来源路由到对应服务器。 注意:远程服务器的启停与 SteamCMD 安装不可用(服务端只有 Linux 二进制)。翻译范围、变更文件清单、未翻译项(专有名词/后端来源文本)、验证过程与已知限制, 见 TRANSLATION_NOTES.md。
SandPanel gives you full control over your Sandstorm server from a browser — starting and stopping the server, editing configs, managing mods, monitoring players, and more. Everything runs in Docker, state is stored as JSON files (no database needed), and the whole thing is designed to run on the same machine as your game server.
- Server lifecycle — start, stop, restart with process monitoring
- Config editor — visual forms with INI parsing, plus a raw editor toggle
- Mod management — subscribe/unsubscribe mods, reorder load order
- Mod.io auth — 1.20 security code flow for mod downloads
- SteamCMD — install, update, and validate game files
- RCON console — send commands, see chat, view player list
- Live logs — real-time log streaming over WebSocket
- Multi-profile — run multiple server configs with isolated ports
- Remote monitoring — A2S query + RCON for checking server status
- Player tracking — persistent history with SteamIDs, names, scores
- User accounts — role-based access (user / moderator / admin / host)
- Moderation — kick, ban, unban from the web UI
git clone https://github.com/jocxFIN/sandpanel.git cd sandpanel cp .env.example .env # edit .env — set your RCON password, ports, install path docker compose up --build -d
Open http://localhost:22369 in your browser. The default admin password is printed to the backend logs on first run:
docker logs sandpanel-backend 2>&1 | grep password
Copy .env.example to .env and adjust:
| Variable | Default | Description |
|---|---|---|
FRONTEND_PORT |
22369 |
Web UI port |
GAME_PORT |
27102 |
Game server port |
QUERY_PORT |
27131 |
A2S query port |
RCON_PORT |
27015 |
RCON port |
RCON_PASSWORD |
— | RCON password |
SANDSTORM_INSTALL_PATH |
./sandstorm-install |
Path to game server files |
PUID / PGID |
1000 |
Container user/group IDs |
Game server config files live in configs/ (Engine.ini, Game.ini, MapCycle.txt, etc). The panel also provides a visual editor for these.
┌─────────────────────────────────────────────────┐
│ Host │
│ │
│ ┌───────────────────┐ ┌────────────────────┐ │
│ │ sandpanel-frontend │ │ sandpanel-backend │ │
│ │ Vite + React │ │ Go 1.22 │ │
│ │ :22369 (web UI) │──│ :8080 (internal) │ │
│ │ │ │ │ │
│ │ SPA with proxy │ │ Process wrapper │ │
│ │ Dynamic forms │ │ RCON client │ │
│ │ │ │ INI AST parser │ │
│ └───────────────────┘ │ A2S query │ │
│ │ WebSocket logs │ │
│ │ SteamCMD lifecycle │ │
│ └────────┬───────────┘ │
│ │ │
│ ┌────────▼───────────┐ │
│ │ Sandstorm Server │ │
│ │ :27102 Game │ │
│ │ :27131 Query │ │
│ │ :27015 RCON │ │
│ └────────────────────┘ │
└─────────────────────────────────────────────────┘
Sandstorm 1.20 moved mod downloads to mod.io. Use the Mod.io page in the panel to complete the one-time auth:
- Enter your email — a security code is sent
- Enter the code — the backend boots once with
-SecurityCode=<CODE> - Future launches use the stored OAuth token from
data/steam-home/mod.io/
Prerequisites: Go 1.22+, Node.js 22+, Docker
Backend:
cd backend-go
go build -o sandpanel-backend ./cmd/server
./sandpanel-backendFrontend:
cd sandpanel-web
npm install
npm run devFull stack:
docker compose up --build
Upstream ships two GitHub Actions workflows (ci.yml, docker-publish.yml).
They are not included in this fork — the publishing token used here lacked the
workflow scope, and docker-publish.yml would fail without your own Docker Hub
secrets anyway. If you want them, copy them from
jocxFIN/sandpanel and grant the workflow
scope to your token.
You can also use pre-built images instead of building locally:
BACKEND_IMAGE=<namespace>/sandpanel-backend:latest \ FRONTEND_IMAGE=<namespace>/sandpanel-frontend:latest \ docker compose up -d
This project uses the following third-party software and services:
- SteamCMD — Valve's command-line tool for installing and updating dedicated servers. SteamCMD is bundled in the Docker image via
cm2network/steamcmd. SteamCMD is a product of Valve Corporation. - mod.io — Mod hosting platform. SandPanel integrates with the mod.io API for mod management. The
defaultEmailRequestAPIKeyused for authentication is mod.io's standard public API key for server-side email auth flows. - Source RCON Protocol — The RCON client implements Valve's Source RCON Protocol for server communication.
- Insurgency: Sandstorm — This project is not affiliated with or endorsed by New World Interactive or Focus Entertainment. Insurgency: Sandstorm is a trademark of its respective owners.
This project is licensed under the MIT License, with the upstream
attribution requirement (see the ATTRIBUTION REQUIREMENT clause in LICENSE).
本项目基于 jocxFIN/sandpanel(作者 jocxfin)修改而来,原项目采用 MIT 许可并额外要求 所有副本与衍生版本保留对原作者与原仓库的可见署名。本汉化版严格遵循该要求:
- 保留原始
LICENSE全文,未作任何删改。 - 本 README 顶部与本节均标明原作者与原仓库链接。
- 面板界面内的署名(登录页与侧边栏底部的 “SandPanel by jocxfin”)保持不变, 汉化仅翻译了连接词 “by”→“由”,链接与作者名原样保留。





