_default.cfg 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. telegramalert="off"
  47. telegramtoken="accesstoken"
  48. telegramchatid=""
  49. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  50. maxbackups="4"
  51. maxbackupdays="30"
  52. stoponbackup="on"
  53. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  54. consolelogging="on"
  55. logdays="7"
  56. #### LinuxGSM Advanced Settings ####
  57. ## LinuxGSM Server Details
  58. # Do not edit
  59. gamename="Multi Theft Auto"
  60. engine="renderware"
  61. #### Directories ####
  62. # Edit with care
  63. ## Server Specific Directories
  64. systemdir="${serverfiles}"
  65. resourcesdir="${systemdir}/mods/deathmatch/resources"
  66. executabledir="${systemdir}"
  67. executable="./mta-server64"
  68. servercfg="mtaserver.conf"
  69. servercfgdir="${systemdir}/mods/deathmatch"
  70. servercfgfullpath="${servercfgdir}/${servercfg}"
  71. ## Backup Directory
  72. backupdir="${rootdir}/backups"
  73. ## Logging Directories
  74. logdir="${rootdir}/log"
  75. gamelogdir="${serverfiles}/mods/deathmatch/logs"
  76. lgsmlogdir="${logdir}/script"
  77. consolelogdir="${logdir}/console"
  78. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  79. consolelog="${consolelogdir}/${servicename}-console.log"
  80. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  81. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  82. ## Logs Naming
  83. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  84. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"