Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherpaquin/695376466bdd8e91fc5035ee01b04eeb to your computer and use it in GitHub Desktop.
Save christopherpaquin/695376466bdd8e91fc5035ee01b04eeb to your computer and use it in GitHub Desktop.
#!/bin/bash
Name="${Name:-"Paquin OpenRA Server"}"
ListenPort="${ListenPort:-"1234"}"
AdvertiseOnline="${AdvertiseOnline:-"True"}"
Password="${Password:-"MYPASSWORD"}"
RequireAuthentication="${RequireAuthentication:-"True"}"
ProfileIDBlacklist="${ProfileIDBlacklist:-""}"
ProfileIDWhitelist="${ProfileIDWhitelist:-""}"
EnableSingleplayer="${EnableSingleplayer:-"True"}"
EnableSyncReports="${EnableSyncReports:-"False"}"
EnableGeoIP="${EnableGeoIP:-"True"}"
ShareAnonymizedIPs="${ShareAnonymizedIPs:-"True"}"
/root/OpenRA/OpenRA-Red-Alert-x86_64.AppImage --server \
Server.Name="$Name" \
Server.ListenPort="$ListenPort" \
Server.AdvertiseOnline="$AdvertiseOnline" \
Server.EnableSingleplayer="$EnableSingleplayer" \
Server.Password="$Password" \
Server.GeoIPDatabase="$GeoIPDatabase" \
Server.ProfileIDBlacklist="$ProfileIDBlacklist" \
Server.ProfileIDWhitelist="$ProfileIDWhitelist" \
Server.EnableSyncReports="$EnableSyncReports" \
Server.EnableGeoIP="$EnableGeoIP" \
Server.ShareAnonymizedIPs="$ShareAnonymizedIPs" \
Engine.SupportDir="/root/.openra" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment