promotional bannermobile promotional banner

Protectcord

Protectcord is an anti VPN/Proxy plugin it uses an advanced API to check if an IPv4/IPv6 is a vpn

File Details

protectcord-forge-1.0.6.jar

  • R
  • Oct 31, 2025
  • 67.22 KB
  • 7
  • 1.20.1
  • Forge

File Name

protectcord-forge-1.0.6-all.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:protectcord-1375648:7168976")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

## [v1.0.6] - 2025-10-31

**Version: 1.0.6**
**Release Type: Major Feature Update**

### Major Features - IP Tracking & Banning System

This release introduces a comprehensive IP tracking and banning system to prevent ban evasion through alternate accounts.

#### New Features:
- **IP History Tracking** - All player IP addresses are now logged and tracked automatically
- **Automatic IP Banning** - When a player is banned (via warnings or manual ban), all their associated IPs are automatically banned
- **IP Ban Checking** - Banned IPs are blocked from connecting, even with different accounts
- **Enhanced Unban System** - Unbanning a player now also unbans all their associated IP addresses
- **Automatic Hourly Update Checker** - Checks for new versions every hour using ScheduledExecutorService

#### Security Improvements:
- Prevents ban evasion through alt accounts
- Network-wide IP blocking for banned players
- Persistent IP ban storage across server restarts
- Comprehensive IP history tracking for investigations

#### Technical Details:
- Storage: TOML format in `protectcord-ip-tracking.toml` and `protectcord-ip-bans.toml`
- Data structure: `players.{uuid}.ips` for tracking
- Data structure: `ips.{ip}` for bans
- IP addresses in config keys use underscores (e.g., `192_168_1_1`)
- Uses NightConfig for TOML storage
- Update checker: ScheduledExecutorService with 1-hour interval

#### Admin Features:
- `/protectcord ban <player> <reason>` - Now bans player + all their IPs (OP level 2 required)
- `/protectcord unban <player>` - Now unbans player + all their IPs (shows count)
- `/protectcord warn <player> <reason>` - After 3 warnings, auto-bans with IPs

### Compatibility:
- Fully backward compatible with v1.0.5 warning data
- Existing bans automatically work with new IP banning
- No configuration changes required