_default.cfg 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  19. emailalert="off"
  20. email="email@example.com"
  21. emailfrom=""
  22. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  23. pushbulletalert="off"
  24. pushbullettoken="accesstoken"
  25. channeltag=""
  26. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  27. updateonstart="off"
  28. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  29. maxbackups="4"
  30. maxbackupdays="30"
  31. stoponbackup="on"
  32. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  33. consolelogging="on"
  34. logdays="7"
  35. #### LinuxGSM Advanced Settings ####
  36. ## LinuxGSM Server Details
  37. # Do not edit
  38. gamename="Minecraft"
  39. engine="lwjgl2"
  40. #### Directories ####
  41. # Edit with care
  42. ## Server Specific Directories
  43. systemdir="${serverfiles}"
  44. executabledir="${serverfiles}"
  45. executable="java -Xmx${javaram}M -jar ${serverfiles}/minecraft_server.jar"
  46. servercfg="server.properties"
  47. servercfgdefault="server.properties"
  48. servercfgdir="${serverfiles}"
  49. servercfgfullpath="${servercfgdir}/${servercfg}"
  50. ## Backup Directory
  51. backupdir="${rootdir}/backups"
  52. ## Logging Directories
  53. logdir="${rootdir}/log"
  54. gamelogdir="${systemdir}/logs"
  55. lgsmlogdir="${logdir}/script"
  56. consolelogdir="${logdir}/console"
  57. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  58. consolelog="${consolelogdir}/${servicename}-console.log"
  59. emaillog="${lgsmlogdir}/${servicename}-email.log"
  60. ## Logs Naming
  61. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  62. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"