Difficulty Lock
🔒 Sets a difficulty in any world, optionally locked, or force a hardcore mode requirement.
Über diese 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.
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.
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:
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!
Verfügbare Versionen
Difficulty Lock auf dem Server installieren
Server bestellen
Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).
fabric Loader setzen
Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (26.2).
Mod installieren
Öffne den Mod-Browser im Dashboard und suche nach "Difficulty Lock". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.
Kompatibilität
Mod-Loader
Minecraft-Versionen
26.2, 26.1.2, 26.1.1 (+25 weitere)
Server-seitig
✓ ErforderlichEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
Difficulty Lock Server crasht beim Start – was tun?
Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (26.2). Über das Panel kannst du den Loader mit einem Klick wechseln.
Ist Difficulty Lock mit fabric und forge und neoforge und quilt kompatibel?
Difficulty Lock unterstützt offiziell fabric, forge, neoforge, quilt für Minecraft 26.2, 26.1.2, 26.1.1. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.
Server laggt mit Difficulty Lock – wie optimiere ich die Performance?
Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Difficulty Lock den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.
Ähnliche Mods
Modded Server mieten
Installiere Difficulty Lock mit nur einem Klick auf deinem Server.
