_default.cfg 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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://docs.linuxgsm.com/steamcmd#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
  13. ip="0.0.0.0"
  14. defaultmap="RO-Arad.rom"
  15. ## Server Start Command | https://docs.linuxgsm.com/configuration/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. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  23. displayip=""
  24. # More info | https://docs.linuxgsm.com/alerts#more-info
  25. postalert="off"
  26. postdays="7"
  27. posttarget="https://hastebin.com"
  28. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  29. discordalert="off"
  30. discordwebhook="webhook"
  31. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  32. emailalert="off"
  33. email="email@example.com"
  34. emailfrom=""
  35. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  36. iftttalert="off"
  37. ifttttoken="accesstoken"
  38. iftttevent="linuxgsm_alert"
  39. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  40. mailgunalert="off"
  41. mailguntoken="accesstoken"
  42. mailgundomain="example.com"
  43. mailgunemailfrom="alert@example.com"
  44. mailgunemail="email@myemail.com"
  45. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  46. pushbulletalert="off"
  47. pushbullettoken="accesstoken"
  48. channeltag=""
  49. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  50. pushoveralert="off"
  51. pushovertoken="accesstoken"
  52. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  53. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  54. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  55. # any custom string in curl - simple ignore this parameter.
  56. telegramalert="off"
  57. telegramtoken="accesstoken"
  58. telegramchatid=""
  59. curlcustomstring=""
  60. ## Updating | https://docs.linuxgsm.com/commands/update
  61. updateonstart="off"
  62. ## Backup | https://docs.linuxgsm.com/commands/backup
  63. maxbackups="4"
  64. maxbackupdays="30"
  65. stoponbackup="on"
  66. ## Logging | https://docs.linuxgsm.com/features/logging
  67. consolelogging="on"
  68. logdays="7"
  69. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  70. # Query delay time
  71. querydelay="1"
  72. #### LinuxGSM Advanced Settings ####
  73. # ANSI Colors
  74. ansi="on"
  75. # Message Display Time
  76. sleeptime="0.5"
  77. ## SteamCMD Settings
  78. # Server appid
  79. appid="223250"
  80. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  81. branch=""
  82. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  83. steammaster="false"
  84. ## LinuxGSM Server Details
  85. # Do not edit
  86. gamename="Red Orchestra: Ostfront 41-45"
  87. engine="unreal2"
  88. glibc="2.4"
  89. #### Directories ####
  90. # Edit with care
  91. ## Server Specific Directories
  92. serverfiles="${rootdir}/serverfiles"
  93. systemdir="${serverfiles}/system"
  94. executabledir="${systemdir}"
  95. executable="./ucc-bin"
  96. servercfg="${servicename}.ini"
  97. servercfgdefault="default.ini"
  98. servercfgdir="${systemdir}"
  99. servercfgfullpath="${servercfgdir}/${servercfg}"
  100. compressedmapsdir="${rootdir}/Maps-Compressed"
  101. ## Backup Directory
  102. backupdir="${rootdir}/backups"
  103. ## Logging Directories
  104. logdir="${rootdir}/log"
  105. gamelogdir="${logdir}/server"
  106. lgsmlogdir="${logdir}/script"
  107. consolelogdir="${logdir}/console"
  108. gamelog="${gamelogdir}/${servicename}-game.log"
  109. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  110. consolelog="${consolelogdir}/${servicename}-console.log"
  111. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  112. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  113. ## Logs Naming
  114. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  115. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  116. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"