_default.cfg 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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://docs.linuxgsm.com/configuration/start-parameters
  10. defaultmap="DM-Deck16]["
  11. ip="0.0.0.0"
  12. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  13. fn_parms(){
  14. parms="server ${defaultmap}.unr ini=${servercfgfullpath}"
  15. }
  16. #### LinuxGSM Settings ####
  17. ## Notification Alerts
  18. # (on|off)
  19. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  20. displayip=""
  21. # More info | https://docs.linuxgsm.com/alerts#more-info
  22. postalert="off"
  23. postdays="7"
  24. posttarget="https://hastebin.com"
  25. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  26. discordalert="off"
  27. discordwebhook="webhook"
  28. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  29. emailalert="off"
  30. email="email@example.com"
  31. emailfrom=""
  32. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  33. iftttalert="off"
  34. ifttttoken="accesstoken"
  35. iftttevent="linuxgsm_alert"
  36. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  37. mailgunalert="off"
  38. mailguntoken="accesstoken"
  39. mailgundomain="example.com"
  40. mailgunemailfrom="alert@example.com"
  41. mailgunemail="email@myemail.com"
  42. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  43. pushbulletalert="off"
  44. pushbullettoken="accesstoken"
  45. channeltag=""
  46. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  47. pushoveralert="off"
  48. pushovertoken="accesstoken"
  49. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  50. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  51. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  52. # any custom string in curl - simple ignore this parameter.
  53. telegramalert="off"
  54. telegramtoken="accesstoken"
  55. telegramchatid=""
  56. curlcustomstring=""
  57. ## Backup | https://docs.linuxgsm.com/commands/backup
  58. maxbackups="4"
  59. maxbackupdays="30"
  60. stoponbackup="on"
  61. ## Logging | https://docs.linuxgsm.com/features/logging
  62. consolelogging="on"
  63. logdays="7"
  64. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  65. # Query delay time
  66. querydelay="1"
  67. #### LinuxGSM Advanced Settings ####
  68. # ANSI Colors
  69. ansi="on"
  70. # Message Display Time
  71. sleeptime="0.5"
  72. ## LinuxGSM Server Details
  73. # Do not edit
  74. gamename="Unreal Tournament 99"
  75. engine="unreal"
  76. glibc="2.1"
  77. #### Directories ####
  78. # Edit with care
  79. ## Server Specific Directories
  80. systemdir="${serverfiles}/System"
  81. executabledir="${systemdir}"
  82. executable="./ucc-bin"
  83. servercfg="${servicename}.ini"
  84. servercfgdefault="Default.ini"
  85. servercfgdir="${systemdir}"
  86. servercfgfullpath="${servercfgdir}/${servercfg}"
  87. compressedmapsdir="${rootdir}/Maps-Compressed"
  88. ## Backup Directory
  89. backupdir="${rootdir}/backups"
  90. ## Logging Directories
  91. logdir="${rootdir}/log"
  92. gamelogdir="${serverfiles}/Logs"
  93. lgsmlogdir="${logdir}/script"
  94. consolelogdir="${logdir}/console"
  95. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  96. consolelog="${consolelogdir}/${servicename}-console.log"
  97. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  98. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  99. ## Logs Naming
  100. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  101. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"