Add one-command server mod updates: build_mods.py --push via update.sh (stop/sync/start, prunes stale jars)

This commit is contained in:
2026-08-21 10:58:38 +02:00
parent 7475ce0942
commit 89c0c47bb1
5 changed files with 247 additions and 13 deletions
+15
View File
@@ -35,6 +35,21 @@ cd ~/reaper-sky-server && ./run.sh
The world generates on first boot — wait for `Done (...)` and join at
`reaperofveriod.nl`. Full details in [`server/README.md`](server/README.md).
## Updating the server's mods (maintainers)
After adding/removing mods in the Prism instance `Reaper's Sky - dev`, push
them to the live server with one command from the repo root:
```sh
python3 server/build_mods.py --push
```
It regenerates `server/mods.json`, uploads it, then on the server:
**stop → sync mods (prune stale + download new, sha1-verified) → start**, and
waits until the log shows `Done (...)`. No git commit needed first. See
[`server/README.md`](server/README.md#updating-the-servers-mods) for details,
manual options and troubleshooting.
## What's inside
<details open>