_default.cfg 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  10. ip="0.0.0.0"
  11. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  12. # Edit with care | https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt
  13. fn_parms(){
  14. parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}"
  15. }
  16. #### LinuxGSM Settings ####
  17. ## Notification Alerts
  18. # (on|off)
  19. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  20. postalert="off"
  21. postdays="7"
  22. posttarget="https://hastebin.com"
  23. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  24. discordalert="off"
  25. discordwebhook="webhook"
  26. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  27. emailalert="off"
  28. email="email@example.com"
  29. emailfrom=""
  30. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  31. iftttalert="off"
  32. ifttttoken="accesstoken"
  33. iftttevent="linuxgsm_alert"
  34. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  35. mailgunalert="off"
  36. mailguntoken="accesstoken"
  37. mailgundomain="example.com"
  38. mailgunemailfrom="alert@example.com"
  39. mailgunemail="email@myemail.com"
  40. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  41. pushbulletalert="off"
  42. pushbullettoken="accesstoken"
  43. channeltag=""
  44. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  45. pushoveralert="off"
  46. pushovertoken="accesstoken"
  47. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  48. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  49. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  50. # any custom string in curl - simple ignore this parameter.
  51. telegramalert="off"
  52. telegramtoken="accesstoken"
  53. telegramchatid=""
  54. curlcustomstring=""
  55. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  56. updateonstart="off"
  57. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  58. maxbackups="4"
  59. maxbackupdays="30"
  60. stoponbackup="on"
  61. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  62. consolelogging="on"
  63. logdays="7"
  64. #### LinuxGSM Advanced Settings ####
  65. # ANSI Colors
  66. ansi="on"
  67. ## SteamCMD Settings
  68. # Server appid
  69. appid="41080"
  70. # Steam App Branch Select
  71. # Allows to opt into the various Steam app branches. Default branch is "".
  72. # Example: "-beta latest_experimental"
  73. branch=""
  74. ## LinuxGSM Server Details
  75. # Do not edit
  76. gamename="Serious Sam 3: BFE"
  77. engine="seriousengine35"
  78. #### Directories ####
  79. # Edit with care
  80. ## Server Specific Directories
  81. systemdir="${serverfiles}/Bin"
  82. executable="./runSam3_DedicatedServer.sh"
  83. executabledir="${systemdir}"
  84. servercfg="${servicename}.ini"
  85. servercfgdefault="server.ini"
  86. servercfgdir="${serverfiles}/Content/SeriousSam3/Config"
  87. servercfgfullpath="${servercfgdir}/${servercfg}"
  88. ## Backup Directory
  89. backupdir="${rootdir}/backups"
  90. ## Logging Directories
  91. logdir="${rootdir}/log"
  92. gamelogdir="${logdir}/server"
  93. lgsmlogdir="${logdir}/script"
  94. consolelogdir="${logdir}/console"
  95. gamelog="${gamelogdir}/${servicename}-game.log"
  96. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  97. consolelog="${consolelogdir}/${servicename}-console.log"
  98. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  99. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  100. ## Logs Naming
  101. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  102. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  103. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"