_default.cfg 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. javaram="2048" # -Xmx$2048M
  11. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  12. fn_parms(){
  13. parms=""
  14. }
  15. #### LinuxGSM Settings ####
  16. ## Notification Alerts
  17. # (on|off)
  18. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  19. postalert="off"
  20. postdays="7"
  21. posttarget="https://hastebin.com"
  22. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  23. discordalert="off"
  24. discordwebhook="webhook"
  25. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  26. emailalert="off"
  27. email="email@example.com"
  28. emailfrom=""
  29. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  30. iftttalert="off"
  31. ifttttoken="accesstoken"
  32. iftttevent="linuxgsm_alert"
  33. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  34. mailgunalert="off"
  35. mailguntoken="accesstoken"
  36. mailgundomain="example.com"
  37. mailgunemailfrom="alert@example.com"
  38. mailgunemail="email@myemail.com"
  39. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  40. pushbulletalert="off"
  41. pushbullettoken="accesstoken"
  42. channeltag=""
  43. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  44. pushoveralert="off"
  45. pushovertoken="accesstoken"
  46. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  47. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  48. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  49. # any custom string in curl - simple ignore this parameter.
  50. telegramalert="off"
  51. telegramtoken="accesstoken"
  52. telegramchatid=""
  53. curlcustomstring=""
  54. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  55. updateonstart="off"
  56. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  57. maxbackups="4"
  58. maxbackupdays="30"
  59. stoponbackup="on"
  60. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  61. consolelogging="on"
  62. logdays="7"
  63. #### LinuxGSM Advanced Settings ####
  64. # ANSI Colors
  65. ansi="on"
  66. ## SteamCMD Settings
  67. # Server appid
  68. appid="339010"
  69. # Steam App Branch Select
  70. # Allows to opt into the various Steam app branches. Default branch is "".
  71. # Example: "-beta latest_experimental"
  72. branch=""
  73. ## LinuxGSM Server Details
  74. # Do not edit
  75. gamename="Rising World"
  76. engine="risingworld"
  77. #### Directories ####
  78. # Edit with care
  79. ## Server Specific Directories
  80. systemdir="${serverfiles}"
  81. executabledir="${serverfiles}"
  82. executable="java -Xmx${javaram}m -jar ${serverfiles}/server.jar"
  83. servercfg="server.properties"
  84. servercfgdefault="server.properties"
  85. servercfgdir="${serverfiles}"
  86. servercfgfullpath="${servercfgdir}/${servercfg}"
  87. ## Backup Directory
  88. backupdir="${rootdir}/backups"
  89. ## Logging Directories
  90. logdir="${rootdir}/log"
  91. gamelogdir="${systemdir}/logs"
  92. lgsmlogdir="${logdir}/script"
  93. consolelogdir="${logdir}/console"
  94. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  95. consolelog="${consolelogdir}/${servicename}-console.log"
  96. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  97. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  98. ## Logs Naming
  99. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  100. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"