_default.cfg 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. # 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. ## LinuxGSM Server Details
  41. # Do not edit
  42. gamename="Factorio"
  43. engine="factorio"
  44. #### Directories ####
  45. # Edit with care
  46. ## Server Specific Directories
  47. systemdir="${serverfiles}"
  48. executabledir="${serverfiles}/bin/x64"
  49. executable="./factorio"
  50. servercfg="${servicename}.json"
  51. servercfgdefault="server-settings.json"
  52. servercfgdir="${serverfiles}/data"
  53. servercfgfullpath="${servercfgdir}/${servercfg}"
  54. ## Backup Directory
  55. backupdir="${rootdir}/backups"
  56. ## Logging Directories
  57. gamelogdir="${serverfiles}"
  58. lgsmlogdir="${logdir}/script"
  59. consolelogdir="${logdir}/console"
  60. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  61. consolelog="${consolelogdir}/${servicename}-console.log"
  62. emaillog="${lgsmlogdir}/${servicename}-email.log"
  63. ## Logs Naming
  64. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  65. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"