launch-dedicated.sh: add AllowPortForward directive
This commit is contained in:
@@ -7,9 +7,10 @@ DedicatedLoop="True"
|
|||||||
ListenPort="${ListenPort:-"1234"}"
|
ListenPort="${ListenPort:-"1234"}"
|
||||||
ExternalPort="${ExternalPort:-"1234"}"
|
ExternalPort="${ExternalPort:-"1234"}"
|
||||||
AdvertiseOnline="${AdvertiseOnline:-"False"}"
|
AdvertiseOnline="${AdvertiseOnline:-"False"}"
|
||||||
|
AllowPortForward="${AllowPortForward:-"False"}"
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \
|
mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \
|
||||||
Server.Name="$Name" Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \
|
Server.Name="$Name" Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \
|
||||||
Server.AdvertiseOnline=$AdvertiseOnline
|
Server.AdvertiseOnline=$AdvertiseOnline Server.AllowPortForward=$AllowPortForward
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user