Make Packmask configurable

This commit is contained in:
fanyx 2022-06-26 21:29:07 +02:00
parent 6078b9cb32
commit 0fffffeb7d
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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>

View File

@ -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" )