Tags
Creators
Details
1.3.1
Compatibility
Changes
MCLocalAuth v1.3.1 - Changelog
Type: Compatibility Update
Date: January 2, 2026
Status: STABLE โ
โจ New Features
๐ฎ Extended Compatibility: 1.8.9 โ 1.21.11
The plugin now officially supports all Minecraft versions from 1.8.9 to 1.21.11!
Main improvements:
- Added
VersionUtilutility class to automatically detect server version - Intelligent Minecraft version detection at startup
- Enhanced log messages with detected version
At plugin startup, you'll now see:
[MCLocalAuth] ================================
[MCLocalAuth] MCLocalAuth v1.3.1 - Starting...
[MCLocalAuth] Detected Minecraft version: v1_20_R3
[MCLocalAuth] Compatibility: 1.8.9 - 1.21.11
[MCLocalAuth] ================================
๐ Bug Fixes
๐ PlayerMoveEvent Fix (Multi-version compatibility)
Problem solved: NPE (NullPointerException) on some versions when blocking movement
Before:
if (e.getFrom().getX() != e.getTo().getX() || ...)
e.setTo(e.getFrom());
โ Crashes if getTo() returns null on certain versions
After:
Location to = e.getTo();
Location from = e.getFrom();
if (to != null && (from.getX() != to.getX() || ...))
e.setTo(from);
โ Null check added to ensure compatibility
Impact: Unauthenticated players won't be able to move, without crash risk on any version
๐ Compatibility
Tested and Supported Versions
| Minecraft Version | Status |
|---|---|
| 1.8.9 - 1.12.2 | โ Compatible |
| 1.13 - 1.16.5 | โ Compatible |
| 1.17 - 1.19.4 | โ Compatible |
| 1.20 - 1.21.11 | โ Compatible |
Supported Servers: Spigot, Paper, Purpur, Pufferfish
Latest tested version: 1.21.11
Note: The plugin automatically detects your Minecraft version at startup
๐ฆ Technical Changes
Modified Files
Java:
MCLocalAuthPlugin.java- Enhanced startup logs with version detectionRestrictListener.java- NPE fix on PlayerMoveEvent with null checkVersionUtil.java- NEW - Version detection utility class
Configuration:
plugin.yml- Version 1.3.1 + Updated descriptionpom.xml- Version 1.3.1 + Updated description
Documentation:
README.md- Updated badges and compatibility rangeCHANGELOG.md- Complete documentation of changes
๐ Migration from v1.3.0
Simple and risk-free!
- Stop the server
- Replace the JAR with
MCLocalAuth-Spigot-v1.3.1.jar - Restart the server
No configuration changes required!
โ
Existing configuration remains 100% compatible
โ
Player data is preserved
โ
No action required on Discord side
๐ฏ Why Update?
If you're using an old version (1.8.9 - 1.12.2)
โ Recommended - Important compatibility fix to avoid crashes
If you're using a recent version (1.20+)
โ Recommended - Better version detection and clearer logs
If you're on v1.3.0
โ ๏ธ Optional but recommended - Improves stability on all versions
๐ก๏ธ Core Features (Unchanged)
All v1.3.0 features are preserved:
- โ Integrated Discord bot
- โ
Authentication via
/mclogin <code> - โ IP protection per account
- โ
Discord commands:
/mclogin,/mctest,/status,/unlink(admin) - โ Admin commands: authorized IP management
- โ Restrictions for unauthenticated players
- โ IPv4 & IPv6 support
๐ VersionUtil Class Details
The new utility class provides:
VersionUtil.getVersion() // Ex: "v1_20_R3"
VersionUtil.getMajorVersion() // Ex: 1
VersionUtil.getMinorVersion() // Ex: 20
VersionUtil.isVersion(1, 13) // true if >= 1.13
VersionUtil.is1_8() // true if 1.8.x
VersionUtil.is1_13Plus() // true if >= 1.13
VersionUtil.is1_20Plus() // true if >= 1.20
VersionUtil.is1_21Plus() // true if >= 1.21
Purpose: Allows future code adaptations based on server version
๐ Known Issues
No known bugs at this time.
If you encounter a problem:
- Verify you're using v1.3.1
- Check server logs (Minecraft version detected is displayed at startup)
- Open an issue on GitHub with:
- Plugin version
- Minecraft version detected in logs
- Problem description
๐ก Discord Commands (Unchanged)
| Command | Description | Access |
|---|---|---|
/mclogin <code> |
Authenticate with code | Everyone |
/mctest |
Test bot/plugin connection | Everyone |
/status |
Check your status | Everyone |
/unlink <discord_id> |
Unlink account | Admin only |
๐ Installation
- Download
MCLocalAuth-Spigot-v1.3.1.jar - Place in
plugins/folder - Restart server
- Check logs: detected Minecraft version should be displayed
- Test functionality with
/mcteston Discord
File: MCLocalAuth-Spigot-v1.3.1.jar
Size: 11.20 MB
Build: Maven 3.9.9 + Java 8
Status: STABLE โ
Compatibility: Minecraft 1.8.9 โ 1.21.11
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:znkt8N7X:mrK7lZVk"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:znkt8N7X:mrK7lZVk"
}

