_default.cfg 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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="7777"
  12. queryport="27015"
  13. ## Optional: Game Server Login Token
  14. # GSLT can be used for running a public server.
  15. # More info: https://gameservermanagers.com/gslt
  16. gslt=""
  17. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  18. fn_parms(){
  19. parms="-log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -TowerServerINI=${servicename}.ini"
  20. }
  21. #### LinuxGSM Settings ####
  22. ## Notification Alerts
  23. # (on|off)
  24. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  25. postalert="off"
  26. postdays="7"
  27. posttarget="https://hastebin.com"
  28. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  29. discordalert="off"
  30. discordwebhook="webhook"
  31. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  32. emailalert="off"
  33. email="email@example.com"
  34. emailfrom=""
  35. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  36. iftttalert="off"
  37. ifttttoken="accesstoken"
  38. iftttevent="linuxgsm_alert"
  39. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  40. mailgunalert="off"
  41. mailguntoken="accesstoken"
  42. mailgundomain="example.com"
  43. mailgunemailfrom="alert@example.com"
  44. mailgunemail="email@myemail.com"
  45. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  46. pushbulletalert="off"
  47. pushbullettoken="accesstoken"
  48. channeltag=""
  49. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  50. pushoveralert="off"
  51. pushovertoken="accesstoken"
  52. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  53. telegramalert="off"
  54. telegramtoken="accesstoken"
  55. telegramchatid=""
  56. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  57. updateonstart="off"
  58. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  59. maxbackups="4"
  60. maxbackupdays="30"
  61. stoponbackup="on"
  62. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  63. consolelogging="on"
  64. logdays="7"
  65. #### LinuxGSM Advanced Settings ####
  66. ## SteamCMD Settings
  67. # Server appid
  68. appid="439660"
  69. # Steam App Branch Select
  70. # Allows to opt into the various Steam app branches. Default branch is "".
  71. # Example: "-beta latest_experimental"
  72. branch=""
  73. ## LinuxGSM Server Details
  74. # Do not edit
  75. gamename="Tower Unite"
  76. engine="unreal4"
  77. #### Directories ####
  78. # Edit with care
  79. ## Server Specific Directories
  80. systemdir="${serverfiles}/Tower"
  81. executabledir="${systemdir}/Binaries/Linux"
  82. executable="./TowerServer-Linux-Shipping"
  83. servercfgdir="${systemdir}/Binaries/Linux"
  84. servercfg="${servicename}.ini"
  85. servercfgfullpath="${servercfgdir}/${servercfg}"
  86. servercfgdefault="TowerServer.ini"
  87. ## Backup Directory
  88. backupdir="${rootdir}/backups"
  89. ## Logging Directories
  90. logdir="${rootdir}/log"
  91. gamelogdir="${systemdir}/Saved/Logs"
  92. lgsmlogdir="${logdir}/script"
  93. consolelogdir="${logdir}/console"
  94. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  95. consolelog="${consolelogdir}/${servicename}-console.log"
  96. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  97. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  98. ## Logs Naming
  99. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  100. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"