Files
OpenRA/launch-dedicated.sh
Glenn Martin Jensen 615c22f158 Added possibility to use spaces in Server.Name
This way it's easier for others to set a servername with spaces in it by
default
2015-05-21 09:49:04 +02:00

16 lines
501 B
Bash
Executable File

#!/bin/bash
# example launch script, see https://github.com/OpenRA/OpenRA/wiki/Dedicated for details
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