Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 5 months ago
IPBlock - IP Protection Plugin
A powerful PaperMC plugin to protect your Minecraft server from unwanted connections based on country, with built-in Anti-DDoS protection.
Features
| Feature | Description |
|---|---|
| ๐ Country Filter | Whitelist/Blacklist countries using GeoIP |
| ๐ก๏ธ Anti-DDoS | Connection throttling, auto-block spam IPs |
| โก Rate Limiting | Block IPs with excessive connection attempts |
| ๐ Blacklist | Permanent IP blacklist (auto-saved) |
| ๐ฅ Auto-Download | Automatically downloads GeoLite2 database |
| ๐ Webhooks | Discord & Telegram notifications |
Installation
- Download
IPBlock-1.0.0.jarfrom Download - Place in your server's
plugins/folder - Start server โ GeoIP database auto-downloads!
Commands
| Command | Description |
|---|---|
/ipblock reload |
Reload config and services |
/ipblock status |
View plugin status |
/ipblock check <ip> |
Check country of an IP |
/ipblock whitelist add/remove <ip> |
Manage IP whitelist |
/ipblock blacklist add/remove <ip> |
Manage IP blacklist |
/ipblock ddos |
View Anti-DDoS status |
/ipblock webhook |
Configure Discord/Telegram webhooks |
/ipblock update |
Update GeoLite2 database |
Configuration
Basic Setup (config.yml)
# Mode: whitelist (only allow) or blacklist (block)
mode: whitelist
# Countries (ISO 3166-1 alpha-2)
countries:
- VN # Vietnam
# Anti-DDoS
anti-ddos:
enabled: true
max-connections-per-second: 50
max-connections-per-ip: 3
Webhook Setup
# Discord
/ipblock webhook discord https://discord.com/api/webhooks/YOUR_ID/YOUR_TOKEN
# Telegram
/ipblock webhook telegram YOUR_BOT_TOKEN YOUR_CHAT_ID
# Test & Apply
/ipblock webhook test
/ipblock reload
Country Codes (ISO 3166-1 alpha-2)
Asia
| Code | Country | Code | Country |
|---|---|---|---|
| VN | ๐ป๐ณ Vietnam | PH | ๐ต๐ญ Philippines |
| TH | ๐น๐ญ Thailand | MY | ๐ฒ๐พ Malaysia |
| SG | ๐ธ๐ฌ Singapore | ID | ๐ฎ๐ฉ Indonesia |
| JP | ๐ฏ๐ต Japan | KR | ๐ฐ๐ท South Korea |
| TW | ๐น๐ผ Taiwan | CN | ๐จ๐ณ China |
| HK | ๐ญ๐ฐ Hong Kong | IN | ๐ฎ๐ณ India |
Europe
| Code | Country | Code | Country |
|---|---|---|---|
| GB | ๐ฌ๐ง United Kingdom | DE | ๐ฉ๐ช Germany |
| FR | ๐ซ๐ท France | IT | ๐ฎ๐น Italy |
| ES | ๐ช๐ธ Spain | NL | ๐ณ๐ฑ Netherlands |
| PL | ๐ต๐ฑ Poland | RU | ๐ท๐บ Russia |
| UA | ๐บ๐ฆ Ukraine | SE | ๐ธ๐ช Sweden |
Americas
| Code | Country | Code | Country |
|---|---|---|---|
| US | ๐บ๐ธ United States | CA | ๐จ๐ฆ Canada |
| MX | ๐ฒ๐ฝ Mexico | BR | ๐ง๐ท Brazil |
| AR | ๐ฆ๐ท Argentina | CL | ๐จ๐ฑ Chile |
Oceania
| Code | Country | Code | Country |
|---|---|---|---|
| AU | ๐ฆ๐บ Australia | NZ | ๐ณ๐ฟ New Zealand |
๐ Full list: ISO 3166-1 alpha-2
Permissions
| Permission | Description |
|---|---|
ipblock.admin |
Access to all commands |
Requirements
- PaperMC 1.20+ (or compatible forks)
- Java 21+
Building
./gradlew shadowJar
Output: build/libs/IPBlock-1.0.0.jar
License
MIT License


