mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-26 18:54:44 +02:00
Added automatic cleanup of backups folder
By default mcMMO keeps the following files: * All files from the last 24 hours * Daily backups of the past week * Weekly backups of the past months Adds #1574
This commit is contained in:
@ -19,8 +19,6 @@ General:
|
||||
Prefer_Beta: false
|
||||
# Allow mcMMO to inform other plugins of damage being dealt
|
||||
Event_Callback: true
|
||||
# Allow mcMMO to create zip backups for flatfile data on shutdown.
|
||||
Generate_Backups: true
|
||||
Power_Level_Cap: 0
|
||||
# Should mcMMO print out debug messages?
|
||||
Verbose_Logging: false
|
||||
@ -101,6 +99,18 @@ Database_Purging:
|
||||
# To never purge old users, set to -1
|
||||
Old_User_Cutoff: 6
|
||||
|
||||
#
|
||||
# Settings for Backups
|
||||
###
|
||||
Backups:
|
||||
# Allow mcMMO to create zip backups for config files and flatfile data on shutdown.
|
||||
Enabled: true
|
||||
|
||||
Keep:
|
||||
Last_24_Hours: true
|
||||
Daily_Last_Week: true
|
||||
Weekly_Past_Months: true
|
||||
|
||||
#
|
||||
# Settings for using a mySQL database
|
||||
###
|
||||
|
Reference in New Issue
Block a user