▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/MCLocalAuth
MCLocalAuth

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 1.3.0

MCLocalAuth 1.3.0

Beta22.10.2025

Список изменений

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 validation
  • LoginListener.java: Current IP display + encoding fixes
  • DiscordBot.java: Renamed /auth/mclogin
  • DiscordCommandListener.java: /mclogin + /unlink admin handler
  • config.yml: Messages without accents + /mclogin references
  • plugin.yml: Version 1.3.0
  • pom.xml: Version 1.3.0

📦 Migration from v1.2.x

Steps:

  1. Stop the server
  2. Replace JAR with MCLocalAuth-Spigot-v1.3.0.jar
  3. Configure admin in config.yml:
    admin:
      discord_id: "YOUR_DISCORD_ID"
      minecraft_uuid: ""
    
  4. Restart the server
  5. 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")

🔒 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:

  1. Verify you're using v1.3.0
  2. Check server logs
  3. Open an issue on GitHub

📋 Discord Commands (Updated)

CommandDescriptionAccess
/mclogin <code>Authenticate with codeEveryone
/mctestTest bot/plugin connectionEveryone
/statusCheck your statusEveryone
/unlink <discord_id>Unlink accountAdmin only

🚀 Installation

  1. Download MCLocalAuth-Spigot-v1.3.0.jar
  2. Place in plugins/ folder
  3. Restart server
  4. Configure admin.discord_id in config.yml
  5. Test with /mctest and /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

Загрузчики

Paper
Purpur
Spigot

Версии игры

1.8.9–1.21.10

Загрузок

32

Дата публикации

22.10.2025

Загрузил

ID версии

Главная