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.1.7.1.jar

  • R
  • Dec 28, 2025
  • 86.20 KB
  • 25
  • 1.20.1
  • Forge

File Name

protectcord-forge-1.1.7-all.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

Version: 1.1.7 Release Type: Feature Update Release Date: 2025-01-28

Features Added

  • API Health Check Command - New /protectcord health command to monitor API connectivity and performance
    • Displays API connectivity status (Reachable/Unreachable)
    • Shows response time in milliseconds for performance monitoring
    • Reports API version information
    • Validates API key status (Valid/Invalid with HTTP status code)
    • Includes detailed error messages when API is unreachable
    • Available on all platforms with tab completion support

Technical Details

Command Output:

Checking API health...
=== ProtectCord API Health ===
API Status: Reachable
Response Time: 142ms
API Version: v2.1.0
API Key: Valid

HTTP Status Code Interpretation:

  • 200 - API key is valid and API is operational
  • 401/403 - API is reachable but API key is invalid
  • 5xx - Server error (API reachable but experiencing issues)
  • Network exception - API is unreachable (timeout/DNS failure)

Implementation Details:

  • Uses high-precision timing with System.nanoTime() for accurate response time measurement
  • Async execution with CompletableFuture pattern
  • Consistent with existing command architecture across all platforms
  • New HealthCheckResult model class for structured health data

All Platforms Updated:

  • Paper
  • Spigot
  • Folia
  • BungeeCord
  • Velocity
  • Forge