All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Difficulty Lock

Difficulty Lock

by Serilum • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

CurseForge Modrinth 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:

Show Spoiler

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.

For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric Forge Neoforge Quilt
22h ago 1
26.2
Fabric Forge Neoforge Quilt
22h ago 1
1.21.x
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
26.3
Fabric Forge Neoforge Quilt
22h ago 1
26.2
Fabric Forge Neoforge Quilt
22h ago 1
26.1.2
Fabric Forge Neoforge Quilt
22h ago 1
26.1.1
Fabric Forge Neoforge Quilt
22h ago 1
26.1
Fabric Forge Neoforge Quilt
22h ago 1
26.1
Fabric Forge Neoforge Quilt
22h ago 1
1.21.11
Fabric Forge Neoforge Quilt
22h ago 1
1.21.10
Fabric Forge Neoforge Quilt
22h ago 1
1.21.9
Fabric Forge Neoforge Quilt
22h ago 1
1.21.9
Fabric Forge Neoforge Quilt
22h ago 1
1.21.8
Fabric Forge Neoforge Quilt
22h ago 1
1.21.7
Fabric Forge Neoforge Quilt
22h ago 1
1.21.6
Fabric Forge Neoforge Quilt
22h ago 1
1.21.5
Fabric Forge Neoforge Quilt
22h ago 1
1.21.4
Fabric Forge Neoforge Quilt
22h ago 1
1.21.x
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
1.21.4
Fabric Forge Neoforge Quilt
22h ago 1
1.21.3
Fabric Forge Neoforge Quilt
22h ago 1
1.21.x
Fabric Neoforge Quilt
22h ago 1
1.21.x
Fabric Forge Neoforge Quilt
22h ago 1
1.21
Fabric Forge Neoforge Quilt
22h ago 1
1.20.6
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
1.21
Fabric Forge Neoforge Quilt
22h ago 1
1.20.4
Fabric Forge Neoforge Quilt
22h ago 1
1.20.6
Fabric Forge Neoforge Quilt
22h ago 1
1.20.6
Fabric Forge Neoforge Quilt
22h ago 1
1.20.4
Fabric Forge Neoforge Quilt
22h ago 1
1.20.6
Fabric Forge Neoforge Quilt
22h ago 1
1.20.5
Fabric Neoforge Quilt
22h ago 1
1.20.5
Fabric Neoforge Quilt
22h ago 1
1.20.4
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
1.20.4
Fabric Forge Neoforge Quilt
22h ago 1
1.20.2
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
1.20.4
Fabric Forge Neoforge Quilt
22h ago 1
1.20.2
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
1.19.2
Fabric Forge Quilt
22h ago 1
1.20.4
Fabric Forge Neoforge Quilt
22h ago 1
1.20.3
Fabric Forge Neoforge Quilt
22h ago 1
1.20.2
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Neoforge Quilt
22h ago 1
1.19.2
Fabric Forge Quilt
22h ago 1
1.18.2
Fabric Forge Quilt
22h ago 1
1.20.2
Fabric Forge Neoforge Quilt
22h ago 1
1.20.1
Fabric Forge Quilt
22h ago 1
1.20
Fabric Forge Quilt
22h ago 1
1.19.4
Fabric Forge Quilt
22h ago 1
1.19.3
Fabric Forge Quilt
22h ago 1
1.19.2
Fabric Forge Quilt
22h ago 1
1.18.2
Fabric Forge Quilt
22h ago 1
1.19.3
Forge
22h ago 1
1.19.3
Fabric
22h ago 1
1.19.2
Fabric
22h ago 1
1.18.2
Fabric
22h ago 1
1.16.5
Fabric
22h ago 1
1.19.2
Forge
22h ago 1
1.18.2
Forge
22h ago 1
1.16.5
Forge
22h ago 1
1.19.2
Fabric
22h ago 1
1.18.2
Fabric
22h ago 1
1.16.5
Fabric
22h ago 1
<h2><img src="https://cdn.serilum.com/description/nameplate/whats-new.svg" alt="What's new"></h2><p>Changed the mod's Java package to com.serilum.*.<br />Updated mod information in the mods.toml and fabric.mod.json files.<br />No functional changes.</p><br><h2><img src="https://cdn.serilum.com/description/nameplate/historic-changelog.svg" alt="Historic changelog"></h2><p>The complete changelog with detailed information about previous versions can be found on my website:<br>&nbsp;&gt; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank" rel="nofollow noopener">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<h2><img src="https://cdn.serilum.com/description/nameplate/whats-new.svg" alt="What's new"></h2><p>Changed the mod's Java package to com.serilum.*.<br />Updated mod information in the mods.toml and fabric.mod.json files.<br />No functional changes.</p><br><h2><img src="https://cdn.serilum.com/description/nameplate/historic-changelog.svg" alt="Historic changelog"></h2><p>The complete changelog with detailed information about previous versions can be found on my website:<br>&nbsp;&gt; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank" rel="nofollow noopener">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<h2><img src="https://cdn.serilum.com/description/nameplate/whats-new.svg" alt="What's new"></h2><p>Changed the mod's Java package to com.serilum.*.<br />Updated mod information in the mods.toml and fabric.mod.json files.<br />No functional changes.</p><br><h2><img src="https://cdn.serilum.com/description/nameplate/historic-changelog.svg" alt="Historic changelog"></h2><p>The complete changelog with detailed information about previous versions can be found on my website:<br>&nbsp;&gt; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank" rel="nofollow noopener">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<h2><img src="https://cdn.serilum.com/description/nameplate/whats-new.svg" alt="What's new"></h2><p>Changed the mod's Java package to com.serilum.*.<br />Updated mod information in the mods.toml and fabric.mod.json files.<br />No functional changes.</p><br><h2><img src="https://cdn.serilum.com/description/nameplate/historic-changelog.svg" alt="Historic changelog"></h2><p>The complete changelog with detailed information about previous versions can be found on my website:<br>&nbsp;&gt; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank" rel="nofollow noopener">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<h2><img src="https://cdn.serilum.com/description/nameplate/whats-new.svg" alt="What's new"></h2><p>Updated mod to Minecraft version 26.3.</p><br><h2><img src="https://cdn.serilum.com/description/nameplate/historic-changelog.svg" alt="Historic changelog"></h2><p>The complete changelog with detailed information about previous versions can be found on my website:<br>&nbsp;&gt; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank" rel="nofollow noopener">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<h2><img src="https://cdn.serilum.com/description/nameplate/whats-new.svg" alt="What's new"></h2><p>Updated mod to Minecraft version 26.2.</p><br><h2><img src="https://cdn.serilum.com/description/nameplate/historic-changelog.svg" alt="Historic changelog"></h2><p>The complete changelog with detailed information about previous versions can be found on my website:<br>&nbsp;&gt; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank" rel="nofollow noopener">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 26.1.2.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 26.1.1.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>(26.1) Fixed the mod not loading correctly.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 26.1.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.11.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.10.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>(1.21.9 Forge) Fixed incorrect remnant files included in the mod jar.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.9.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.8.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.7.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.6.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.5.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>(Forge & Neo) Removed redundant event register annotations.<br />- This fixes events loading when they shouldn't.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>(Forge & Neo) Removed redundant event register annotations.<br />- This fixes events loading when they shouldn't.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>(Forge & Neo) Removed redundant event register annotations.<br />- This fixes events loading when they shouldn't.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.4.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.3.<br />- Once again compatible with Fabric, Forge and NeoForge!</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.2.<br />- Without Forge for now, support will be added once they update.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.1.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Added Bundle support. The mod can now be enabled/disabled via bundle configs.<br />(NeoForge) Fixed the in-game config screen not working correctly.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Added Bundle support. The mod can now be enabled/disabled via bundle configs.<br />(NeoForge) Fixed the in-game config screen not working correctly.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Added Bundle support. The mod can now be enabled/disabled via bundle configs.<br />(NeoForge) Fixed the in-game config screen not working correctly.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>Updated mod to Minecraft version 1.21.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
<p>(1.20.4 Neo) Fixed an incorrect mixin file reference.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>
Difficulty Lock Icon
Download Difficulty Lock
Select game version
Select platform