_default.cfg 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. ip="0.0.0.0"
  11. port="7777"
  12. queryport="6500"
  13. defaultmap="VCTF-Suspense"
  14. game="UTGameContent.UTVehicleCTFGame_Content"
  15. mutators="" #"UTGame.UTMutator_Instagib,UTGame.UTMutator_LowGrav"
  16. isdedicated="true"
  17. islanmatch="false"
  18. usesstats="false"
  19. shouldadvertise="true"
  20. pureserver="1"
  21. allowjoininprogress="true"
  22. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  23. # Edit with care | List of game types and mutators : http://wiki.unrealadmin.org/FAQ:UT3
  24. fn_parms(){
  25. parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?Mutator=${mutators}?ConfigSubDir=${servicename} -port=${port} -queryport=${queryport} -multihome=${ip} -nohomedir -unattended -log=${gamelog}"
  26. }
  27. #### LinuxGSM Settings ####
  28. ## Notification Alerts
  29. # (on|off)
  30. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  31. displayip=""
  32. # More info | https://docs.linuxgsm.com/alerts#more-info
  33. postalert="off"
  34. postdays="7"
  35. posttarget="https://hastebin.com"
  36. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  37. discordalert="off"
  38. discordwebhook="webhook"
  39. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  40. emailalert="off"
  41. email="email@example.com"
  42. emailfrom=""
  43. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  44. iftttalert="off"
  45. ifttttoken="accesstoken"
  46. iftttevent="linuxgsm_alert"
  47. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  48. mailgunalert="off"
  49. mailguntoken="accesstoken"
  50. mailgundomain="example.com"
  51. mailgunemailfrom="alert@example.com"
  52. mailgunemail="email@myemail.com"
  53. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  54. pushbulletalert="off"
  55. pushbullettoken="accesstoken"
  56. channeltag=""
  57. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  58. pushoveralert="off"
  59. pushovertoken="accesstoken"
  60. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  61. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  62. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  63. # any custom string in curl - simple ignore this parameter.
  64. telegramalert="off"
  65. telegramtoken="accesstoken"
  66. telegramchatid=""
  67. curlcustomstring=""
  68. ## Backup | https://docs.linuxgsm.com/commands/backup
  69. maxbackups="4"
  70. maxbackupdays="30"
  71. stoponbackup="on"
  72. ## Logging | https://docs.linuxgsm.com/features/logging
  73. consolelogging="on"
  74. logdays="7"
  75. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  76. # Query delay time
  77. querydelay="1"
  78. #### LinuxGSM Advanced Settings ####
  79. # ANSI Colors
  80. ansi="on"
  81. # Message Display Time
  82. sleeptime="0.5"
  83. ## LinuxGSM Server Details
  84. # Do not edit
  85. gamename="Unreal Tournament 3"
  86. engine="unreal3"
  87. glibc="2.3.2"
  88. #### Directories ####
  89. # Edit with care
  90. ## Server Specific Directories
  91. systemdir="${serverfiles}"
  92. executabledir="${systemdir}/Binaries"
  93. executable="./ut3"
  94. servercfg="UTGame.ini"
  95. servercfgdefault="UTGame.ini"
  96. servercfgdir="${systemdir}/UTGame/Config/${servicename}"
  97. servercfgfullpath="${servercfgdir}/${servercfg}"
  98. ## Backup Directory
  99. backupdir="${rootdir}/backups"
  100. ## Logging Directories
  101. logdir="${rootdir}/log"
  102. gamelogdir="${logdir}/server"
  103. lgsmlogdir="${logdir}/script"
  104. consolelogdir="${logdir}/console"
  105. gamelog="${gamelogdir}/${servicename}-game.log"
  106. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  107. consolelog="${consolelogdir}/${servicename}-console.log"
  108. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  109. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  110. ## Logs Naming
  111. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  112. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  113. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"