_default.cfg 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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="1024" # -Xmx$1024M
  11. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  12. fn_parms(){
  13. parms="nogui"
  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. ## LinuxGSM Server Details
  65. # Do not edit
  66. gamename="Minecraft"
  67. engine="lwjgl2"
  68. #### Directories ####
  69. # Edit with care
  70. ## Server Specific Directories
  71. systemdir="${serverfiles}"
  72. executabledir="${serverfiles}"
  73. executable="java -Xmx${javaram}M -jar ${serverfiles}/minecraft_server.jar"
  74. servercfg="server.properties"
  75. servercfgdefault="server.properties"
  76. servercfgdir="${serverfiles}"
  77. servercfgfullpath="${servercfgdir}/${servercfg}"
  78. ## Backup Directory
  79. backupdir="${rootdir}/backups"
  80. ## Logging Directories
  81. logdir="${rootdir}/log"
  82. gamelogdir="${systemdir}/logs"
  83. lgsmlogdir="${logdir}/script"
  84. consolelogdir="${logdir}/console"
  85. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  86. consolelog="${consolelogdir}/${servicename}-console.log"
  87. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  88. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  89. ## Logs Naming
  90. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  91. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"