Dimension Locker

Dimension Locker

lets you disable any dimension (Compatible with other mods, Nether & End by default). Exceptions can be granted through custom items.

by
671 Downloads
fabricforgeneoforgequiltgame-mechanicsmanagementutility
Rent Server with this Mod

Screenshots

player-getting-rejected-end-pov
cant-enter-ender-chest-feedback

About this Mod

Dimension Locker


Description

This mod lets you disable any dimension (Compatible with other mods). Exceptions can be granted through custom items to let players enter locked dimension. It introduces new commands, a gamerule, and custom data components to enhance the player interactions with the permits.

Features

  1. Locked portals

    Whenever any entity is about to be teleported (by a portal) to a locked dimension, it would being pushed instead, also get a feedback message with the dimension's name.

    player-getting-rejected-nether

    player-getting-rejected-end-pov


  2. Compatibility

    This mod is available in

    • Forge
    • NeoForge
    • Fabric
    • Quilt

    Works out of the box with any other mod that adds dimensions, however you still need some language compatibility.
    you will need a resource pack to add a language key,
    dimension.<mod_id>.<dimension_name>

    in the case of the nether dimension the mod has "dimension.minecraft.the_nether": "The Nether",


  3. Data Components

    Here are a couple of Data Components added by the mod that are recommended to use all together, but can be used separately if desired.

    • dimension:
      whenever an entity has a item with the dimension data component, no matter if the dimension is trying to enter is locked, it will enter as long as the component's dimension matches the one trying to enter.

      Example:
      /give @s minecraft:ender_eye[dimension_locker:dimension="minecraft:the_end"]

    • cant_enter_ender_chest:

      Doesn't let the item inside the ender chest, nor any item containing it (shulker boxes, bundles, etc).
      cant-enter-ender-chest-feedback

      Example: /give @s minecraft:ender_eye[dimension_locker:cant_enter_ender_chest={}]

    • un_despawnable:

      Quite simple, prevents the item from despawning after the standard 5 minutes, can be paired with the damage_resistant data component to make undestructible items.

      Example: /give @s minecraft:ender_eye[dimension_locker:un_despawnable={}]


  4. Commands

    You don't have to reboot your server to lock a dimension, an admin can use one of these commands, and it the dimension would be locked/unlocked right away.

    • Lock Command: /dimension lock <dimension>
    • Unlock Command: /dimension unlock <dimension>
    • Check Command: /dimension isLocked <dimension>
      Operators can check the locked status of a dimension.

  5. New Gamerule

    operatorCanEnterLockedDimension: A gamerule that determines whether operators can bypass locked dimensions. Set to true by default.


Available Versions

Dimension Locker 1.1.0release
MC 1.21.3, 1.21.4neoforge
January 11, 2025
Dimension Locker 1.1.0release
MC 1.21.3, 1.21.4forge
January 11, 2025
Dimension Locker 1.1.0 Fabricrelease
MC 1.21.3fabric, quilt
January 11, 2025
End Locked 1.0.0+1.19.2release
MC 1.19.2quilt
May 6, 2024

How to Install Dimension Locker on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.4).

3

Install Mod

Open the mod browser in the dashboard and search for "Dimension Locker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforgequilt

Minecraft Versions

1.21.4, 1.21.3, 1.19.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Dimension Locker server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.4). You can switch loaders with one click in the panel.

Is Dimension Locker compatible with fabric and forge and neoforge and quilt?

Dimension Locker officially supports fabric, forge, neoforge, quilt for Minecraft 1.21.4, 1.21.3, 1.19.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Dimension Locker – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Dimension Locker consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Dimension Locker with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.41.21.31.19.2