Advertisement
Guest User

Config

a guest
Apr 20th, 2016
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. # Config File
  2.  
  3. # The automatic backup system.
  4. # Players with permission PerfectBackup.warning will be warned on automatic backup.
  5. # interval: 2 h
  6.  
  7. # Interval format:
  8. # <amount> <t/s/m/h/d>
  9. # t = Ticks, s = Seconds, m = Minutes, h = Hours, d = Days
  10.  
  11. crontask: '0 0 4 * * *' # This would make it every day at 4 AM
  12.  
  13. # CronTask format:
  14. # * * * * * *
  15. # | | | | | |
  16. # | | | | | +–––– Day of the Week (1-7)
  17. # | | | | +–––––– Month (1-12)
  18. # | | | +–––––––– Day of the Month (1-31)
  19. # | | +–––––––––– Hour (0-23)
  20. # | +–––––––––––– Minute (0-59)
  21. # +–––––––––––––– Second (0-59)
  22.  
  23. # A few more examples...
  24. # crontask: '0 0 * * * *' This would make it every hour
  25. # crontask: '0 0 4 * * 7' This would make it every sunday at 4 AM
  26. # crontask: '0 0 4 1 * *' This would make it every first of the month at 4 AM
  27.  
  28. # The plugin's prefix for messages.
  29. prefix: '&9[&bPerfectBackup&9] &f'
  30.  
  31. # The format for backup names
  32. # If two backups have the same name, it will append " (1)", " (2)" etc.
  33. backupformat: 'PerfectBackup {DATE}'
  34.  
  35. # The format for dates.
  36. # MM = month, DD = Day, YYYY = Year, HH = 12h Hours, hh = 24h Hours, mm = Minutes, ss = Seconds, ms = Milliseconds, AM = AM/PM
  37. dateformat: 'MM-DD-YYYY hhh mmm sss' # e.g. 03-10-2016 11h 47m 24s
  38.  
  39. # Whether the backups should be in a zip file or in a folder.
  40. zipbackups: true
  41.  
  42. # The folder where to store the backups locally.
  43. localpath: 'plugins/PerfectBackup/backups'
  44.  
  45. # The maximum backups stored. Will delete older backups when reached. (≤ 0 to disable)
  46. # Note: this will only work with local backups (fallbacks included).
  47. maxbackups: 20
  48.  
  49. # Whether or not you should see detailed information while creating a backup.
  50. debug: false
  51.  
  52. # Whether or not the server should be restarted when a backup is restored.
  53. # This will run the command line "cd dirname" and "java -server -jar jarfile"
  54. # dirname being the directory to the server and jarfile the first .JAR file found in the server directory
  55. restorerestart: true
  56.  
  57. # The reason of the kick when a backup is restored.
  58. kickreason: '&9[&bPerfectBackup&9]\n&cA backup is being restored.\nServer is shut down for security.'
  59.  
  60. # FTP settings and configuration.
  61. # Different modes (when to use FTP):
  62. # - NEVER (disable)
  63. # - FALLBACK (when an error occurs)
  64. # - LIMIT (move files when maxbackups is reached)
  65. # - FIRST (use ftp unless an error occurs)
  66. # - ALWAYS (only save to ftp, never use local)
  67. # - BOTH (save to both ftp and local)
  68. ftp:
  69. mode: ALWAYS
  70. host: '192.168.0.8'
  71. port: 21
  72. user: 'ImagineCraft'
  73. pass: 'Faith862'
  74. path: '/Minecraft Backup/'
  75.  
  76. # What you want in the backup.
  77. backup:
  78. jarfile: true # The .jar file of your server (e.g. craftbukkit.jar)
  79. properties: true # The server.properties file
  80. ops: true # The ops.json file
  81. whitelist: true # The whitelist.json file
  82. spigotyml: true # If on spigot, the spigot.yml file
  83. bukkityml: true # The bukkit.yml file
  84. aliases: true # The commands.yml file
  85. eula: true # The eula.txt file
  86. metrics: true # The PluginMetrics folder
  87. logs: true # The logs folder, with all the zips (WARNING! This can make your backups way slower and very heavy!)
  88. pluginjars: true # The .jar files for the plugins
  89. pluginconfs: true # The data folder of each plugin
  90. worlds: # Use [] for no world, and - '*' for all the worlds.
  91. - 'Dendaria'
  92. other: # Any other file you want to backup, using "!" before will prevent it from backupping (IMPORTANT! Use / for directories!)
  93. - 'data-storage'
  94. - 'mstore'
  95. - '!plugins/dynmap/web'
  96. - '!plugins/PerfectBackup/backups'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement