Modrinth · Fabric, Forge, NeoForge, Quilt

Difficulty Lock on your Minecraft server

Difficulty Lock runs on Minecraft servers with Fabric or Forge or NeoForge or Quilt. Order your server, set the loader in the panel and install the mod with one click in the mod browser.

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

Downloads
7.2M
Author
Serilum
Loader
Fabric, Forge, NeoForge, Quilt
Minecraft
1.16.5 – 26.3
Updated
–

Setup

Install Difficulty Lock on your server

The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.

  1. 01

    Configure

    4 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.

  2. 02

    Set the loader

    In the panel, set the server software to Fabric or Forge or NeoForge or Quilt and choose the matching Minecraft version, for example 26.3.

  3. 03

    Install the mod

    Search the mod browser for “Difficulty Lock” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.

  4. 04

    Connect

    Difficulty Lock is optional on the client. Players connect using the server address from the panel.

On the server
Required
On the client
Optional
Loader
Fabric, Forge, NeoForge, Quilt
Minecraft
26.3, 26.2, 26.1.2 +26 more
License
LicenseRef-All-Rights-Reserved

The panel

Install mods, find errors.

Real screenshots from the Mado panel. Both come with every Minecraft server.

Mod browser

Modrinth and CurseForge, right in the panel.

The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

Browser in the Mado panel with search, a CurseForge or Modrinth source switch and install buttons.

AI crash analysis

When a mod crashes, the analyzer reads the log.

Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Optimization page in the Mado panel with the AI Log Analyzer enabled and a “Server Crashed” notice with an “Analyze Now” button.

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

Difficulty Lock · Modrinth
Original description by the project author

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:

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.

forcedDifficulty  default "Hard"
The difficulty that is set in any world. Disabled leaves the difficulty as it is.

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!


FAQ

Difficulty Lock questions

Question not listed? Ask our team.

Difficulty Lock server crashes on startup – what to do?

Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.

Which loader does Difficulty Lock run on?

According to Modrinth, Difficulty Lock supports Fabric, Forge, NeoForge, Quilt for Minecraft 26.3, 26.2, 26.1.2. Forge and Fabric files are not interchangeable: pick one loader for the server and clients.

How much RAM does a server with Difficulty Lock need?

As guidance, 3–4 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.

Ready for your server with Difficulty Lock?

4 GB of RAM from €8.00 per month. 35% off your first month with MADO35.

Order server