BrandBlock

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.5 1.20.6 1.21 1.21.1

平台: fabric quilt

标签: management utility

资源介绍

BrandBlock

Simple Fabric server-side mod to block certain client brands from joining your server

Disconnection Message

Configuration

config/brandblock.json

{
  "blockedBrands": [                             // All brands that will be blocked
    "forge",
    "vanilla"
  ],
  "kickMsg": "This client brand is not allowed"  // The disconnection reason shown to the player, can be in Raw JSON text format
}

How it works?

When joining a server, during the configuration phase, both the server and client send a minecraft:brand custom payload packet (aka plugin message) containing the brand name. For unmodified clients and servers, this brand is always "vanilla." However, custom clients (such as Forge, Fabric, etc.) typically change this brand identifier.

This server-side mod listens when a brand payload is received and checks if it matches any blocked brands specified in the configuration file. If a blocked brand is detected, the player is disconnected from the server. However, this can be easily bypassed and modified clients may not to send this packet at all.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Crazy Chaos Mod

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

查看详情
Purposeful Create

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

查看详情
Colored Obsidian

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

查看详情
Just Berries

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

查看详情