跳到正文

ValiMod

作者:gaberd

A lightweight client-server validation mod that enforces required mods and blocks unauthorized client-side modifications during connection handshakes.

收藏

介绍

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

ValiMod

ValiMod is an advanced server security and synchronization tool for Fabric that ensures connecting clients match the server’s required mod environment.

Features

  • Automated Handshake: Verifies client mod lists, version numbers, and active resource pack SHA-1 hashes during login.
  • Anti-Bypass Protection: Enforces a 10-second connection timeout—clients that drop or ignore the handshake request are automatically kicked.
  • Configurable Enforcement: Define required mods, exact versions, allowed mods, or blacklisted mods in config/valimod.json.
  • Smarter Kick Messages: Displays stylized disconnect notices with optional clickable links so players can quickly download missing modpacks.
  • Hot-Reload Support: Reload configuration files instantly using the /valimod reload command without restarting the server.
  • Warning Mode: Toggle enforceKicks to false to log violations without kicking players—perfect for auditing client environments safely.

Configuration

Edit config/valimod.json on your server to set your rules:

{
  "enforceKicks": true,
  "downloadUrl": "[https://modrinth.com/modpack/your-modpack](https://modrinth.com/modpack/your-modpack)",
  "required_mods": [
    "valimod",
    "fabricloader@>=0.15.0"
  ],
  "blacklisted_mods": [
    "xray",
    "freecam"
  ]
}

---

Commands
/valimod reload - Reloads config/valimod.json from disk (Requires OP level 2+).

常见问题

ValiMod 支持哪些 Minecraft 版本?

ValiMod 支持 Minecraft Java 版 1.20.4–1.20.6,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ValiMod 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

gaberd 的其他作品

查看全部 →