_default.cfg 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  10. ip="0.0.0.0"
  11. port="7777"
  12. queryport="25300"
  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://github.com/GameServerManagers/LinuxGSM/wiki/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. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  31. postalert="off"
  32. postdays="7"
  33. posttarget="https://hastebin.com"
  34. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  35. discordalert="off"
  36. discordwebhook="webhook"
  37. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  38. emailalert="off"
  39. email="email@example.com"
  40. emailfrom=""
  41. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  42. iftttalert="off"
  43. ifttttoken="accesstoken"
  44. iftttevent="linuxgsm_alert"
  45. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  46. mailgunalert="off"
  47. mailguntoken="accesstoken"
  48. mailgundomain="example.com"
  49. mailgunemailfrom="alert@example.com"
  50. mailgunemail="email@myemail.com"
  51. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  52. pushbulletalert="off"
  53. pushbullettoken="accesstoken"
  54. channeltag=""
  55. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  56. pushoveralert="off"
  57. pushovertoken="accesstoken"
  58. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  59. telegramalert="off"
  60. telegramtoken="accesstoken"
  61. telegramchatid=""
  62. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  63. maxbackups="4"
  64. maxbackupdays="30"
  65. stoponbackup="on"
  66. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  67. consolelogging="on"
  68. logdays="7"
  69. #### LinuxGSM Advanced Settings ####
  70. ## LinuxGSM Server Details
  71. # Do not edit
  72. gamename="Unreal Tournament 3"
  73. engine="unreal3"
  74. #### Directories ####
  75. # Edit with care
  76. ## Server Specific Directories
  77. systemdir="${serverfiles}"
  78. executabledir="${systemdir}/Binaries"
  79. executable="./ut3"
  80. servercfg="UTGame.ini"
  81. servercfgdefault="UTGame.ini"
  82. servercfgdir="${systemdir}/UTGame/Config/${servicename}"
  83. servercfgfullpath="${servercfgdir}/${servercfg}"
  84. ## Backup Directory
  85. backupdir="${rootdir}/backups"
  86. ## Logging Directories
  87. logdir="${rootdir}/log"
  88. gamelogdir="${logdir}/server"
  89. lgsmlogdir="${logdir}/script"
  90. consolelogdir="${logdir}/console"
  91. gamelog="${gamelogdir}/${servicename}-game.log"
  92. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  93. consolelog="${consolelogdir}/${servicename}-console.log"
  94. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  95. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  96. ## Logs Naming
  97. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  98. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  99. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"