Automatic expiration system
Paolo edited this page Jul 17, 2017
·
3 revisions
It's possibile set the reports as expired after X minutes they have been sent.
First of all, you must activate the function from the config.yml:
# Task to check expired reports
task-expire-time:
enable: true
# time to check all active reports (in minutes)
delay: 5
Reload the plugin.
Next, you must configure each item. (Only the items with the option 'expire-time' will be able to use reports with this feature).
More info: https://github.com/itpao25/ReporterGUI/wiki/GUI-items-example#option---auto-expiration-expire-time
Note:
The Automatic expiration system only check reports with the status "OPEN".
No reports will be deleted, but set as expired.