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

  • R
  • Dec 21, 2025
  • 67.99 KB
  • 7
  • 1.20.1
  • Forge

File Name

protectcord-forge-1.0.9-all.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

Version: 1.0.9 Release Type: Critical Bug Fix

Critical Fixes - bStats Metrics Collection

This release fixes critical issues with bStats metrics collection that prevented accurate installation tracking.

Fixed:

  • bStats Data Collection - Metrics initialization now occurs BEFORE API key validation
    • Previously, bStats was initialized after API key validation
    • When servers had invalid/missing API keys, the plugin would disable itself before bStats initialized
    • Result: Missing installation data on bStats dashboard
    • Fix: Moved bStats initialization to occur before API validation
    • Impact: All installations now tracked, regardless of configuration status

Code Quality Improvements:

  • Error Handling - Added try-catch around bStats initialization to prevent crashes
  • Metrics Storage - Changed from local variable to class field for better lifecycle management
  • Logging - Added informative logging for bStats initialization success/failure

Technical Details:

  • bStats initialization moved from line 67-69 to line 39-46
  • Added private Metrics metrics; field for proper instance management
  • All metrics operations now wrapped in error handling

Compatibility:

  • Fully backward compatible with v1.0.8
  • No configuration changes required
  • No breaking changes