_default.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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 Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  10. fn_parms(){
  11. parms="+set net_strict 1 +set fs_homepath ${serverfiles} +exec ${servercfg}"
  12. }
  13. #### LinuxGSM Settings ####
  14. ## Notification Alerts
  15. # (on|off)
  16. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  17. postalert="off"
  18. postdays="7"
  19. posttarget="https://hastebin.com"
  20. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  21. discordalert="off"
  22. discordwebhook="webhook"
  23. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  24. emailalert="off"
  25. email="email@example.com"
  26. emailfrom=""
  27. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  28. iftttalert="off"
  29. ifttttoken="accesstoken"
  30. iftttevent="linuxgsm_alert"
  31. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  32. mailgunalert="off"
  33. mailguntoken="accesstoken"
  34. mailgundomain="example.com"
  35. mailgunemailfrom="alert@example.com"
  36. mailgunemail="email@myemail.com"
  37. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  38. pushbulletalert="off"
  39. pushbullettoken="accesstoken"
  40. channeltag=""
  41. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  42. pushoveralert="off"
  43. pushovertoken="accesstoken"
  44. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  45. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  46. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  47. # any custom string in curl - simple ignore this parameter.
  48. telegramalert="off"
  49. telegramtoken="accesstoken"
  50. telegramchatid=""
  51. curlcustomstring=""
  52. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  53. maxbackups="4"
  54. maxbackupdays="30"
  55. stoponbackup="on"
  56. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  57. consolelogging="on"
  58. logdays="7"
  59. #### LinuxGSM Advanced Settings ####
  60. # ANSI Colors
  61. ansi="on"
  62. ## LinuxGSM Server Details
  63. # Do not edit
  64. gamename="Wolfenstein: Enemy Territory"
  65. engine="idtech3"
  66. #### Directories ####
  67. # Edit with care
  68. ## Server Specific Directories
  69. systemdir="${serverfiles}"
  70. executabledir="${systemdir}"
  71. executable="./etded"
  72. servercfg="${servicename}.cfg"
  73. servercfgdefault="server.cfg"
  74. servercfgdir="${systemdir}/etmain"
  75. servercfgfullpath="${servercfgdir}/${servercfg}"
  76. ## Backup Directory
  77. backupdir="${rootdir}/backups"
  78. ## Logging Directories
  79. logdir="${rootdir}/log"
  80. gamelogdir="${serverfiles}/Logs"
  81. lgsmlogdir="${logdir}/script"
  82. consolelogdir="${logdir}/console"
  83. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  84. consolelog="${consolelogdir}/${servicename}-console.log"
  85. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  86. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  87. ## Logs Naming
  88. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  89. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"