ql-lg-server: Quake Live LG vampiric practice server in Docker

One-command setup (SteamCMD + minqlx build), .env settings with a
listed/unlisted switch, three factories (lgvamp, lgvamp_nolag, lgvamp100),
warmup-text and welcome minqlx plugins, watchdog/backup/daily-restart,
docs for admins and players.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
esefandClaude Opus 5.5 committed 2026-10-08 01:39:43 +03:00
commit bc5bd09c15
25 files changed
+1009

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
# Nightly backup of settings, secrets, admins/bans and plugins (not the game files: setup.sh
# re-downloads them). backups/ql-YYYY-MM-DD.tar.gz, 14 days kept. Also empties QL's log files
# once they pass 50 MB (QL appends to them forever).
. "$(dirname "$0")/env.sh"
set -e
umask 077
mkdir -p backups
chmod 700 backups
tar czf backups/ql-$(date +%F).tar.gz .env secrets home/baseq3/access.txt \
home/baseq3/server.cfg home/baseq3/scripts home/minqlx-plugins 2>/dev/null || true
find backups -name "ql-*.tar.gz" -mtime +14 -delete
for f in home/baseq3/*.log home/minqlx.log; do
if [ -f "$f" ] && [ "$(stat -c %s "$f")" -gt 52428800 ]; then : > "$f"; fi
done
exit 0