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!
To exclude yourself from the gamemode lock (e.g. as an admin), run:
/function gamemode:admin_tag
/function gamemode:survival (Survival | default)
/function gamemode:adventure (Adventure)
/function gamemode:spectator (Spectator)
/function gamemode:creative (Creative)
If you find any bugs, please report them in the "#🪲report-bugs" channel on our Discord server using the "ModLocker" tag!