_default.cfg 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. ## 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="-f ${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="380840"
  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="Teeworlds"
  49. engine="teeworlds"
  50. #### Directories ####
  51. # Edit with care
  52. ## Server Specific Directories
  53. systemdir="${serverfiles}/tw"
  54. executabledir="${systemdir}"
  55. executable="./teeworlds_srv"
  56. servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir
  57. servercfgdefault="server.cfg"
  58. servercfgdir="${serverfiles}"
  59. servercfgfullpath="${servercfgdir}/${servercfg}"
  60. ## Backup Directory
  61. backupdir="${rootdir}/backups"
  62. ## Logging Directories
  63. logdir="${rootdir}/log"
  64. gamelogdir="${logdir}/server"
  65. lgsmlogdir="${logdir}/script"
  66. consolelogdir="${logdir}/console"
  67. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  68. gamelog="${gamelogdir}/${servicename}-game.log"
  69. consolelog="${consolelogdir}/${servicename}-console.log"
  70. emaillog="${lgsmlogdir}/${servicename}-email.log"
  71. ## Logs Naming
  72. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  73. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"