_default.cfg 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  32. emailalert="off"
  33. email="email@example.com"
  34. emailfrom=""
  35. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  36. pushbulletalert="off"
  37. pushbullettoken="accesstoken"
  38. channeltag=""
  39. # Telegram Bot Alerts
  40. # Get an Bot API key from @botfather
  41. # The chat id is the User or channel name or an integer like so:
  42. # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851
  43. telegramalert="off"
  44. telegramapikey=""
  45. telegramchatid=""
  46. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  47. maxbackups="4"
  48. maxbackupdays="30"
  49. stoponbackup="on"
  50. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  51. consolelogging="on"
  52. logdays="7"
  53. #### LinuxGSM Advanced Settings ####
  54. ## LinuxGSM Server Details
  55. # Do not edit
  56. gamename="Unreal Tournament 3"
  57. engine="unreal3"
  58. #### Directories ####
  59. # Edit with care
  60. ## Server Specific Directories
  61. systemdir="${serverfiles}"
  62. executabledir="${systemdir}/Binaries"
  63. executable="./ut3"
  64. servercfg="${servicename}.ini"
  65. servercfgdefault="UTGame.ini"
  66. servercfgdir="${systemdir}/UTGame/Config"
  67. servercfgfullpath="${servercfgdir}/${servercfg}"
  68. ## Backup Directory
  69. backupdir="${rootdir}/backups"
  70. ## Logging Directories
  71. logdir="${rootdir}/log"
  72. gamelogdir="${logdir}/server"
  73. lgsmlogdir="${logdir}/script"
  74. consolelogdir="${logdir}/console"
  75. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  76. gamelog="${gamelogdir}/${servicename}-game.log"
  77. consolelog="${consolelogdir}/${servicename}-console.log"
  78. emaillog="${lgsmlogdir}/${servicename}-email.log"
  79. ## Logs Naming
  80. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  81. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  82. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"