Advertisement
iminecrafter

Server Startup Script

May 17th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #!/bin/bash
  2. # Wrapper file to start the A3 server
  3. # Server installation path
  4. serverConfigDir=/home/tbowen/a3server/private/serverconfig
  5.  
  6. # Network settings used in -cfg param
  7. networkConfig=$serverConfigDir/basic.cfg
  8.  
  9. # Server configuration settings used in -config param
  10. serverConfig=$serverConfigDir/server.cfg
  11.  
  12. # Server profile and difficulty settings used in -name param
  13. profileName="private"
  14.  
  15. # Server-side mods
  16. mods=@cba_a3\;@1stcav\;@ace\;@alive\;@aliveserver\;@cup_terrains\;@rhs_afrf\;@rhs_usaf\;@task_force_radio\;@mcc_sandbox_a3\;
  17.  
  18. # Start server
  19. ./arma3server -cfg=$networkConfig -config=$serverConfig -name=$profileName -mod=$mods -world=empty -port=2302 -noSound
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement