Sueta
CI

CIDRblacklist

1.21

Blocks clients from login if their IP matches specified CIDR range(s)

·Plugin

Blocks players if their IP address matches CIDR blocks you specify. If you do not what what CIDR is, it's classless inter domain routing. A way to designate networks, a shorthand of a type. You can read about it here. You can still pass the system regular single IP addresses; it will automatically convert to the single IP notation (/32) if you do not specify a bit depth.

It likely works on several other versions of MC, I just haven't tested it.

Permissions

cidrblacklist.admin is the only permission, gives you access to control it

Commands

CIDR ADD cidr
Adds a CIDR block to the blacklist

CIDR DEL cidr
Removes a CIDR block from the blacklist

CIDR LIST
Lists all current CIDR blocks that are blacklisted

CIDR TEST ip
Tests if an IP is being covered by the blacklist

CIDR RELOAD
Reloads configuration

CIDR REASON cidr (reason)
Sets a denial reason for that specific CIDR block. This is the message they will receive when they are blocked. Use * for the CIDR block to specify the global reason (which is used when there is no CIDR specific denial reason)

CIDR REASON cidr
Removes a custom denial message from the specified CIDR block, if set. Use * for the CIDR block to specify the global reason (which is used when there is no CIDR specific denial reason)

CIDR REASON

Shows the list of denial reasons currently in use

CIDR CALC
Provides a link you can click to open a decent online CIDR calculator. I'll eventually just add the calculation to my code, but I just don't feel like getting into that right now lol

Similar projects

Plugin →