PublishAllowCheats
What is PublishAllowCheats?
PublishAllowCheats is a lightweight Fabric mod that solves a common frustration for Minecraft players who host LAN worlds. By default, the vanilla /publish command opens a world to LAN but does not allow cheats, even if the host has them enabled in their single-player settings. This mod adds a straightforward allowCheats parameter to the command, giving you full control over whether connected players can use commands. It is perfect for cooperative building sessions, mini-games, or simply giving friends operator permissions without restarting the world.
How to Use the /publish Command with allowCheats
Once PublishAllowCheats is installed, the command syntax becomes intuitive. Open your chat window and type:
/publish allowCheats– Opens your world to LAN with cheats enabled./publish allowCheats [port]– Opens the world on a specific port with cheats on.
If you omit the allowCheats argument, the command behaves exactly like the vanilla version, publishing without cheats. This small addition makes it effortless to toggle permissions on the fly, whether you are setting up a quick creative session or troubleshooting with commands.
Installation and Compatibility
Downloading PublishAllowCheats
To get started, you need a Fabric loader for Minecraft. Once Fabric is set up, you can download PublishAllowCheats from the official CurseForge page. Place the mod file into your mods folder and launch the game. No additional configuration is required. For those who prefer a more automated approach, the foxygame.net launcher provides a one-click install for PublishAllowCheats, automatically placing the mod in the correct directory and keeping it updated alongside your other add-ons.
Minecraft Versions and Loader Support
PublishAllowCheats is designed for Fabric and supports Minecraft versions up to 1.16.5. For Minecraft 1.17 and above, the functionality has been merged into the Open2Lan mod by linguardium, which offers a broader set of LAN world enhancements. If you are playing on older versions, PublishAllowCheats remains a dedicated, minimal solution that does exactly what you need without extra features.
Why PublishAllowCheats Matters for Multiplayer
Hosting a LAN world often means you want to quickly share a creative build or test a redstone contraption with friends. Without cheats enabled, you cannot switch game modes, give items, or use command blocks. PublishAllowCheats removes that barrier, letting you focus on the fun rather than workarounds. It is especially useful for map makers and server admins who need to grant temporary permissions during testing. The mod is tiny, client-side only, and has zero impact on performance, making it a must-have for any Fabric modpack.
Alternatives and the Open2Lan Merger
As mentioned, for Minecraft 1.17 and newer, the functionality of PublishAllowCheats is integrated into Open2Lan, a more comprehensive mod that also allows custom ports and other LAN settings. If you are on a modern version, you can download Open2Lan instead. However, if you are maintaining a legacy world or prefer a single-purpose tool, PublishAllowCheats remains a reliable choice. The mod’s simplicity means it rarely conflicts with other mods, and it is a great example of how a tiny tweak can significantly improve the multiplayer experience.
Conclusion
PublishAllowCheats fills a small but important gap in Minecraft’s LAN hosting system. By adding the allowCheats parameter to the /publish command, it gives players instant control over permissions without leaving the game. Whether you download PublishAllowCheats manually or use a launcher that simplifies mod management, this add-on is a time-saver for any collaborative session. For players on newer versions, the same functionality lives on in Open2Lan, ensuring that the convenience of one-click cheat enabling remains part of the Minecraft modding ecosystem.