Skip to content

Commit

Permalink
update parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Oct 29, 2023
1 parent 3573914 commit 2e34eb0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lgsm/config-default/config-lgsm/tfserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,29 @@

## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
port="27015"
beaconport="27016" # port +1
queryport="27017" # port +2
shutdownport="27018" # port +3
port="5001"
beaconport="5002"
shutdownport="5003"
queryport="27015"
adminlabel="true" # Enable admin icon.
allowsensitivewords="true"
altsavedirectoryname="${defaultmap}"
anticheat="true"
damageself="true"
defaultmap="TheIsland"
gamemode="0" # 0 = PvP; 1 = PvE
greenhand="true"
maxplayers="8"
maxplayers="40"
maxqueuesize="50"
queuevalidtime="120"
saveinterval="300"
serveradmins="" # Use 17-digit Steam IDs separated by commas to grant admin privileges to players.
servername="LinuxGSM"
serverpassword=""
servertags="LinuxGSM"
steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this.
steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this.

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="ProjectWar_Start?DedicatedServer -server -game -log -ServerTags=\"${servertags}\" -UseSteamSocket=${steamsocket} -Port=\"${port}\" -BeaconPort=\"${beaconport}\" -ShutDownServicePort=\"${shutdownport}\" -QueryPort=\"${queryport}\" -ConfigServerName=\"new\" -OutIPAddress=${ip} -UserDir=\"${serverfiles}/new\" -ServerName=\"${servername}\" -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=50 -QueueValidTime=120 -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts=${serveradmins} -IsShowGmTitle=${adminlabel} -ServerPassword=${serverpassword}"
startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log-Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${ip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseACE=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'"

#### LinuxGSM Settings ####

Expand Down

0 comments on commit 2e34eb0

Please sign in to comment.