_default.cfg 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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="27015"
  12. maxplayers="20"
  13. defaultmap="pei"
  14. ## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  15. steamuser="username"
  16. steampass='password'
  17. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  18. # Parameters are changed in game.ini and engine.ini (Location: ${systemdir}/Saved/Config/LinuxServer)
  19. # Make sure you change the admin password before launching the server
  20. fn_parms(){
  21. parms="-port:${port} -players:${maxplayers} --nographics -${defaultmap} -batchmode +secureserver/${servicename}"
  22. }
  23. #### LinuxGSM Settings ####
  24. ## Notification Alerts
  25. # (on|off)
  26. # More info | https://docs.linuxgsm.com/alerts#more-info
  27. postalert="off"
  28. postdays="7"
  29. posttarget="https://hastebin.com"
  30. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  31. discordalert="off"
  32. discordwebhook="webhook"
  33. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  34. emailalert="off"
  35. email="email@example.com"
  36. emailfrom=""
  37. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  38. iftttalert="off"
  39. ifttttoken="accesstoken"
  40. iftttevent="linuxgsm_alert"
  41. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  42. mailgunalert="off"
  43. mailguntoken="accesstoken"
  44. mailgundomain="example.com"
  45. mailgunemailfrom="alert@example.com"
  46. mailgunemail="email@myemail.com"
  47. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  48. pushbulletalert="off"
  49. pushbullettoken="accesstoken"
  50. channeltag=""
  51. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  52. pushoveralert="off"
  53. pushovertoken="accesstoken"
  54. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  55. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  56. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  57. # any custom string in curl - simple ignore this parameter.
  58. telegramalert="off"
  59. telegramtoken="accesstoken"
  60. telegramchatid=""
  61. curlcustomstring=""
  62. ## Updating | https://docs.linuxgsm.com/commands/update
  63. updateonstart="off"
  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. ## SteamCMD Settings
  80. # Server appid
  81. appid="1110390"
  82. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  83. branch=""
  84. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  85. steammaster="false"
  86. ## LinuxGSM Server Details
  87. # Do not edit
  88. gamename="Unturned"
  89. engine="unity3d"
  90. glibc="2.15"
  91. #### Directories ####
  92. # Edit with care
  93. ## Server Specific Directories
  94. systemdir="${serverfiles}"
  95. executabledir="${serverfiles}"
  96. executable="./Unturned_Headless.x86"
  97. servercfgdir="${systemdir}/Servers/${servicename}"
  98. servercfg="Config.json"
  99. servercfgdefault="Config.json"
  100. servercfgfullpath="${servercfgdir}/${servercfg}"
  101. ## Backup Directory
  102. backupdir="${lgsmdir}/backup"
  103. ## Logging Directories
  104. logdir="${rootdir}/log"
  105. gamelogdir="${logdir}/server"
  106. lgsmlogdir="${logdir}/script"
  107. consolelogdir="${logdir}/console"
  108. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  109. consolelog="${consolelogdir}/${servicename}-console.log"
  110. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  111. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  112. ## Logs Naming
  113. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  114. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"