_default.cfg 4.1 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://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  10. servername="Hurtworld LinuxGSM Server"
  11. ip="0.0.0.0"
  12. port="12871"
  13. queryport="12881"
  14. maxplayers="20"
  15. defaultmap="" #Optional
  16. creativemode="0" #Free Build: creativemode="1"
  17. gamelog="gamelog.txt"
  18. ## Adding admins using STEAMID64
  19. # Example : addadmin 012345678901234567; addadmin 987654321098765432
  20. admins=""
  21. ## Advanced Server Start Settings
  22. # Rollback server state (remove after start command)
  23. loadsave=""
  24. # Use unstable 64 bit server executable (O/1)
  25. x64mode="0"
  26. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  27. # Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server
  28. fn_parms(){
  29. parms="-batchmode -nographics -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}\" -logfile \"${gamelog}\" "
  30. }
  31. #### LinuxGSM Settings ####
  32. ## Notification Alerts
  33. # (on|off)
  34. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  35. postalert="off"
  36. postdays="7"
  37. posttarget="https://hastebin.com"
  38. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  39. discordalert="off"
  40. discordwebhook="webhook"
  41. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  42. emailalert="off"
  43. email="email@example.com"
  44. emailfrom=""
  45. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  46. iftttalert="off"
  47. ifttttoken="accesstoken"
  48. iftttevent="linuxgsm_alert"
  49. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  50. mailgunalert="off"
  51. mailguntoken="accesstoken"
  52. mailgundomain="example.com"
  53. mailgunemailfrom="alert@example.com"
  54. mailgunemail="email@myemail.com"
  55. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  56. pushbulletalert="off"
  57. pushbullettoken="accesstoken"
  58. channeltag=""
  59. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  60. pushoveralert="off"
  61. pushovertoken="accesstoken"
  62. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  63. telegramalert="off"
  64. telegramtoken="accesstoken"
  65. telegramchatid=""
  66. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  67. updateonstart="off"
  68. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  69. maxbackups="4"
  70. maxbackupdays="30"
  71. stoponbackup="on"
  72. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  73. consolelogging="on"
  74. logdays="7"
  75. #### LinuxGSM Advanced Settings ####
  76. ## SteamCMD Settings
  77. # Server appid
  78. appid="405100"
  79. # Steam App Branch Select
  80. # Allows to opt into the various Steam app branches. Default branch is "".
  81. # Example: "-beta latest_experimental"
  82. branch=""
  83. ## LinuxGSM Server Details
  84. # Do not edit
  85. gamename="Hurtworld"
  86. engine="unity3d"
  87. #### Directories ####
  88. # Edit with care
  89. ## Server Specific Directories
  90. systemdir="${serverfiles}"
  91. executabledir="${serverfiles}"
  92. if [ "${x64mode}" == "1" ]; then
  93. executable="./Hurtworld.x86_64"
  94. else
  95. executable="./Hurtworld.x86"
  96. fi
  97. ## Backup Directory
  98. backupdir="${rootdir}/backups"
  99. ## Logging Directories
  100. logdir="${rootdir}/log"
  101. gamelogdir="${logdir}/server"
  102. lgsmlogdir="${logdir}/script"
  103. consolelogdir="${logdir}/console"
  104. gamelog="${gamelogdir}/${servicename}-game.log"
  105. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  106. consolelog="${consolelogdir}/${servicename}-console.log"
  107. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  108. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  109. ## Logs Naming
  110. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  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"