#####################
## AutoNuke *BETA* ##
#####################
## Nuker
nuker=akaid
nuke.prefix=[NUKED]-
nuke.reason.prefix=REASON-
## Debug mode: Verbose output to master console. See wrapper.log. No nuking,
## but still sends info to IRC. Reloading the site in debug mode will clear
## any autonukes in memory.
debug=true
## Timer delays, these will check the scan/autonukes list to see if any of them
## should be scanned/nuked. They can be short, just don't make them longer than
## any of the scan delays for nuke configurations, see below. (format: minutes)
timer.scan.delay=1
timer.nuke.delay=2
## IRC Channel: if you want the scanning results to go to one channel set it
## here. If you leave this field blank, then it will send it to whatever
## section the release being nuked belongs to.
irc.channel=#akaid-racers
## AUTONUKE CONFIGURATIONS
##
## x.type
## incomplete:<min percent> - if the release is incomplete (SFV/DIZ)
##
## missing:<regex> - the release is missing a file/directory (regex)
## (see sample configs below)
##
## empty - nothing in the directory.
##
##
## x.section
## Use * if you want it to scan all sections (see below to exclude sections)
## or use commas to separate (MP3,XViD) make sure no spaces are in between.
##
## x.delay
## How often to scan (in minutes). While scanning, anything found to be
## nuked will be sent to IRC.
##
## x.minage
## At least how old (in minutes) should the release be before scanning it?
## Set this to skip new releases.
##
## x.maxage
## If the release is older than this (in minutes), skip it.
##
## [OPTIONAL] x.dated <SECTION>:<DAYS BACK>[,<SECTION>:<DAYS BACK>,...]
## If the section being scanned is dated, scan only X days back, including
## today. So 2 = Today and Yesterday. If you're using a weekly format, do
## multiples of 7.
##
## [OPTIONAL] x.subdirs
## When defined the scan will see if there are any sub directories inside
## each release it scans. If any are found and they match, then they will be
## used to check against the type. So with x.type=empty it will nuke any
## matching subdirectories that are empty.
##
## x.nuke.delay
## Using the current time, give them this much time until it gets nuked. The
## final nuke time is the sum of the nuke delay and the last modified date, so
## if that is older than the current time then it is an old release and should
## be nuked immediately. Use debug mode on first.
##
## x.irc
## While scanning, when a release is found to be nuked it will send this to IRC.
## Users can see the current list with !autonukes.
##
## Add this to irccommands.conf:
## !autonukes net.drmods.plugins.irc.AutoNukeIRC.doNukes public *
##
## List of IRC variables:
## ${dir} - directory being scanned
## ${path} - full path of this directory
## ${user} - directory owner
## ${group} - owners group
## ${timeleft} - time remaining until nuke
## ${section} - section of this directory
## ${sectioncolor} - for sectioncolor mod (uncomment lines in sources)
##
## For incomplete/missing types:
## ${missing.number} - number of files missing
## ${missing.percent} - percent of files missing
## ${complete.number} - current number of files present
## ${complete.total} - total number of files
## ${complete.percent} - percent of total files
## ${complete.totalbytes} - total formatted bytes for all files in sfv
## Exclude sections (comma separated)
exclude.sections=PRE,REQUESTS,ARCHIVE
## Exclude section directories (Regex)
exclude.directories=^(?i)(SORTED|SINGLES)$
## Exclude release directories (Regex)
exclude.releases=^(?i)(\\[NUKED\\]).*$
## Skip the release if any of these sub directories exist
exclude.existing.subdirectories=^(?i)(Approved.by).*$
## Scan for Incomplete
1.type=incomplete:1%
1.section=*
1.delay=10
1.dated=TV-RIPS:7,MP3:7,DVD-R:7,XVID:7,XXX:7
1.dated.format=MMdd
1.minage=120
1.maxage=20160
1.subdirs=^(?i)(cd|disk).*$
1.irc=${color}04${bold}iNCOMPLETE${bold}${coloroff} ${color}14->${coloroff} ${bold}${path}${bold} ${color}14[${coloroff} ${bold}Complete:${bold} ${color}08${complete.percent}%${coloroff} ${color}14/${coloroff} ${bold}AutoNuke:${bold} ${color}10${timeleft}${coloroff} ${color}14]${coloroff}
1.nuke.delay=300
1.nuke.reason=auto.incomplete
1.nuke.mult=3
## Scan for Empty
2.type=empty
2.section=*
2.delay=10
2.dated=TV-RIPS:7,MP3:7,DVD-R:7,XVID:7,XXX:7
2.dated.format=MMdd
2.minage=120
2.maxage=20160
2.subdirs=^(?i)(cd|disk).*$
2.irc=${color}04${bold}EMPTY${bold}${coloroff} ${color}14->${coloroff} ${bold}${path}${bold} ${color}14[${coloroff} ${bold}AutoNuke:${bold} ${color}10${timeleft}${coloroff} ${color}14]${coloroff}
2.nuke.delay=720
2.nuke.reason=auto.empty
2.nuke.mult=1
## Scans for Missing files/directories
#
# 3.type=missing:^(?i).+.nfo$
# 3.section=*
# 3.delay=60
# 3.dated=0DAY:2,MP3:2
# 3.dated.format=MMdd
# 3.minage=120
# 3.maxage=20160
# 3.irc=${color}04${bold}NO NFO${bold}${coloroff} ${color}14->${coloroff} ${bold}${path}${bold} ${color}14[${coloroff} ${bold}AutoNuke:${bold} ${color}10${timeleft}${coloroff} ${color}14]${coloroff}
# 3.nuke.delay=720
# 3.nuke.reason=auto.missing.nfo
# 3.nuke.mult=1
#
# 4.type=missing:^(?i).+.m3u$
# 4.section=MP3
# 4.delay=60
# 4.dated=MP3:2
# 4.dated.format=MMdd
# 4.minage=120
# 4.maxage=20160
# 4.irc=${color}04${bold}NO M3U${bold}${coloroff} ${color}14->${coloroff} ${bold}${path}${bold} ${color}14[${coloroff} ${bold}AutoNuke:${bold} ${color}10${timeleft}${coloroff} ${color}14]${coloroff}
# 4.nuke.delay=720
# 4.nuke.reason=auto.missing.m3u
# 4.nuke.mult=1
#
# 5.type=missing:^(?i)sample$
# 5.section=XViD
# 5.delay=60
# 5.minage=120
# 5.maxage=20160
# 5.irc=${color}04${bold}NO SAMPLE${bold}${coloroff} ${color}14->${coloroff} ${bold}${path}${bold} ${color}14[${coloroff} ${bold}AutoNuke:${bold} ${color}10${timeleft}${coloroff} ${color}14]${coloroff}
# 5.nuke.delay=720
# 5.nuke.reason=auto.missing.sample
# 5.nuke.mult=1