_default.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT WILL BE OVERWRITTEN!
  5. # Copy settings from here and use them in either
  6. # common.cfg - applies settings to every instance
  7. # [instance].cfg - applies settings to a specific instance
  8. #### Server Settings ####
  9. ## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  13. ip="0.0.0.0"
  14. defaultmap="RO-Arad.rom"
  15. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  16. fn_parms(){
  17. parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}"
  18. }
  19. #### LinuxGSM Settings ####
  20. ## Notification Alerts
  21. # (on|off)
  22. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  23. emailalert="off"
  24. email="email@example.com"
  25. emailfrom=""
  26. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  27. pushbulletalert="off"
  28. pushbullettoken="accesstoken"
  29. channeltag=""
  30. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  31. updateonstart="off"
  32. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  33. maxbackups="4"
  34. maxbackupdays="30"
  35. stoponbackup="on"
  36. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  37. consolelogging="on"
  38. logdays="7"
  39. #### LinuxGSM Advanced Settings ####
  40. ## SteamCMD Settings
  41. # Server appid
  42. appid="223250"
  43. # Steam App Branch Select
  44. # Allows to opt into the various Steam app branches. Default branch is "".
  45. # Example: "-beta latest_experimental"
  46. branch=""
  47. ## LinuxGSM Server Details
  48. # Do not edit
  49. gamename="Red Orchestra: Ostfront 41-45"
  50. engine="unreal2"
  51. #### Directories ####
  52. # Edit with care
  53. ## Work Directories
  54. rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"
  55. selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
  56. lockselfname=".${servicename}.lock"
  57. lgsmdir="${rootdir}/lgsm"
  58. functionsdir="${lgsmdir}/functions"
  59. libdir="${lgsmdir}/lib"
  60. tmpdir="${lgsmdir}/tmp"
  61. ## Server Specific Directories
  62. serverfiles="${rootdir}/serverfiles"
  63. systemdir="${serverfiles}/system"
  64. executabledir="${systemdir}"
  65. executable="./ucc-bin"
  66. servercfg="${servicename}.ini"
  67. servercfgdefault="default.ini"
  68. servercfgdir="${systemdir}"
  69. servercfgfullpath="${servercfgdir}/${servercfg}"
  70. compressedmapsdir="${rootdir}/Maps-Compressed"
  71. ## Backup Directory
  72. backupdir="${rootdir}/backups"
  73. ## Logging Directories
  74. logdir="${rootdir}/log"
  75. gamelogdir="${rootdir}/log/server"
  76. lgsmlogdir="${logdir}/script"
  77. consolelogdir="${logdir}/console"
  78. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  79. gamelog="${gamelogdir}/${servicename}-game.log"
  80. consolelog="${consolelogdir}/${servicename}-console.log"
  81. emaillog="${lgsmlogdir}/${servicename}-email.log"
  82. ## Logs Naming
  83. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  84. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  85. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"