_default.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. # Edit with care
  11. fn_parms(){
  12. parms=""
  13. }
  14. #### LinuxGSM Settings ####
  15. ## Notification Alerts
  16. # (on|off)
  17. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  18. postalert="off"
  19. postdays="7"
  20. posttarget="https://hastebin.com"
  21. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  22. discordalert="off"
  23. discordwebhook="webhook"
  24. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  25. emailalert="off"
  26. email="email@example.com"
  27. emailfrom=""
  28. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  29. iftttalert="off"
  30. ifttttoken="accesstoken"
  31. iftttevent="linuxgsm_alert"
  32. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  33. mailgunalert="off"
  34. mailguntoken="accesstoken"
  35. mailgundomain="example.com"
  36. mailgunemailfrom="alert@example.com"
  37. mailgunemail="email@myemail.com"
  38. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  39. pushbulletalert="off"
  40. pushbullettoken="accesstoken"
  41. channeltag=""
  42. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  43. pushoveralert="off"
  44. pushovertoken="accesstoken"
  45. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  46. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  47. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  48. # any custom string in curl - simple ignore this parameter.
  49. telegramalert="off"
  50. telegramtoken="accesstoken"
  51. telegramchatid=""
  52. curlcustomstring=""
  53. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  54. maxbackups="4"
  55. maxbackupdays="30"
  56. stoponbackup="on"
  57. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  58. consolelogging="on"
  59. logdays="7"
  60. #### LinuxGSM Advanced Settings ####
  61. # ANSI Colors
  62. ansi="on"
  63. ## LinuxGSM Server Details
  64. # Do not edit
  65. gamename="Multi Theft Auto"
  66. engine="renderware"
  67. #### Directories ####
  68. # Edit with care
  69. ## Server Specific Directories
  70. systemdir="${serverfiles}"
  71. resourcesdir="${systemdir}/mods/deathmatch/resources"
  72. executabledir="${systemdir}"
  73. executable="./mta-server64"
  74. servercfg="mtaserver.conf"
  75. servercfgdir="${systemdir}/mods/deathmatch"
  76. servercfgfullpath="${servercfgdir}/${servercfg}"
  77. ## Backup Directory
  78. backupdir="${rootdir}/backups"
  79. ## Logging Directories
  80. logdir="${rootdir}/log"
  81. gamelogdir="${serverfiles}/mods/deathmatch/logs"
  82. lgsmlogdir="${logdir}/script"
  83. consolelogdir="${logdir}/console"
  84. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  85. consolelog="${consolelogdir}/${servicename}-console.log"
  86. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  87. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  88. ## Logs Naming
  89. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  90. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"