Commit f1d86e

2026-04-20 11:21:45 Claude Code: ct-123-cs16: volume mounts, IP automation, path table
ct-123-cs16.md ..
@@ 10,7 10,22 @@
| Port | Protokoll | Verwendung |
|------|-----------|------------|
| 27016 | TCP | Web-Client (via Caddy) |
- | 27018 | UDP | Game-Port (direkt, Fritz!Box-Forward) |
+ | 27015 | UDP | Game-Port Standard (Fritz!Box-Forward) |
+ | 27018 | UDP | Game-Port konfiguriert (Fritz!Box-Forward) |
+
+ ## Konfigurationsdateien – Pfade auf CT 123
+
+ | Was | Pfad auf CT 123 |
+ |-----|-----------------|
+ | Maps | `/opt/cs16/cstrike/maps/` |
+ | server.cfg | `/opt/cs16/cstrike/server.cfg` |
+ | AMX configs (users.ini, plugins.ini, etc.) | `/opt/cs16/cstrike/addons/amxmodx/configs/` |
+ | AMX Plugins (.amxx) | `/opt/cs16/cstrike/addons/amxmodx/plugins/` |
+ | AMX Scripting (.sma) | `/opt/cs16/cstrike/addons/amxmodx/scripting/` |
+ | Metamod (plugins.ini) | `/opt/cs16/metamod/` |
+ | YaPB Bots | `/opt/cs16/yapb/` |
+
+ Alle Ordner sind als Docker-Volumes gemountet – Änderungen sind sofort aktiv ohne Container-Neustart (außer neue Plugins/Maps die einen `changelevel` oder Serverneustart brauchen).
## Verzeichnisstruktur
@@ 18,6 33,7 @@
/opt/cs16/
├── docker-compose.yml
├── valve.zip # CS 1.6 Assets (SteamCMD AppID 90)
+ ├── update-ip.sh # Cron: auto-updated public IP
├── metamod/
│ └── plugins.ini # Metamod Plugin-Liste
├── yapb/
@@ 25,15 41,20 @@
│ ├── conf/yapb.cfg # Bot-Konfiguration (yb_quota etc.)
│ └── data/graph/de_dust2.graph # Waypoints
└── cstrike/
+ ├── maps/ # .bsp Dateien hier ablegen
+ ├── server.cfg
+ ├── listenserver.cfg
+ ├── config.cfg
└── addons/
└── amxmodx/
├── configs/
│ ├── plugins.ini # AMX Plugin-Liste
- │ └── users.ini # Admin-Accounts
- ├── plugins/
+ │ ├── users.ini # Admin-Accounts
+ │ └── amxx.cfg # AMX Hauptkonfiguration
+ ├── plugins/ # .amxx Dateien
│ ├── tdm_respawn.amxx
│ └── admin_menu.amxx
- └── scripting/
+ └── scripting/ # .sma Quellcode
├── tdm_respawn.sma
└── admin_menu.sma
```
@@ 85,9 106,9 @@
**Schwierigkeitsgrade:** 0=Newbie, 1=Average, 2=Normal, 3=Professional, 4=Godlike
- ## Offene Punkte
+ ## Dynamische IP
+
+ Der Server läuft hinter einer dynamischen Fritz!Box-IP. Zwei Mechanismen sorgen für Aktualität:
- - Fritz!Box: UDP 27018 → 192.168.178.93 forwarden
- - Cloudflare: A-Record `cs` → 77.8.112.36, proxied=false
- - Technitium DNS: A-Record cs.ls-cloud.biz → 77.8.112.36
- - Nach Fritz!Box + Cloudflare: IP in docker-compose auf 77.8.112.36 ändern
+ - **Cloudflare DDNS** – A-Record `cs.ls-cloud.biz` wird automatisch aktualisiert
+ - **Cron auf CT 123** – `/opt/cs16/update-ip.sh` läuft alle 10 Minuten, erkennt IP-Änderung, updated `docker-compose.yml` und startet Container neu
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9