
MCLocalAuth
MCLocalAuth is a security plugin for Minecraft servers that uses Discord as an authentication system. Protect your server by limiting access to only members of your Discord community.
Оцените первым
115
1
Список изменений
MCLocalAuth v1.3.0 - Changelog
Type: Major Update
Date: October 22, 2025
Status: STABLE ✅
✨ New Features
1. Discord Command Renamed
- BEFORE:
/auth <code> - NOW:
/mclogin <code> - All messages and references updated throughout the plugin
2. /unlink Command (Admin Only)
- Usage:
/unlink <discord_id> - Reserved for admin configured in
config.yml(admin.discord_id) - All attempts are logged for security auditing
- Note: Basic feature implemented, persistent linking system coming soon
🐛 Bug Fixes
1. UTF-8 Encoding Fixed (In-Game)
Problem solved: In-game messages displayed garbled characters
Fixed messages:
- "reset" instead of "réinitialisé"
- "added" instead of "ajouté"
- "removed" instead of "supprimé"
- "set" instead of "défini"
- "authorized" instead of "autorisées"
Result: Clean, readable messages on all systems
2. IPv6 Support
- IPv4 AND IPv6 both accepted for authorized IPs
- Validation using
InetAddress.getByName() - Affected commands:
/auth addip,/auth setip
3. Current IP Displayed in Kick Messages
- Kick message now displays player's actual current IP
- Variable
%current_ip%is correctly replaced - Helps players identify their connection issues
🔧 Technical Changes
Modified files:
AuthAdminCommand.java: ASCII encoding + IPv6 validationLoginListener.java: Current IP display + encoding fixesDiscordBot.java: Renamed/auth→/mcloginDiscordCommandListener.java:/mclogin+/unlinkadmin handlerconfig.yml: Messages without accents +/mcloginreferencesplugin.yml: Version 1.3.0pom.xml: Version 1.3.0
📦 Migration from v1.2.x
Steps:
- Stop the server
- Replace JAR with
MCLocalAuth-Spigot-v1.3.0.jar - Configure admin in
config.yml:admin: discord_id: "YOUR_DISCORD_ID" minecraft_uuid: "" - Restart the server
- Inform players: command is now
/mclogin <code>
Note: Old configuration remains compatible
🎮 Changes for Players
On Discord:
- BEFORE:
/auth 123456 - NOW:
/mclogin 123456
In Minecraft:
- Connection message: "On Discord, type:
/mclogin 870600"- (instead of "
/auth PvP_UNGEUR 870600")
- (instead of "
🔒 Security
Admin logging:
- All admin actions are logged
- Example:
[ADMIN] PvP_UNGEUR#1234 attempted to unlink Discord ID: 987654321 - Useful for auditing sensitive actions
✅ Compatibility
- Minecraft: 1.8 → 1.21+
- Java: 8+
- IPv4 & IPv6: Fully supported
- Config: Compatible with v1.2.x (auto-adds admin section)
🐛 Known Issues
No known bugs at this time.
If you encounter a problem:
- Verify you're using v1.3.0
- Check server logs
- Open an issue on GitHub
📋 Discord Commands (Updated)
| 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.0.jar - Place in
plugins/folder - Restart server
- Configure
admin.discord_idinconfig.yml - Test with
/mctestand/mclogin
File: MCLocalAuth-Spigot-v1.3.0.jar
Size: 10.68 MB
Build: Maven 3.9.5 + Java 8
Status: STABLE ✅
Файлы
MCLocalAuth-Spigot-v1.3.0.jar(10.68 MiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
1.3.0
Загрузчики
PaperPurpurSpigot
Версии игры
1.8.9–1.21.10
Загрузок
32
Дата публикации
22.10.2025
