- Navigate to
/modules/ip/list.json
- Open the file and add your IPs to the JSON object under the "ips" array
- Each IP should be added as a string in the array format
- Example:
{
"ips": [
"192.168.1.1",
"10.0.0.1",
"172.16.0.1",
"8.8.8.8"
]
}
- Copy the
.env.copy
file to.env
- Open the
.env
file and replaceKEY_HERE
with your actual AbuseIPDB API key
ABUSEIPDB_KEY = KEY_HERE
- Go to
/modules/pinger/pinger.js
- Find the line with
EXAMPLE_DISCORD_WEBHOOK_URL
- Replace
EXAMPLE_DISCORD_WEBHOOK_URL
with your actual Discord webhook URL
const DISCORD_WEBHOOK_URL = 'YOUR_ACTUAL_DISCORD_WEBHOOK_URL_HERE';
- Go to
/modules/cron/cron.js
- Find the interval setting code
- Edit the interval time time must be in milliseconds
- Example: 3600000 = 1 hour
- Example: 86400000 = 24 hours (1 day)
- Example: 604800000 = 7 days
- Shorter intervals may lead to higher API usage
- Go to
/modules/checker/checker.js
- Search for the following line:
const isBlocked = score >= 50;
- Change the number
50
to your desired threshold (0-100)- Higher values: Only IPs with higher abuse scores will be blocked
- Lower values: More IPs will be considered abusive
- The AbuseIPDB score ranges from 0 (safe) to 100 (malicious)