_default.cfg 3.5 KB

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