_default.cfg 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  22. postalert="off"
  23. postdays="7"
  24. posttarget="https://hastebin.com"
  25. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  26. discordalert="off"
  27. discordwebhook="webhook"
  28. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  29. emailalert="off"
  30. email="email@example.com"
  31. emailfrom=""
  32. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  33. iftttalert="off"
  34. ifttttoken="accesstoken"
  35. iftttevent="linuxgsm_alert"
  36. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  37. mailgunalert="off"
  38. mailguntoken="accesstoken"
  39. mailgundomain="example.com"
  40. mailgunemailfrom="alert@example.com"
  41. mailgunemail="email@myemail.com"
  42. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  43. pushbulletalert="off"
  44. pushbullettoken="accesstoken"
  45. channeltag=""
  46. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  47. pushoveralert="off"
  48. pushovertoken="accesstoken"
  49. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  50. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  51. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  52. # any custom string in curl - simple ignore this parameter.
  53. telegramalert="off"
  54. telegramtoken="accesstoken"
  55. telegramchatid=""
  56. curlcustomstring=""
  57. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  58. updateonstart="off"
  59. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  60. maxbackups="4"
  61. maxbackupdays="30"
  62. stoponbackup="on"
  63. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  64. consolelogging="on"
  65. logdays="7"
  66. #### LinuxGSM Advanced Settings ####
  67. # ANSI Colors
  68. ansi="on"
  69. ## SteamCMD Settings
  70. # Server appid
  71. appid="380840"
  72. # Steam App Branch Select
  73. # Allows to opt into the various Steam app branches. Default branch is "".
  74. # Example: "-beta latest_experimental"
  75. branch=""
  76. ## LinuxGSM Server Details
  77. # Do not edit
  78. gamename="Teeworlds"
  79. engine="teeworlds"
  80. #### Directories ####
  81. # Edit with care
  82. ## Server Specific Directories
  83. systemdir="${serverfiles}/tw"
  84. executabledir="${systemdir}"
  85. executable="./teeworlds_srv"
  86. servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir
  87. servercfgdefault="server.cfg"
  88. servercfgdir="${serverfiles}"
  89. servercfgfullpath="${servercfgdir}/${servercfg}"
  90. ## Backup Directory
  91. backupdir="${rootdir}/backups"
  92. ## Logging Directories
  93. logdir="${rootdir}/log"
  94. gamelogdir="${logdir}/server"
  95. lgsmlogdir="${logdir}/script"
  96. consolelogdir="${logdir}/console"
  97. gamelog="${gamelogdir}/${servicename}-game.log"
  98. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  99. consolelog="${consolelogdir}/${servicename}-console.log"
  100. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  101. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  102. ## Logs Naming
  103. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  104. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"