_default.cfg 3.5 KB

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