promotional bannermobile promotional banner

Difficulty Lock

🔒 Sets a difficulty in any world, optionally locked, or force a hardcore mode requirement.
affiliate banner image

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube


About the mod

Difficulty Lock adds an easy way to configure the difficulty in all (new) worlds. Can be useful for modpacks, or just in your singleplayer experience if you have a default difficulty you always play with. There are config options to force the Hardcore gamemode, disable cheats, or prevent Creative mode from being selected.

The Create World Screen is correctly updated with the config settings. Also works on (dedicated) servers.



Dependencies

Requires Collective
Included in Serilum's Customization Bundle
Environment: Server




Configurable

Configuration guide

   All available config options:

The priority shows how the mod handles when multiple gamemodes are set to true in the config. E.g. if all are enabled all new worlds will be peaceful.

forceHardcoreMode  default false
Sets the world game mode to hardcode mode and ignores the other difficulty settings when enabled.

disableCreativeModeSelection  default false
Whether Creative Mode should not be possible to select in the world creation screen.

forcePeaceful  default false
Priority 1: Sets the difficulty in any world to peaceful when enabled.

forceEasy  default false
Priority 2: Sets the difficulty in any world to easy when enabled.

forceNormal  default false
Priority 3: Sets the difficulty in any world to normal when enabled.

forceHard  default true
Priority 4: Sets the difficulty in any world to hard when enabled.

forceCheatsDisabled  default false
Whether the cheats option should be forced to be disabled on the initial world creation screen.

shouldLockDifficulty  default true
When enabled, locks the difficulty in any world so it cannot be changed.

shouldChangeDifficultyWhenAlreadyLocked  default false
When enabled, also sets the difficulty in worlds where it has already been locked.




Showcase

With the default configuration, all worlds will be set to hard with the difficulty locked:



The Create World Screen is also updated.
Here the config options forceHard and forceCheatsDisabled are true:



The mod also allows users to be forced to play in Hardcore Mode, via the config:




Notes and links

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of them across so many separate mod pages.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


The Difficulty Lock Team

profile avatar
Owner
  • 2.8K
    Followers
  • 359
    Projects
  • 820.3M
    Downloads

Makes Minecraft mods and a few other random bits of software. I love projects. > DMs are disabled, please use the `Serilum/.issue-tracker` on GitHub! ❤︎

Donate

More from SerilumView all

  • Advancement Screenshot project image

    Advancement Screenshot

    • 500.6K
    • Mods

    📸 [Client] Takes a screenshot every time an advancement is achieved. Document your progress!

    • 500.6K
    • June 18, 2026
    • Mods
  • All Loot Drops project image

    All Loot Drops

    • 480.0K
    • Mods

    👝 Living entities drop all their possible loot in a configurable amount, looting enchant supported.

    • 480.0K
    • June 18, 2026
    • Mods
    • +1
  • Beautified Chat [Client] project image

    Beautified Chat [Client]

    • 2.4M
    • Mods

    💬 A highly configurable mod to change the chat style and colour on the client.

    • 2.4M
    • June 18, 2026
    • Mods
    • +2
  • Beautified Chat [Server] project image

    Beautified Chat [Server]

    • 321.8K
    • Mods

    💬 A highly configurable mod to change the style and colour of chat messages server-wide.

    • 321.8K
    • June 18, 2026
    • Mods
    • +2
  • Advancement Screenshot project image

    Advancement Screenshot

    • 500.6K
    • Mods

    📸 [Client] Takes a screenshot every time an advancement is achieved. Document your progress!

    • 500.6K
    • June 18, 2026
    • Mods
  • All Loot Drops project image

    All Loot Drops

    • 480.0K
    • Mods

    👝 Living entities drop all their possible loot in a configurable amount, looting enchant supported.

    • 480.0K
    • June 18, 2026
    • Mods
    • +1
  • Beautified Chat [Client] project image

    Beautified Chat [Client]

    • 2.4M
    • Mods

    💬 A highly configurable mod to change the chat style and colour on the client.

    • 2.4M
    • June 18, 2026
    • Mods
    • +2
  • Beautified Chat [Server] project image

    Beautified Chat [Server]

    • 321.8K
    • Mods

    💬 A highly configurable mod to change the style and colour of chat messages server-wide.

    • 321.8K
    • June 18, 2026
    • Mods
    • +2