_default.cfg 3.6 KB

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