Old School Jail
No reviews yet
A jail mod for fabric servers, just like the good old days!
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Old School Jail Mod
A classic jail mod for Minecraft Fabric servers - just like the good old days!
Features
- Jail Players: Jail players with customizable time limits and reasons
- Jail Management: Set multiple jail locations and delete them as needed
- Permissions System: Full integration with Fabric Permissions API (works with LuckPerms and other permission mods)
- Smart Restrictions: Jailed players cannot:
- Break or place blocks
- Interact with blocks (buttons, levers, etc.)
- Use commands (except
/jail timeto check their sentence) - Teleport or escape (automatic teleport back to jail)
- Configurable: Extensive config file for customization
- Data Persistence: All jails and jailed players are saved and restored on server restart
- Auto-Release: Players are automatically released when their sentence expires
- Original Location Tracking: Players are teleported back to their original location upon release (configurable)
- Logout/Login Handling: Players remain jailed across logout/login and are auto-released if sentence expired offline
- Multiple Jails: Create multiple jails and choose which one to send players to
- Essential Commands Compatible: Fully compatible with Essential Commands - the recommended companion mod
Commands
Main Commands
-
/jail <player> <time> <reason>- Jail a player in the first available jail- Time is based on config setting (default: minutes)
- Example:
/jail Steve 30 Griefing the spawn
-
/jail <player> <jail_name> <time> <reason>- Jail a player in a specific jail- Example:
/jail Steve spawn 30 Being annoying
- Example:
-
/jail release <player>- Release a player from jail early (teleports back to original location if enabled in config) -
/jail time- Check your own remaining jail time (available to jailed players) -
/jail time <player>- Check any player's jail time (admin only - requiresoldschooljail.jailpermission) -
/jail list- List all currently jailed players with details (admin only - requiresoldschooljail.jailpermission)
Admin Commands
/jail set <jail_name>- Set a jail at your current location/jail set <jail_name> <x> <y> <z>- Set a jail at specific coordinates/jail delete <jail_name>- Delete a jail (automatically releases all prisoners)
Permissions
The mod uses the Fabric Permissions API and supports any permissions plugin that implements it (LuckPerms, etc.)
Permission Nodes
oldschooljail.jail- Allows jailing playersoldschooljail.release- Allows releasing playersoldschooljail.set- Allows setting jail locationsoldschooljail.delete- Allows deleting jailsoldschooljail.immune- Makes a player immune to being jailedoldschooljail.time- Allows using/jail time(granted to all by default)oldschooljail.jail- Also allows using/jail time <player>to check other players' jail time
Note: If no permissions plugin is installed, the mod falls back to OP level 2 for admin commands.
Configuration
The config file is located at config/oldschooljail.toml and is automatically generated on first run with helpful comments.
Config Options
The TOML file includes detailed comments for each option. Here's what you can configure:
Time Settings:
input_unit- Time unit for commands (SECONDS, MINUTES, or HOURS)max_sentence_seconds- Maximum sentence length in seconds
Restrictions:
block_commands- Block all commands except /jail timeblock_teleportation- Auto-teleport back if player escapes >50 blocksblock_block_breaking- Prevent breaking blocksblock_block_placing- Prevent placing blocksblock_interaction- Prevent interacting with blocks
Release Settings:
teleport_back_on_release- Teleport players back to original location when released (if false, players must walk out manually)
Messages:
release- Message on manual releasejail_expired- Message when sentence expires
All settings include helpful comments in the config file explaining what they do!
Installation
- Download the oldschooljail-[version].jar for your MC version
- Place the JAR file in your server's
modsfolder - Ensure you have Fabric API installed
- (Optional) Install a permissions plugin like LuckPerms for advanced permission control
- (Recommended) Install Essential Commands for full oldschool experience
- Start your server
Compatibility
- Minecraft Version: 1.21.2-1.21.11
- Mod Loader: Fabric
- Required: Fabric API
- Recommended: LuckPerms or other Fabric Permissions API compatible plugin
- AFK Compatibility: Fully compatible with Essential Commands - the recommended companion mod
License
This project is licensed under the MIT License
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources