
Modrinth · Minecraft mod
MContain
A server-side Fabric mod for player containment.
Quick answer
Which MContain release should I use?
MContain 4.0.0 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is MContain required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does MContain 4.0.0 need?
4.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add MContain without breaking your instance.
Built for MContain 4.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 4.0.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 4.0.0. It opens that exact file at the source.
About this project
What does MContain add?
What is it
Two tools in one:
Gate - prevents unverified players from leaving the spawn area using teleport containment, and forces them into adventure mode so they can't break or place anything while inside.
Jail - locks a player into an exploration-proof cell, forced into adventure mode, with an optional sentence length.
Who is it for
Server operators for small public (or private, if your friends are naughty) non whitelisted servers (it works as an ingame whitelist ofsorts).
How does it work
The mod can automatically teleport unverified/jailed players back to the set location and set them to adventure mode so they can't cause any damage.
And release them back into survival once they are verified/served their sentence duration
Additional Info
Command // Description
/mcontain gate [radius] // Enable gate at world spawn (default radius 16)
/mcontain gate disable // Disable the gate
/mcontain gate verify [player] // Verify a player (or self) to leave spawn
/mcontain gate unverify [player] // Revoke a player's verification
/mcontain jail save <name> [radius] // Save a jail cell at your position
/mcontain jail <name> <player> [minutes] // Send a player to a jail cell
/mcontain unjail <player> // Release a player from jail
/mcontain jail list // List jail cells and current sentences
/mcontain jail clear // Release everyone and remove all cells
/mcontain reload // Reload config/mcontain.json
/mcontain status // Show gate and jail state
- All teleportaion radii are configurable during setup
Project description from Modrinth.
Pick your setup
MContain by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
MContain versions and loaders
4.0.0
mcontain-v4-26.3.jar
16 Sept 2026
4.0.0
mcontain-v4-26.2.jar
6 Sept 2026
4.0.0
mcontain-v4-26.1.2.jar
6 Sept 2026
4.0.0
mcontain-v4-26.1.1.jar
6 Sept 2026
4.0.0
mcontain-v4-26.1.jar
6 Sept 2026
Looking for an older file? The official Modrinth project page is in Resources.