@@ -38,9 +38,20 @@ NAME="${Name:-"Dedicated Server"}"
3838LAUNCH_MOD=" ${Mod:- " ${MOD_ID} " } "
3939LISTEN_PORT=" ${ListenPort:- " 1234" } "
4040ADVERTISE_ONLINE=" ${AdvertiseOnline:- " True" } "
41- ENABLE_SINGLE_PLAYER=" ${EnableSingleplayer:- " False" } "
4241PASSWORD=" ${Password:- " " } "
4342
43+ GEOIP_DATABASE_PATH=" ${GeoIPDatabase:- " " } "
44+
45+ REQUIRE_AUTHENTICATION=" ${RequireAuthentication:- " False" } "
46+ PROFILE_ID_BLACKLIST=" ${ProfileIDBlacklist:- " " } "
47+ PROFILE_ID_WHITELIST=" ${ProfileIDWhitelist:- " " } "
48+
49+ ENABLE_SINGLE_PLAYER=" ${EnableSingleplayer:- " False" } "
50+ ENABLE_SYNC_REPORTS=" ${EnableSyncReports:- " False" } "
51+ SHARE_ANONYMISED_IPS=" ${ShareAnonymizedIPs:- " True" } "
52+
53+ SUPPORT_DIR=" ${SupportDir:- " " } "
54+
4455cd " ${TEMPLATE_ROOT} "
4556if [ ! -f " ${ENGINE_DIRECTORY} /OpenRA.Game.exe" ] || [ " $( cat " ${ENGINE_DIRECTORY} /VERSION" ) " != " ${ENGINE_VERSION} " ]; then
4657 echo " Required engine files not found."
@@ -54,5 +65,13 @@ while true; do
5465 MOD_SEARCH_PATHS=" ${MOD_SEARCH_PATHS} " mono --debug OpenRA.Server.exe Game.Mod=" ${LAUNCH_MOD} " \
5566 Server.Name=" ${NAME} " Server.ListenPort=" ${LISTEN_PORT} " \
5667 Server.AdvertiseOnline=" ${ADVERTISE_ONLINE} " \
57- Server.EnableSingleplayer=" ${ENABLE_SINGLE_PLAYER} " Server.Password=" ${PASSWORD} "
68+ Server.Password=" ${PASSWORD} " \
69+ Server.GeoIPDatabase=" ${GEOIP_DATABASE_PATH} " \
70+ Server.RequireAuthentication=" ${REQUIRE_AUTHENTICATION} " \
71+ Server.ProfileIDBlacklist=" ${PROFILE_ID_BLACKLIST} " \
72+ Server.ProfileIDWhitelist=" ${PROFILE_ID_WHITELIST} " \
73+ Server.EnableSingleplayer=" ${ENABLE_SINGLE_PLAYER} " \
74+ Server.EnableSyncReports=" ${ENABLE_SYNC_REPORTS} " \
75+ Server.ShareAnonymizedIPs=" ${SHARE_ANONYMISED_IPS} " \
76+ Engine.SupportDir=" ${SUPPORT_DIR} "
5877done
0 commit comments