Lock Dimensions

A simple datapack that allows server admins to enable or disable the nether or the end
lock dimensions config.png

lock dimensions config.png

2026-06-29_15.50.46.png

2026-06-29_15.50.46.png

2026-06-29_15.51.03.png

2026-06-29_15.51.03.png

2026-06-29_15.51.17.png

2026-06-29_15.51.17.png

2026-06-29_15.52.32.png

2026-06-29_15.52.32.png

Description

With this datapack, server operators can use the simple configuration command to enable or disable the nether or the end separately.

When the nether is disabled, the gamerule allow_entering_nether_using_portals will be set to false, preventing anyone from traveling there, and giving a message that says the nether is disabled if someone touches a portal block. Any player already in the nether, when it gets disabled, or who gets there through some way other than a nether portal, will be sent to their spawn point (unless their spawn point is in the nether) and shown a message that says the nether is disabled.

Unlike nether portals, end portals can't be disabled simply with a gamerule, when a player enters the end portal while the end is disabled, they will be sent to their spawn point and shown a message that says the end is disabled.

Currently has no support for disabling dimensions aside from the nether or the end.

To open the configuration, run the command /function lock_dimensions:config with operator permissions.

If you notice any bugs or have constructive feedback, please let me know.

The Lock Dimensions Team

profile avatar
Owner
  • 4
    Projects
  • 42
    Downloads

More from aji56

  • Easier Enchanting project image

    Easier Enchanting

    • 21
    • Data Packs

    Adds recipes and features that make enchanting easier to do

    • 21
    • June 29, 2026
    • Data Packs
    • +1
  • Stacking Items project image

    Stacking Items

    • 16
    • Data Packs

    Allows many item types that don't stack to 64 to stack higher

    • 16
    • June 26, 2026
    • Data Packs
  • Tool Progression project image

    Tool Progression

    • 4
    • Data Packs

    Locks tool recipes behind exploration (requires limited_crafting gamerule to be true)

    • 4
    • June 26, 2026
    • Data Packs
  • Easier Enchanting project image

    Easier Enchanting

    • 21
    • Data Packs

    Adds recipes and features that make enchanting easier to do

    • 21
    • June 29, 2026
    • Data Packs
    • +1
  • Stacking Items project image

    Stacking Items

    • 16
    • Data Packs

    Allows many item types that don't stack to 64 to stack higher

    • 16
    • June 26, 2026
    • Data Packs
  • Tool Progression project image

    Tool Progression

    • 4
    • Data Packs

    Locks tool recipes behind exploration (requires limited_crafting gamerule to be true)

    • 4
    • June 26, 2026
    • Data Packs