← Data packs

ModLocker

by CryngelDust · 2026-06-25 · Data packs

ModLocker preview

ModLocker About this pack 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!

Tool