跳到正文

ClientBlock

作者:arch_fan

Filter Minecraft clients at server side, block or allow them. Fabric Mod.

收藏

介绍

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

ClientBlock

A Fabric Mod for blocking/filtering Minecraft clients (JUST SERVER SIDE!).

Configuration

The configuration file is created automatically inside your Fabric Mods
configurations folder. The file is named clientblock.json which has
this structure:

{
  // Json schema for having types in config
  "$schema": "https://raw.githubusercontent.com/arch-fan/ClientBlock/refs/heads/main/config.schema.json",
  "action": "block", // "block" or "allow" (block by default)
  "clients": [
    "fabric"
  ], // Array of clients to block or allow (based in action mode) (empty by default)
  "kickMessage": "Custom kick message", // The client is not allowed! ("The client is not allowed!" by default)
  "logger": false, // Where to log every single person client entering at the server (false by default)
  "whitelist": [
    "PlayerOne"
  ] // Array of players to bypass the client filter (empty by default)
}

Here you can copy the template without comments 🙂

{
  "$schema": "https://raw.githubusercontent.com/arch-fan/ClientBlock/refs/heads/main/config.schema.json",
  "action": "block",
  "clients": [
    "fabric"
  ],
  "kickMessage": "Custom kick message",
  "logger": false,
  "whitelist": [
    "PlayerOne"
  ]
}

Commands

/clients for listing all clients.

Publication

Actually, the mod is published in two mod providers

常见问题

ClientBlock 支持哪些 Minecraft 版本?

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

ClientBlock 怎么安装?

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

评论

登录后评论和评分