Difficulty Lock
Difficulty Lock is a practical Minecraft mod that allows you to set and lock the difficulty level in any world, as well as enforce a hardcore mode requirement.
Main Features
The Create World screen receives additional configuration options. Here you can see the forceHard and forceCheatsDisabled configuration options set to true:
Image: Difficulty lock settings screen
Through configuration settings, the mod also allows for forced hardcore mode for all players:
Image: Hardcore mode enforcement settings
Usage Features
The mod is perfect for servers where administrators want to ensure a uniform gaming experience for all participants, or for single player worlds where you want to maintain your chosen difficulty level without the risk of accidental changes.
Compatibility
The mod is fully compatible with the latest versions of Minecraft and can be used in any modpack that requires control over difficulty levels.