I thought it was silly just how trivially easy it is to enable cheats at any moment during gameplay.
This mod prevents the player from enabling commands on a whim through the 'Open to LAN' menu.
Only affects worlds where cheats are already not enabled.