这是一个 Minecraft Fabric 模组,允许你配置发送/接收的数据包。
安装
- Fabric API(必需);
- owo-lib(必需);
- Mod Menu(或用于更改模组配置的其他模组)(强烈推荐)。
用法
该模组会过滤发送/接收的数据包,默认情况下(默认配置)它不会执行任何操作。
⚠️ 请注意,由于它会直接拒绝/过滤已配置的数据包,这可能会破坏某些模组或原版系统,尤其是如果你过滤了数据包标识符(第一个选项),更改其他选项可能不会破坏原版游戏。请谨慎配置!
整个模组都通过 Mod Menu UI 进行配置,并带有提示工具;请注意,对数据包的每次更改(拒绝或过滤)都会记录到控制台中。以下是当前所有选项的简要说明:
数据包标识符 (Packet identifiers)
控制允许哪些数据包标识符。
查看所有标识符列表,请参阅 Minecraft Wiki 关于 Java 版数据包的页面,特别是任何数据包 Packet ID 字段中的 resource。请注意,你需要为 id 添加 minecraft: 命名空间前缀,例如 minecraft:custom_payload。
自定义负载标识符 (Custom payload identifiers)
控制允许哪些自定义负载数据包(即插件消息或通道)标识符,这些通常由大多数模组/加载器以及一些模组/插件发送。
你可以选择设置 Use from "Registered channel identifiers" option below 以同时应用来自相应选项的过滤器。
查看 部分 标识符列表,请参阅 Minecraft Wiki 关于插件通道的页面,或者查看相关模组/插件文档中关于发送数据包的说明。同样,就像数据包标识符一样,不要忘记 minecraft: 或其他命名空间。
Respond to rejected received query requests 应该启用,以免破坏握手流程。
已注册通道标识符 (Registered channel identifiers)
控制允许哪些 minecraft:register、minecraft:unregister(由 Bukkit、BungeeCord、Velocity 和 Fabric API 使用)以及 c:register 数据包(由 FabricMC、NeoForged、PaperMC 和 SpongePowered 团队使用)中的通道标识符。
你可以选择设置 Use from "Custom payload identifiers" option above 以同时应用来自相应选项的过滤器。
你可以取消选中 Send/Receive empty channel lists 选项,以不发送/接收空通道列表。
查看 部分 标识符列表,请参阅 Minecraft Wiki 关于插件通道的页面。
已记录数据包标识符 (Identifiers of logged packets)
哪些数据包应该被记录——无论它们是否被拒绝。默认情况下不记录任何内容。
已记录自定义负载标识符 (Identifiers of logged custom payloads)
哪些自定义负载应该被记录——无论它们是否被拒绝。默认情况下不记录任何内容。
我有问题/建议/翻译需求
This is a Minecraft Fabric mod that allows you to configure what packets are sent/received.
Installation
- Fabric API (required);
- owo-lib (required);
- Mod Menu (or some other mod to change the mod's config) (very much recommended).
Usage
The mod filters the sent/received packets, by default (default config) it does nothing.
⚠️ Note that since it directly rejects/filters the sent/received packets (as configured), it may break some mods or vanilla systems, especially if you filter the packet identifiers (the first option), changing the other options probably won't break the vanilla game. Configure carefully!
The entire mod is configured through the Mod Menu UI with helpful tooltips; note that each change to the packets (rejecting or filtering them) is logged to the console. Below is a short description of every option currently there:
Packet identifiers
Control which packet identifiers are allowed.
For a list of all of them see the Minecraft Wiki article on Java Edition packets, specifically resouce in the Packet ID field of any packet. Note that you need to prefix the id with minecraft: namespace, for example minecraft:custom_payload.
Custom payload identifiers
Control which custom payload packet (aka plugin message or channel) identifiers are allowed, sent by most of the mod/plugin loaders and some of mods/plugins.
You can select the setting Use from "Registered channel identifiers" option below to also apply the filters from the respective option.
For a list of some of the identifiers see the Minecraft Wiki article on plugin channels, or the respective mod/plugin documentation for the sent packets. Again, like the packet identifiers, don't forget the minecraft: or some other namespace.
The Respond to rejected received query requests should probably be enabled, as to not break the handshaking flow.
Registered channel identifiers
Control which channel identifiers in minecraft:register, minecraft:unregister (used by Bukkit, BungeeCord, Velocity and Fabric API) and c:register packets (used by FabricMC, NeoForged, PaperMC and SpongePowered team) are allowed.
You can select the setting Use from "Custom payload identifiers" option above to also apply the filters from the respective option.
You can deselect the Send/Receive empty channel lists options to not send/receive empty channel lists.
For a list of some of the identifiers, again, see the Minecraft Wiki article on plugin channels.
Identifiers of logged packets
What packets should be logged - regardless of if they're rejected or not. By default none are logged.
Identifiers of logged custom payloads
What custom payloads should be logged - regardless of if they're rejected or not. By default none are logged.
I have a problem/suggestion/translation
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Firewall
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新内容
- 新增通过配置文件和按键绑定来切换整个模组或其日志记录的功能(感谢 @Hr0m4nul 的建议)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧