_default.cfg 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. # For CTF: defaultmap="CTF-Face" gametype="CTF"
  11. ip="0.0.0.0"
  12. port="7777"
  13. defaultmap="DM-Underland"
  14. gametype="DM"
  15. timelimit="10"
  16. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  17. fn_parms(){
  18. parms="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -port=${port}"
  19. }
  20. #### LinuxGSM Settings ####
  21. ## Notification Alerts
  22. # (on|off)
  23. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  24. displayip=""
  25. # More info | https://docs.linuxgsm.com/alerts#more-info
  26. postalert="off"
  27. postdays="7"
  28. posttarget="https://hastebin.com"
  29. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  30. discordalert="off"
  31. discordwebhook="webhook"
  32. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  33. emailalert="off"
  34. email="email@example.com"
  35. emailfrom=""
  36. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  37. iftttalert="off"
  38. ifttttoken="accesstoken"
  39. iftttevent="linuxgsm_alert"
  40. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  41. mailgunalert="off"
  42. mailguntoken="accesstoken"
  43. mailgundomain="example.com"
  44. mailgunemailfrom="alert@example.com"
  45. mailgunemail="email@myemail.com"
  46. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  47. pushbulletalert="off"
  48. pushbullettoken="accesstoken"
  49. channeltag=""
  50. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  51. pushoveralert="off"
  52. pushovertoken="accesstoken"
  53. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  54. slackalert="off"
  55. slackwebhook="webhook"
  56. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  57. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  58. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  59. # any custom string in curl - simple ignore this parameter.
  60. telegramalert="off"
  61. telegramtoken="accesstoken"
  62. telegramchatid=""
  63. curlcustomstring=""
  64. ## Backup | https://docs.linuxgsm.com/commands/backup
  65. maxbackups="4"
  66. maxbackupdays="30"
  67. stoponbackup="on"
  68. ## Logging | https://docs.linuxgsm.com/features/logging
  69. consolelogging="on"
  70. logdays="7"
  71. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  72. # Query delay time
  73. querydelay="1"
  74. #### LinuxGSM Advanced Settings ####
  75. # ANSI Colors
  76. ansi="on"
  77. # Message Display Time
  78. sleeptime="0.5"
  79. # Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
  80. # 1: tmux kill
  81. # 2: CTRL+c
  82. # 3: quit
  83. # 4: quit 120s
  84. # 5: stop
  85. # 6: q
  86. # 7: exit
  87. # 8: 7 Days to Die
  88. # 9: Gold Source
  89. # 10: Teamspeak 3
  90. stopmode="2"
  91. ## LinuxGSM Server Details
  92. # Do not edit
  93. gamename="Unreal Tournament"
  94. engine="unreal4"
  95. glibc="2.17"
  96. #### Directories ####
  97. # Edit with care
  98. ## Server Specific Directories
  99. systemdir="${serverfiles}/LinuxServer"
  100. executabledir="${systemdir}/Engine/Binaries/Linux"
  101. executable="./UE4Server-Linux-Shipping"
  102. servercfg="Game.ini"
  103. servercfgdir="${systemdir}/UnrealTournament/Saved/Config/LinuxServer"
  104. servercfgfullpath="${servercfgdir}/${servercfg}"
  105. ## Backup Directory
  106. backupdir="${lgsmdir}/backup"
  107. ## Logging Directories
  108. logdir="${rootdir}/log"
  109. gamelogdir="${serverfiles}/Logs"
  110. lgsmlogdir="${logdir}/script"
  111. consolelogdir="${logdir}/console"
  112. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  113. consolelog="${consolelogdir}/${servicename}-console.log"
  114. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  115. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  116. ## Logs Naming
  117. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  118. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"