Mineuniverse
Data Packs
ModLocker

ModLocker

DATA PACK
This datapack blocks gamemodes for all players.
by CryngelDust
Download Claim this project
49 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Miscellaneous Utility
Advertisement Remove ads with Premium →

ModLocker

About this datapack:

This data pack allows you to "lock" the gamemode for all players on the server. Perfect for adventure maps, mini-games, or any server where you need full control over player permissions!

README

Becoming an exception:

To exclude yourself from the gamemode lock (e.g. as an admin), run:

/function gamemode:admin_tag

Locking a game mode:

/function gamemode:survival (Survival | default)

/function gamemode:adventure (Adventure)

/function gamemode:spectator (Spectator)

/function gamemode:creative (Creative)

Note:

If you find any bugs, please report them in the "#🪲report-bugs" channel on our Discord server using the "ModLocker" tag!

ModLocker v1.0.zip
MC 1.21, 1.21.8, 1.21.5, 1.21.4, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21.2, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2
Release 2026-06-25 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
1.21.8 – 26.2
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 26.2 All data packs

More from CryngelDust

Advertisement Remove ads with Premium →

You Might Also Like