ModVerifier?
适用于 Minecraft 服务器的 服务器端和客户端 Fabric 模组,允许 Java 版和基岩版玩家同时连接。对于服务器管理员而言,该工具会验证 Java 版玩家所使用的模组,同时允许基岩版玩家无障碍加入。
为了避免在服务器控制台中产生大量数据,ModVerifier 会将连接信息发送至 Discord Webhook。通过该 Webhook,工作人员可以实时查看哪些玩家正在加入以及他们使用了哪些模组。
在使用 Geyser 或 Floodgate 实现跨平台游玩的服务器上,管理员需要管理不同类型的用户。Java 版玩家可以使用功能强大的客户端模组,这可能会违反服务器规则;相比之下,基岩版玩家通常使用手机或主机,这些设备没有模组文件夹。
ModVerifier 以特定方式管理这两种环境:
对于 Java 版玩家 - 当玩家连接时,它会检查客户端模组列表,以确保服务器公平且模组使用情况透明。
对于基岩版玩家 - 它会识别平台并跳过检查,从而让玩家立即加入。这样做可以避免发送额外的数据包或导致玩家断开连接。
ModVerifier 位于服务器的网络登录管道中,以便管理连接。
握手与平台检查
当玩家开始连接时,ModVerifier 会拦截登录事件。它
这是为谁准备的?(重要提示)
ModVerifier 专为小型私人服务器和紧密的朋友群体设计。
它并不适用于拥有数百名玩家的大型公共网络。由于它为每次连接使用直接的 Discord Webhook 和外部的头像 API,如果在大型公共服务器上使用,可能会迅速触发 Discord 的频率限制并造成不必要的网络拥塞。
如果你运行的是一个友好的生存服务器、一个私人 SMP,或者是一个让朋友们一起游玩 Java 版和基岩版的社区中心,那么这个模组非常适合你!
在你的私人服务器上设置 ModVerifier 只需几分钟。按照以下简单步骤即可运行:
第一步:安装模组
下载 ModVerifier .jar 文件。
将文件放入服务器的 mods 文件夹和你的客户端的 mods 文件夹中。
注意:确保你的 mods 文件夹中还安装了 Fabric API 和 Floodgate(如果你运行的是跨平台服务器)。
启动一次服务器以生成配置文件,然后停止它。
第二步:创建 Discord Webhook
打开你的 Discord 服务器,进入你希望显示连接报告的频道设置。
导航至 Integrations -> Webhooks -> Create Webhook。
根据需要自定义默认名称,然后点击 Copy Webhook URL。
第三步:配置模组
前往你的服务器文件并打开 config 文件夹。
找到并打开名为 mod_verifier.json 的文件。
将你的 Discord Webhook URL 粘贴到 "discordWebhookUrl" 旁边的引号内。它应该如下所示:
JSON
{
"discordWebhookUrl": "
}
ModVerifier?
a server and client side Fabric mod for Minecraft servers that allow both Java besides Bedrock Edition players to connect. For server administrators, this tool verifies the mods that Java players use while it allows Bedrock players to join without any interference.
To avoid large amounts of data in the server console, ModVerifier sends connection information to Discord webhooks. With those webhooks, staff members can see in real time which players are joining and which modifications the players are using.
On servers that use Geyser or Floodgate for cross play, administrators must manage different types of users. Java players can use powerful client side mods that might break server rules. In contrast Bedrock players use mobile devices or consoles that do not have mod folders.
ModVerifier manages those two environments in specific ways
For Java Players - It checks the list of client side mods when a player connects so that the server remains fair and the mod usage is clear.
For Bedrock Players - It identifies the platform and does not perform a check, which allows the players to join immediately. By doing this the mod avoids sending extra data packets or causing players to lose their connection.
ModVerifier exists within the network login pipeline of the server so that it can manage connections
The Handshake & Platform Check
When a player starts a connection, ModVerifier intercepts the login event. It
Who is this for? (Important Note)
ModVerifier is specifically designed for small, private servers and tight-knit friend groups.
It is not meant for large public networks with hundreds of players at once. Since it uses direct Discord webhooks and external avatar APIs for each connection, using this on a big public server could quickly hit Discord's rate limits and create unwanted network congestion.
If you run a friendly survival server, a private SMP, or a community hub for your friends to play Java and Bedrock together, this mod is perfect for you!
Setting up ModVerifier on your private server only takes a few minutes. Follow these simple steps to get it running:
Step 1: Install the Mod
Download the ModVerifier .jar file.
Drop the file into your server's mods folder and your client's mods folder.
Note: Make sure you also have Fabric API and Floodgate (if you are running a cross-play server) installed in your mods folder.
Start your server once to let it generate the configuration files, then stop it.
Step 2: Create a Discord Webhook
Open your Discord server and go to the channel settings where you want the connection reports to appear.
Navigate to Integrations -> Webhooks -> Create Webhook.
Customize the default name if you like, and click Copy Webhook URL.
Step 3: Configure the Mod
Go to your server files and open the config folder.
Locate and open the file named mod_verifier.json.
Paste your Discord Webhook URL inside the quotation marks next to "discordWebhookUrl". It should look like this:
JSON
{
"discordWebhookUrl": "
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧