MCLocalAuth 图标

MCLocalAuth

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.4.1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mclocalauth
资源信息

Minecraft 版本: 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: velocity

标签: management optimization utility

资源介绍

?️ MCLocalAuth

Minecraft Authentication Plugin with Integrated Discord Bot

License
[Minecraft]()
[Java]()
Version


? Description

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.

Works on Spigot/Paper, BungeeCord and Velocity — the Discord bot runs on all 3 platforms with all features.

? How It Works

  1. Player Connects → Immediately disconnected with a unique code
  2. On Discord → Type /mclogin <code> (on server or in DMs with the bot)
  3. Bot Verifies → Is the player a Discord member?
  4. If Yes → IP registered, reconnection authorized ✅
  5. If No → Blocked ❌

? Usage Statistics

Spigot / Paper :

bStats Bukkit

BungeeCord :

bStats BungeeCord

Velocity :

bStats Velocity


✨ Features

? Triple Layer Security

  • Discord Required: Only members of your Discord can play
  • Temporary Code: Each connection generates a unique code that expires
  • IP Protection: One username = One IP → Impossible to steal identities

? Integrated Discord Bot

  • Starts automatically with the server
  • No external bot to host
  • No network ports to open
  • Native Discord slash commands
  • Works on Spigot/Paper, BungeeCord and Velocity
  • Commands available in DMs (globally registered)
  • Automatic bot status verification at startup

?️ Flexible Storage

  • YAML (default): local data.yml file
  • MySQL (optional): shared database across servers
  • Ideal for multi-server networks (BungeeCord/Velocity)

? Auto Update Checker

  • Checks Modrinth API at startup
  • Console notification if a newer version is available

? Geyser/Bedrock Support

  • Automatic Bedrock player detection
  • Adapted kick messages (no color codes)

? Discord Commands

Command Description Access
/mclogin <code> Authenticate with the code received in-game Everyone
/mctest Test bot ↔ plugin connection Everyone
/status Check your authentication status Everyone
/unlink <discord_id> Unlink an account Admin
/mcadmin showips <player> View authorized IPs Admin
/mcadmin addip <player> <ip> Add an authorized IP Admin
/mcadmin removeip <player> <ip> Remove an authorized IP Admin
/mcadmin resetip <player> Reset all IPs Admin
/mcadmin setip <player> <ip> Set primary IP Admin

Admin commands are restricted to the Discord ID set in admin.discord_id in config.yml.

⚙️ Admin Commands (in-game)

Command Spigot/Paper BungeeCord Velocity
/auth showips <player>
/auth addip <player> <ip>
/auth removeip <player> <ip>
/auth resetip <player>
/auth setip <player> <ip>

? Installation

Prerequisites

  • Minecraft Server 1.8.9 to 26.2 (Spigot, Paper, Purpur), BungeeCord or Velocity 3.3.0+
  • Java 8 minimum (Spigot/BungeeCord) · Java 17 minimum (Velocity)
  • Discord Bot configured on Discord Developer Portal

Spigot / Paper / BungeeCord

  1. Download MCLocalAuth-v1.4.1.jar
  2. Place the file in your server's plugins/ folder
  3. Start the server to generate configuration
  4. Configure the Discord bot in plugins/MCLocalAuth/config.yml:
discord:
  enabled: true
  bot_token: "YOUR_DISCORD_BOT_TOKEN"
  guild_id: "YOUR_DISCORD_SERVER_ID"
  invite_link: ""

admin:
  discord_id: "YOUR_DISCORD_ID"

storage:
  type: "yaml"       # yaml or mysql
  mysql:
    host: "localhost"
    port: 3306
    database: "mclocalauth"
    username: "root"
    password: ""
  1. Restart the server
  2. Test with /mctest on Discord

Velocity

  1. Download MCLocalAuth-Velocity-v1.4.1.jar
  2. Place in your proxy's plugins/ folder
  3. Configure plugins/mclocalauth/config.yml
  4. Restart the proxy

? Configuration

Discord Bot Setup

  1. Go to Discord Developer Portal
  2. Create a new application
  3. Bot tab → Create a bot
  4. Copy the token (never share it!)
  5. Enable these Privileged Gateway Intents:
    • ✅ Server Members Intent
    • ✅ Message Content Intent (optional)
  6. OAuth2 → URL Generator tab:
    • Check bot and applications.commands
    • Permissions: Administrator (or custom)
  7. Invite the bot to your server with the generated URL

Get Discord Server ID

  1. Enable Developer Mode in Discord:
    • Settings → Advanced → Developer Mode
  2. Right-click on your server → Copy Server ID
  3. Paste in guild_id in config.yml

? Compatibility

Platform Versions JAR
Paper 1.8.9 → 26.2 ✅ MCLocalAuth-v1.4.1.jar
Spigot 1.8.9 → 1.21.x ✅ MCLocalAuth-v1.4.1.jar
Purpur 1.8.9 → 1.21.x ✅ MCLocalAuth-v1.4.1.jar
BungeeCord Build 2068 ✅ MCLocalAuth-v1.4.1.jar
Velocity 3.3.0+ ✅ MCLocalAuth-Velocity-v1.4.1.jar

Java: 8+ (Spigot/BungeeCord) · 17+ (Velocity)
Note: The plugin automatically detects your Minecraft version at startup.


? Report a Bug

If you encounter a problem:

  1. Verify you're using the latest version
  2. Check existing Issues
  3. If the problem persists, open a new issue with:
    • Plugin version
    • Minecraft version
    • Server logs
    • Detailed problem description

? Suggest a Feature

Have an idea? Open an issue with the enhancement tag!


? License

This project is under proprietary license. See the LICENSE file for more details.

TL;DR:

  • ✅ Free use on Minecraft servers
  • ✅ View code to learn
  • ❌ No modification/redistribution
  • ❌ No commercial use

? Credits

Developer: UNGEUR

Libraries used:


? Support


**⭐ If this plugin is useful to you, don't hesitate to star it!** Made with ❤️ for the Minecraft community
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
spooky

价格:0 墨喵币
下载量:0

查看详情
Basic Weapons Retexture

价格:0 墨喵币
下载量:0

查看详情
Sector 12

价格:0 墨喵币
下载量:0

查看详情
Sneak Fertilizing

价格:0 墨喵币
下载量:0

查看详情