mirror of
https://github.com/Octops/quake-kube.git
synced 2026-04-10 03:40:34 +00:00
Add ability to pass commands not in config yaml
This commit is contained in:
committed by
Chris Marshall
parent
e1ee91b4f7
commit
527087d394
11
README.md
11
README.md
@ -66,6 +66,8 @@ data:
|
||||
hostname: "quakekube"
|
||||
maxClients: 12
|
||||
password: "changeme"
|
||||
commands:
|
||||
- seta g_inactivity 600
|
||||
maps:
|
||||
- name: q3dm7
|
||||
type: FreeForAll
|
||||
@ -100,6 +102,15 @@ Capture limit for CTF maps can also be configured:
|
||||
captureLimit: 8
|
||||
```
|
||||
|
||||
Any commands not captured by the config yaml can be specified in the `commands` section:
|
||||
|
||||
```yaml
|
||||
commands:
|
||||
- seta g_inactivity 600
|
||||
- seta sv_timeout 120
|
||||
|
||||
```
|
||||
|
||||
### Add custom maps
|
||||
|
||||
The content server hosts a small upload app to allow uploading `pk3` or `zip` files containing maps. The content server in the [example.yaml](example.yaml) shares a volume with the game server, effectively "side-loading" the map content, however, in the future the game server will introspect into the maps and make sure that it can fulfill the users map configuration before starting.
|
||||
|
||||
Reference in New Issue
Block a user