_default.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  35. emailalert="off"
  36. email="email@example.com"
  37. emailfrom=""
  38. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  39. pushbulletalert="off"
  40. pushbullettoken="accesstoken"
  41. channeltag=""
  42. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  43. updateonstart="off"
  44. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  45. maxbackups="4"
  46. maxbackupdays="30"
  47. stoponbackup="on"
  48. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  49. consolelogging="on"
  50. logdays="7"
  51. #### LinuxGSM Advanced Settings ####
  52. ## SteamCMD Settings
  53. # Server appid
  54. appid="405100"
  55. # Steam App Branch Select
  56. # Allows to opt into the various Steam app branches. Default branch is "".
  57. # Example: "-beta latest_experimental"
  58. branch=""
  59. ## LinuxGSM Server Details
  60. # Do not edit
  61. gamename="Hurtworld"
  62. engine="unity3d"
  63. #### Directories ####
  64. # Edit with care
  65. ## Server Specific Directories
  66. systemdir="${serverfiles}"
  67. executabledir="${serverfiles}"
  68. if [ "${x64mode}" == "1" ]; then
  69. executable="./Hurtworld.x86_64"
  70. else
  71. executable="./Hurtworld.x86"
  72. fi
  73. ## Backup Directory
  74. backupdir="${rootdir}/backups"
  75. ## Logging Directories
  76. logdir="${rootdir}/log"
  77. gamelogdir="${logdir}/server"
  78. lgsmlogdir="${logdir}/script"
  79. consolelogdir="${logdir}/console"
  80. gamelog="${gamelogdir}/${servicename}-game.log"
  81. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  82. consolelog="${consolelogdir}/${servicename}-console.log"
  83. emaillog="${lgsmlogdir}/${servicename}-email.log"
  84. ## Logs Naming
  85. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  86. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  87. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"