_default.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. port="34197"
  12. rconport="34198"
  13. rconpassword="CHANGE_ME"
  14. branch="stable"
  15. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  16. fn_parms(){
  17. parms="--start-server ${serverfiles}/save1.zip --server-settings ${servercfgfullpath} --port ${port} --rcon-port ${rconport} --rcon-password ${rconpassword}"
  18. }
  19. #### LinuxGSM Settings ####
  20. ## Notification Alerts
  21. # (on|off)
  22. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  23. postalert="off"
  24. postdays="7"
  25. posttarget="https://hastebin.com"
  26. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  27. discordalert="off"
  28. discordwebhook="webhook"
  29. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  30. emailalert="off"
  31. email="email@example.com"
  32. emailfrom=""
  33. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  34. iftttalert="off"
  35. ifttttoken="accesstoken"
  36. iftttevent="linuxgsm_alert"
  37. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  38. mailgunalert="off"
  39. mailguntoken="accesstoken"
  40. mailgundomain="example.com"
  41. mailgunemailfrom="alert@example.com"
  42. mailgunemail="email@myemail.com"
  43. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  44. pushbulletalert="off"
  45. pushbullettoken="accesstoken"
  46. channeltag=""
  47. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  48. pushoveralert="off"
  49. pushovertoken="accesstoken"
  50. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  51. telegramalert="off"
  52. telegramtoken="accesstoken"
  53. telegramchatid=""
  54. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  55. updateonstart="off"
  56. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  57. maxbackups="4"
  58. maxbackupdays="30"
  59. stoponbackup="on"
  60. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  61. consolelogging="on"
  62. logdays="7"
  63. #### LinuxGSM Advanced Settings ####
  64. ## LinuxGSM Server Details
  65. # Do not edit
  66. gamename="Factorio"
  67. engine="factorio"
  68. #### Directories ####
  69. # Edit with care
  70. ## Server Specific Directories
  71. systemdir="${serverfiles}"
  72. executabledir="${serverfiles}/bin/x64"
  73. executable="./factorio"
  74. servercfg="${servicename}.json"
  75. servercfgdefault="server-settings.json"
  76. servercfgdir="${serverfiles}/data"
  77. servercfgfullpath="${servercfgdir}/${servercfg}"
  78. ## Backup Directory
  79. backupdir="${rootdir}/backups"
  80. ## Logging Directories
  81. gamelogdir="${serverfiles}"
  82. lgsmlogdir="${logdir}/script"
  83. consolelogdir="${logdir}/console"
  84. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  85. consolelog="${consolelogdir}/${servicename}-console.log"
  86. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  87. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  88. ## Logs Naming
  89. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  90. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"