Old School Jail

Old School Jail

A jail mod for fabric servers, just like the good old days!

by
379 Downloads
fabricquiltgame-mechanicsmanagementutility
Rent Server with this Mod

About this Mod

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 time to 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
  • /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 - requires oldschooljail.jail permission)

  • /jail list - List all currently jailed players with details (admin only - requires oldschooljail.jail permission)

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 players
  • oldschooljail.release - Allows releasing players
  • oldschooljail.set - Allows setting jail locations
  • oldschooljail.delete - Allows deleting jails
  • oldschooljail.immune - Makes a player immune to being jailed
  • oldschooljail.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 time
  • block_teleportation - Auto-teleport back if player escapes >50 blocks
  • block_block_breaking - Prevent breaking blocks
  • block_block_placing - Prevent placing blocks
  • block_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 release
  • jail_expired - Message when sentence expires

All settings include helpful comments in the config file explaining what they do!

Installation

  1. Download the oldschooljail-[version].jar for your MC version
  2. Place the JAR file in your server's mods folder
  3. Ensure you have Fabric API installed
  4. (Optional) Install a permissions plugin like LuckPerms for advanced permission control
  5. (Recommended) Install Essential Commands for full oldschool experience
  6. 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

Available Versions

Old School Jail 1.1.0release
MC 26.1, 26.1.1, 26.1.2fabric, quilt
May 23, 2026
Old School Jail 1.0.5release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric, quilt
May 23, 2026
Old School Jail 1.0.4release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10fabric, quilt
October 9, 2025
Old School Jail 1.0.3release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric
October 3, 2025
Old School Jail 1.0.2release
MC 1.21.8fabric
October 2, 2025

How to Install Old School Jail on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Old School Jail". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+10 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Old School Jail server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Old School Jail compatible with fabric and quilt?

Old School Jail officially supports fabric, quilt for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Old School Jail – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Old School Jail consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Old School Jail with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+3 more