Make Packmask configurable
This commit is contained in:
parent
6078b9cb32
commit
0fffffeb7d
|
@ -41,6 +41,8 @@ then run
|
||||||
unwanted logins, set a server password
|
unwanted logins, set a server password
|
||||||
- HIDE_SERVER | Whether you want your server public or not -> Default : 0 (public)
|
- HIDE_SERVER | Whether you want your server public or not -> Default : 0 (public)
|
||||||
- MAX_PLAYERS | Max player count -> Default : 32
|
- MAX_PLAYERS | Max player count -> Default : 32
|
||||||
|
- PACKMASK | Leave empty to change server mode to United -> Default : stadium
|
||||||
|
(Nations)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Gamemodes
|
### Gamemodes
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
<guestlist_filename></guestlist_filename>
|
<guestlist_filename></guestlist_filename>
|
||||||
<blacklist_filename></blacklist_filename>
|
<blacklist_filename></blacklist_filename>
|
||||||
|
|
||||||
<packmask>stadium</packmask>
|
<packmask>@PACKMASK@</packmask>
|
||||||
|
|
||||||
<allow_spectator_relays>False</allow_spectator_relays>
|
<allow_spectator_relays>False</allow_spectator_relays>
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,8 @@ HIDE_SERVER=${HIDE_SERVER:-0} && config+=( "HIDE_SERVER" )
|
||||||
echo "INFO | HIDE_SERVER: ${HIDE_SERVER}"
|
echo "INFO | HIDE_SERVER: ${HIDE_SERVER}"
|
||||||
MAX_PLAYERS=${MAX_PLAYERS:-32} && config+=( "MAX_PLAYERS" )
|
MAX_PLAYERS=${MAX_PLAYERS:-32} && config+=( "MAX_PLAYERS" )
|
||||||
echo "INFO | MAX_PLAYERS: ${MAX_PLAYERS}"
|
echo "INFO | MAX_PLAYERS: ${MAX_PLAYERS}"
|
||||||
|
PACKMASK=${PACKMASK:-stadium} && config+=( "PACKMASK" )
|
||||||
|
echo "INFO | PACKMASK: ${PACKMASK}"
|
||||||
|
|
||||||
# Game Config
|
# Game Config
|
||||||
GAMEMODE=${GAMEMODE:-1} && playlist+=( "GAMEMODE" )
|
GAMEMODE=${GAMEMODE:-1} && playlist+=( "GAMEMODE" )
|
||||||
|
|
Loading…
Reference in New Issue