_default.cfg 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 - applys settings to every instance
  7. # [instance].cfg - applys settings to specific instance
  8. #### Server Settings ####
  9. ## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  13. ip="0.0.0.0"
  14. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  15. fn_parms(){
  16. parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated -configfile=${servercfgfullpath}"
  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. ## SteamCMD Settings
  40. # Server appid
  41. appid="294420"
  42. # Steam App Branch Select
  43. # Allows to opt into the various Steam app branches. Default branch is "".
  44. # Example: "-beta latest_experimental"
  45. branch=""
  46. ## LinuxGSM Server Details
  47. # Do not edit
  48. gamename="7 Days To Die"
  49. engine="unity3d"
  50. #### Directories ####
  51. # Edit with care
  52. ## Server Specific Directories
  53. systemdir="${filesdir}"
  54. executabledir="${filesdir}"
  55. executable="./7DaysToDieServer.x86"
  56. servercfg="${servicename}.xml"
  57. servercfgdefault="serverconfig.xml"
  58. servercfgdir="${filesdir}"
  59. servercfgfullpath="${servercfgdir}/${servercfg}"
  60. ## Backup Directory
  61. backupdir="${rootdir}/backups"
  62. ## Logging Directories
  63. gamelogdir="${rootdir}/log/server"
  64. scriptlogdir="${rootdir}/log/script"
  65. consolelogdir="${rootdir}/log/console"
  66. gamelog="${gamelogdir}/${servicename}-game.log"
  67. scriptlog="${scriptlogdir}/${servicename}-script.log"
  68. consolelog="${consolelogdir}/${servicename}-console.log"
  69. emaillog="${scriptlogdir}/${servicename}-email.log"
  70. ## Logs Naming
  71. scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  72. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"