Back to mods
AntiScan project artwork

Modrinth · Minecraft mod

AntiScan

Automatically block and report server scanners

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which AntiScan release should I use?

Updated 4 months ago
Latest stable file 2.0.0+26.2.x
Game version 26.2
Loader Fabric

AntiScan 2.0.0+26.2.x targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is AntiScan required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does AntiScan 2.0.0+26.2.x need?

2.0.0+26.2.x. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add AntiScan without breaking your instance.

Built for AntiScan 2.0.0+26.2.x. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.0+26.2.x. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.0+26.2.x. It opens that exact file at the source.

About this project

What does AntiScan add?

Antiscan

Antiscan blocks port scanners and reports them for you. Uses Hunter by
PebbleHost and optionally AbuseIPDB to check IPs and report attempts to scan your server.
Note that this is NOT a perfect solution, and will NOT keep your server safe on its own. This is meant to be used in
conjunction with online mode and a whitelist. It also will probably not work behind a proxy like Velocity.

Adding names/ips to the Antiscan whitelist will whitelist any connection with those names/ips - even if they don't
actually own that account or another source says they are untrustworthy. This will NOT let them bypass online mode (the
default for servers) - Minecraft's default verification is still there.

Don't share your antiscan folder! It will include IPs, including those that you've whitelisted (which are probably the IPs
of those you know). It will also include your AbuseIPDB key if you've added it.

Set up AbuseIPDB

If you have an AbuseIPDB key, Antiscan can check IPs with it and report the IPs you've blocked (and IPs that try to log
in with your blocked names). To enable this:

  1. Start the server with Antiscan installed
  2. Add your key to the newly-generated antiscan/antiscan-key-do-not-share.txt file (by the way, don't share that file either)
  3. Restart the server

Commands (v2, 1.21+)

Command Action Permission node Default
antiscan (blacklist|whitelist) (ip|name) list Show the contents of a blacklist/whitelist. antiscan.(blacklist|whitelist).(ip|name).list Admins (3)
antiscan (blacklist|whitelist) (ip|name) add <to_add> Add something to a blacklist/whitelist. antiscan.(blacklist|whitelist).(ip|name).add Owners (4)
antiscan (blacklist|whitelist) (ip|name) remove <to_remove> Remove something from a blacklist/whitelist. antiscan.(blacklist|whitelist).(ip|name).remove Owners (3)
antiscan report <ip> Report an IP to AbuseIPDB for port scanning. antiscan.report Owners (4)

Project description from Modrinth.

Pick your setup

AntiScan by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

24 available setups

Showing the newest 12 of 24 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

AntiScan versions and loaders

100 of 100 releases match

Looking for an older file? The official Modrinth project page is in Resources.