No LAN Cheating
Main Functionality
This mod removes the "Allow Cheats" button from the "Open to LAN" and "Create New World" interfaces, preventing the possibility of using cheats when opening a world to the local network. This is particularly useful for players who want to avoid the temptation of enabling cheats in their world.
It's important to note that the mod works only on the client side and has no effect when installed on a server.
Compatibility with Other Mods
No LAN Cheating is fully compatible with the LAN World Plug-n-Play mod and appropriately modifies its interface by removing all cheat-related control elements.
Configuration
The mod provides two main settings for flexible configuration:
- removeButtonInOpenToLANScreen - Removes the "Allow Cheats" button in the "Open to LAN" menu (enabled by default)
- removeButtonInCreateNewWorldScreen - Removes the "Allow Cheats" button when creating a new world (disabled by default)
Visual Comparison
Starting from Minecraft version 1.19.3, the LAN opening interface has undergone some changes, but this hasn't affected the mod's functionality - the cheat permission button is still successfully removed.


The mod can be freely used in any mod packs.