Incoming and Outgoing Packet Filters
The Firewall mod for Minecraft: Bedrock Edition (MCPE) is an essential tool that gives players the power to control packet transmissions within the game.
How to Install
- Fabric API (this is a necessity);
- owo-lib (mandatory);
- Mod Menu (or alternative mods for configuration) (strongly recommended).
Using the Mod
The Firewall mod acts as a filter for incoming and outgoing packets. By default, it does not impose any restrictions.
⚠️ It’s crucial to note that since the mod filters packets based on your configurations, it has the potential to disrupt other mods or in-game systems—particularly if you modify packet identifiers. Adjustments to alternative settings are less likely to impact the base game. Exercise caution during setup!
Configuration is achieved through the Mod Menu interface, featuring informative tooltips. Additionally, every adjustment made to packet filtering (either rejecting or allowing them) is logged in the console. Below are brief explanations of the available configuration options:
Packet Identifiers
This allows you to manage which packet identifiers are permitted. For a comprehensive list, visit Minecraft’s Wiki on Java Edition packets, focusing on the resource
as seen in the Packet ID
field. Remember to prefix your identifier with minecraft:
, such as minecraft:custom_payload
.
Custom Payload Identifiers
This option lets you manage custom payload packet identifiers (often referred to as plugin messages or channels) that are sent by various mod/plugin loaders and some mods/plugins themselves. You can also enable the setting Use from "Registered channel identifiers" option below
to apply the corresponding filters from that option. Refer to Minecraft’s Wiki on plugin channels or the documentation of specific mods/plugins for some identifiers. Again, don’t forget to add the minecraft:
or other relevant namespaces.
It’s recommended to keep the Respond to rejected received query requests
option enabled to maintain the handshake process.
Registered Channel Identifiers
This option governs which channel identifiers under minecraft:register and minecraft:unregister, utilized by Bukkit, BungeeCord, Velocity, and the Fabric API, along with c:register packets (used by FabricMC, NeoForged, PaperMC, and the SpongePowered team), are accepted. You can enable the setting Use from "Custom payload identifiers" option above
to also apply the filters from that respective option. Consider deselecting Send/Receive empty channel lists
to prevent the transmission of void channel lists.
For some channel identifiers, as previously mentioned, check the Minecraft Wiki on plugin channels.
Logged Packet Identifiers
This configuration prevents you from having any packets logged, regardless of their acceptance. By default, no packets are logged.
Logged Custom Payload Identifiers
This dictates which custom payloads should be logged without consideration of their acceptance status. Again, none are logged by default.
Need Help or Have Suggestions?
If you have an issue, suggestion, or wish to report a translation, please file a report on GitHub.