_default.cfg 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. maxplayers="32"
  15. game="UTGameContent.UTVehicleCTFGame_Content"
  16. mutators="" #"UTGame.UTMutator_Instagib,UTGame.UTMutator_LowGrav"
  17. isdedicated="true"
  18. islanmatch="false"
  19. usesstats="false"
  20. shouldadvertise="true"
  21. pureserver="1"
  22. allowjoininprogress="true"
  23. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  24. # Edit with care | List of game types and mutators : http://wiki.unrealadmin.org/FAQ:UT3
  25. fn_parms(){
  26. parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?MaxPlayers=${maxplayers}?Mutator=${mutators} -port=${port} -queryport=${queryport} -multihome=${ip} -nohomedir -unattended -log=${gamelog} -ini=${servercfgfullpath}"
  27. }
  28. #### LinuxGSM Settings ####
  29. ## Notification Alerts
  30. # (on|off)
  31. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  32. postalert="off"
  33. postdays="7"
  34. posttarget="https://hastebin.com"
  35. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  36. discordalert="off"
  37. discordwebhook="webhook"
  38. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  39. emailalert="off"
  40. email="email@example.com"
  41. emailfrom=""
  42. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  43. iftttalert="off"
  44. ifttttoken="accesstoken"
  45. iftttevent="linuxgsm_alert"
  46. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  47. mailgunalert="off"
  48. mailguntoken="accesstoken"
  49. mailgundomain="example.com"
  50. mailgunemailfrom="alert@example.com"
  51. mailgunemail="email@myemail.com"
  52. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  53. pushbulletalert="off"
  54. pushbullettoken="accesstoken"
  55. channeltag=""
  56. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  57. pushoveralert="off"
  58. pushovertoken="accesstoken"
  59. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  60. telegramalert="off"
  61. telegramtoken="accesstoken"
  62. telegramchatid=""
  63. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  64. maxbackups="4"
  65. maxbackupdays="30"
  66. stoponbackup="on"
  67. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  68. consolelogging="on"
  69. logdays="7"
  70. #### LinuxGSM Advanced Settings ####
  71. ## LinuxGSM Server Details
  72. # Do not edit
  73. gamename="Unreal Tournament 3"
  74. engine="unreal3"
  75. #### Directories ####
  76. # Edit with care
  77. ## Server Specific Directories
  78. systemdir="${serverfiles}"
  79. executabledir="${systemdir}/Binaries"
  80. executable="./ut3"
  81. servercfg="${servicename}.ini"
  82. servercfgdefault="UTGame.ini"
  83. servercfgdir="${systemdir}/UTGame/Config"
  84. servercfgfullpath="${servercfgdir}/${servercfg}"
  85. ## Backup Directory
  86. backupdir="${rootdir}/backups"
  87. ## Logging Directories
  88. logdir="${rootdir}/log"
  89. gamelogdir="${logdir}/server"
  90. lgsmlogdir="${logdir}/script"
  91. consolelogdir="${logdir}/console"
  92. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  93. gamelog="${gamelogdir}/${servicename}-game.log"
  94. consolelog="${consolelogdir}/${servicename}-console.log"
  95. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  96. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  97. ## Logs Naming
  98. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  99. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  100. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"