Cleanup task

This commit is contained in:
drtshock
2014-01-20 12:21:45 -07:00
parent 4fca7066e6
commit 0362170e9b
5 changed files with 51 additions and 2 deletions
+12 -1
View File
@@ -16,4 +16,15 @@ economy:
# Cost to create a vault. You can give players playervaults.free to bypass this.
cost-to-create: 100
cost-to-open: 10
refund-on-delete: 50
refund-on-delete: 50
# Cleanup
# Should we cleanup vaults that haven't been used in awhile?
# Only checks on restarts. Runs on another thread so it won't
# lag the server.
cleanup:
enable: false
# If a file hasn't been edited for this long, we'll clean it up.
# Time is in days.
lastEdit: 30