Update 'start.sh'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jack Hadrill 2022-07-31 18:14:49 +00:00
parent 6c117f2ea1
commit 261d5494d8
1 changed files with 8 additions and 10 deletions

View File

@ -1,26 +1,24 @@
#!/bin/bash #!/bin/bash
Hostname="${HOSTNAME:-QuakeLive}" ServerName="${SERVER_NAME:-QuakeLive}"
GamePort="${GAME_PORT:-27960}"
RconPort="${RCON_PORT:-28960}"
Password="${PASSWORD:-}" Password="${PASSWORD:-}"
RconPassword="${RCON_PASSWORD:-}" AdminPassword="${ADMIN_PASSWORD:-}"
StatsPassword="${STATS_PASSWORD:-}" StatsPassword="${STATS_PASSWORD:-}"
steamcmd +login anonymous +force_install_dir /game +app_update 349090 validate +exit steamcmd +login anonymous +force_install_dir /game +app_update 349090 validate +exit
/game/run_server_x64.sh \ /game/run_server_x64.sh \
+set net_strict 1 \ +set net_strict 1 \
+set net_port "${GamePort}" \ +set net_port 27960 \
+set sv_hostname "${Hostname}" \ +set sv_hostname "${ServerName}" \
+set sv_tags "${Hostname}" \ +set sv_tags "${ServerName}" \
+set sv_servertype 2 \ +set sv_servertype 2 \
+set sv_master 1 \ +set sv_master 1 \
+set g_password "${Password}" \ +set g_password "${Password}" \
+set zmq_rcon_enable 1 \ +set zmq_rcon_enable 1 \
+set zmq_rcon_password "${RconPassword}" \ +set zmq_rcon_password "${AdminPassword}" \
+set zmq_rcon_port "${RconPort}" \ +set zmq_rcon_port 28960 \
+set zmq_stats_enable 1 \ +set zmq_stats_enable 1 \
+set zmq_stats_password "${StatsPassword}" \ +set zmq_stats_password "${StatsPassword}" \
+set zmq_stats_port "${GamePort}" \ +set zmq_stats_port 27960 \
+set sv_vac 0 +set sv_vac 0