Updating the SQL for the purge command, adding config options for

purging old users.
This commit is contained in:
GJ
2013-01-14 00:25:31 -05:00
parent 7b334601c6
commit e7e680fd8e
4 changed files with 32 additions and 42 deletions

View File

@ -17,11 +17,15 @@ General:
#Allow mcMMO to inform other plugins of damage being dealt
Event_Callback: true
Power_Level_Cap: 0
Database_Purging:
#Amount of time (in hours) to wait between database purging
#To only run at server start, set to 0
#To never run, set to -1
Purge_Interval: -1
#Any user who hasn't connected in this many months will be purged from the database
#To never purge old users, set to -1
Old_User_Cutoff: 6
#
# Settings for using a mySQL database
###