_default.cfg 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  15. fn_parms(){
  16. parms="--start-server ${serverfiles}/save1.zip --server-settings ${servercfgfullpath} --port ${port} --rcon-port ${rconport} --rcon-password ${rconpassword}"
  17. }
  18. #### LinuxGSM Settings ####
  19. ## Notification Alerts
  20. # (on|off)
  21. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  22. emailalert="off"
  23. email="email@example.com"
  24. emailfrom=""
  25. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  26. pushbulletalert="off"
  27. pushbullettoken="accesstoken"
  28. channeltag=""
  29. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  30. updateonstart="off"
  31. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  32. maxbackups="4"
  33. maxbackupdays="30"
  34. stoponbackup="on"
  35. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  36. consolelogging="on"
  37. logdays="7"
  38. #### LinuxGSM Advanced Settings ####
  39. ## LinuxGSM Server Details
  40. # Do not edit
  41. gamename="Factorio"
  42. engine="factorio"
  43. #### Directories ####
  44. # Edit with care
  45. ## Server Specific Directories
  46. systemdir="${serverfiles}"
  47. executabledir="${serverfiles}/bin/x64"
  48. executable="./factorio"
  49. servercfg="${servicename}.json"
  50. servercfgdefault="server-settings.json"
  51. servercfgdir="${serverfiles}/data"
  52. servercfgfullpath="${servercfgdir}/${servercfg}"
  53. ## Backup Directory
  54. backupdir="${rootdir}/backups"
  55. ## Logging Directories
  56. gamelogdir="${serverfiles}"
  57. lgsmlogdir="${logdir}/script"
  58. consolelogdir="${logdir}/console"
  59. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  60. consolelog="${consolelogdir}/${servicename}-console.log"
  61. emaillog="${lgsmlogdir}/${servicename}-email.log"
  62. ## Logs Naming
  63. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  64. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"