Files
OpenRA/launch-dedicated.sh
Igor Popov 75372ff706 Update launch-dedicated.sh
do not hardcode Map
2013-12-23 09:03:20 +03:00

15 lines
410 B
Bash
Executable File

#!/bin/bash
Name="Dedicated-Server"
Mod="ra"
Dedicated="True"
DedicatedLoop="True"
ListenPort=1234
ExternalPort=1234
AdvertiseOnline="False"
while true; do
mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \
Server.Name=$Name Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \
Server.AdvertiseOnline=$AdvertiseOnline
done