跳到正文

Anti Alt Server

作者:godkyo98

Focusing on preventing players from using multiple secondary accounts (clone/alt accounts) on the server

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🛡️ Kyo Anti-Alt (Standalone Security Module)

Kyo Anti-Alt is a lightweight, high-performance server-side mod developed specifically for Minecraft 26.3 (Fabric – Mojang Mappings). It is designed to protect the server economy and completely eliminate the issue of alt accounts (clones) used for grinding or griefing by implementing an "IP Shield" mechanism: permanently binding a single IP address to exactly one unique UUID.


✨ Breakthrough Features

  • 🔒 Exclusive Hard-Lock Mechanism (1 IP = 1 UUID): Automatically captures the player’s IP address upon their first login and strictly binds that IP to the account’s UUID.
  • 🚫 Iron-Clad Login Blocking: Any secondary account (or clone) attempting to connect from a locked IP is immediately kicked during the login phase, accompanied by a clear notification identifying the primary account associated with that IP.
  • 🌐 100% Server-Side Operation: Players using the Vanilla client require no additional mods. It offers perfect compatibility for Bedrock Edition players (mobile, console) connecting via GeyserMC and Floodgate.
  • ⚡ Optimized Performance: The lookup system utilizes a thread-safe ConcurrentHashMap structure combined with asynchronous disk I/O (via the GSON library), ensuring the server maintains a steady 60 TPS even under heavy load.
  • 🛠️ Administrator-Friendly: Supports in-game and console commands to flexibly remove IP bindings when players have legitimate reasons to switch accounts. —

💻 Administration Command System

The command system utilizes Mojang’s native Brigadier processing library, ensuring instantaneous command response times.

Command Permission Function
/unalt <playerName> Admin (OP) Only Completely removes the specified player’s IP association from the database, allowing them to log in with a new account.

Note: This command can be executed directly from the VPS/Hosting console without needing to log into the game.


📂 Database & Configuration (kyo_anti.alt.json)

Upon the server’s initial launch, the mod automatically generates a data storage file at config/kyo_antialt.json.

The file features a clear, hierarchical JSON structure; administrators can manually edit it using Notepad while the server is offline:

{
"26.165.220.5": {
"uuid": " ",
"name": " "
},
"112.4.22.19": {
"uuid": " ",
"name": " "
}
}

常见问题

Anti Alt Server 支持哪些 Minecraft 版本?

Anti Alt Server 支持 Minecraft Java 版 26.3,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Anti Alt Server 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

godkyo98 的其他作品

查看全部 →