PlayerJail

A lightweight server-side moderation mod for NeoForge 1.21.1: jail online players for a set time, record the reason, pause sentences while they are offline, and release them automatically or manually. Full description

Keep moderation simple and traceable. PlayerJail gives server staff a compact jail system for handling temporary player sanctions without building a physical cell or relying on manual timers.

Set a shared jail destination with /setjail, then jail an online player for a chosen number of minutes with a reason. The mod records each sentence in the player’s jail history, teleports the player to the configured destination, and automatically releases them when their sentence ends. Sentence time pauses while a jailed player is offline and resumes when they rejoin. Staff can also release a player early, including while that player is offline.

While jailed, players cannot break or place blocks, most commands are blocked ( /msg and /tell are allowed), and their hunger is kept full. The jail destination is stored by dimension and coordinates. If no destination has been configured, the player is marked as jailed but is not teleported.

Commands

Commands require permission level 2 (operator by default).

  • /setjail — Set the jail destination to your current position and dimension.
  • /jail <player> <time_minutes> <reason> — Jail an online player for at least one minute. A reason is required.
  • /unjail <player> [reason] — Release a player early; works for online and offline players. The default reason for an online release is “Early release”.
  • /jailhistory <player> — Display the stored jail history for a player.

Compatibility & details

  • Minecraft: 1.21.1
  • Mod loader: NeoForge (build configured for NeoForge 21.1.231)
  • Mod ID: playerjail
  • Side: Intended for server moderation; install on the server. Client installation is not needed for the described gameplay features.
  • Configuration/data: Jail destination and player records are stored in config/player_jail.json.
  • Optional integration: The code checks for the FTB Ranks rank named Fondateur and prevents that rank from being jailed when the integration is available. FTB Ranks is not declared as a required dependency.

FR

 

Une modération simple et traçable. PlayerJail fournit au staff un système de prison compact pour appliquer des sanctions temporaires, sans devoir construire une cellule physique ni surveiller manuellement un chronomètre.

Définissez le point de prison partagé avec /setjail, puis emprisonnez un joueur connecté pour un nombre de minutes donné en indiquant un motif. Le mod ajoute chaque sanction à l’historique du joueur, le téléporte au point configuré et le libère automatiquement à la fin de sa peine. Le décompte est suspendu lorsque le joueur emprisonné est hors ligne et reprend à sa reconnexion. Le staff peut également le libérer avant la fin, y compris lorsqu’il est hors ligne.

Pendant son emprisonnement, un joueur ne peut ni casser ni poser de blocs, la plupart des commandes sont bloquées (/msg et /tell restent autorisées) et sa faim est maintenue au maximum. Le point de prison est enregistré avec sa dimension et ses coordonnées. Si aucun point n’a été défini, le joueur est bien marqué comme emprisonné, mais n’est pas téléporté.

Commandes

Les commandes nécessitent le niveau de permission 2 (opérateur par défaut).

  • /setjail — Définit le point de prison à votre position et dans votre dimension actuelles.
  • /jail <joueur> <durée_en_minutes> <motif> — Emprisonne un joueur connecté pour au moins une minute. Le motif est obligatoire.
  • /unjail <joueur> [motif] — Libère un joueur avant la fin, qu’il soit connecté ou non. Pour un joueur connecté, le motif par défaut est « Libération anticipée ».
  • /jailhistory <joueur> — Affiche l’historique de prison enregistré pour un joueur.

Compatibilité et informations

  • Minecraft : 1.21.1
  • Chargeur de mods : NeoForge (configuration de compilation pour NeoForge 21.1.231)
  • ID du mod : playerjail
  • Côté : conçu pour la modération serveur ; installez-le sur le serveur. Le client n’a pas besoin du mod pour les fonctionnalités décrites.
  • Données : le point de prison et les dossiers des joueurs sont enregistrés dans config/player_jail.json.
  • Intégration facultative : le code vérifie la présence du rang FTB Ranks nommé Fondateur et empêche l’emprisonnement de ce rang lorsque l’intégration est disponible. FTB Ranks n’est pas déclaré comme dépendance obligatoire.

PlayerJail Team

profile avatar
Owner
  • 2
    Followers
  • 13
    Projects
  • 6.1K
    Downloads
Donate

More from az1_57View all

  • Raritychests project image

    Raritychests

    RarityChests adds 5 tiers of treasure chests to Minecraft 1.21.1 (NeoForge): Copper → Iron → Emerald → Diamond → Netherite. They spawn naturally in the world, glow in the dark, and each one holds a unique loot — no two chests ever contain the same item

    • 365
    • September 12, 2026
  • OniriaEconomy project image

    OniriaEconomy

    OniriaEconomy adds a fully integrated virtual currency system based on OniriaCoins (OCS), with an in-game shop, premium rank handling, NPC rewards, chunk purchases, admin management tools and secure PayPal support.

    • 406
    • September 10, 2026
  • Questline project image

    Questline

    **Questline** is a complete quest system with NPCs, designed for RPG servers, adventure maps and modpacks. Everything is created and managed **in-game through graphical interfaces** — no file editing, no command knowledge required.

    • 926
    • August 24, 2026
  • UnclaimedChunkRegen project image

    UnclaimedChunkRegen

    Automatically regenerates unclaimed chunks on your Minecraft server so your world stays clean and pristine.

    • 135
    • August 24, 2026
  • Raritychests project image

    Raritychests

    RarityChests adds 5 tiers of treasure chests to Minecraft 1.21.1 (NeoForge): Copper → Iron → Emerald → Diamond → Netherite. They spawn naturally in the world, glow in the dark, and each one holds a unique loot — no two chests ever contain the same item

    • 365
    • September 12, 2026
  • OniriaEconomy project image

    OniriaEconomy

    OniriaEconomy adds a fully integrated virtual currency system based on OniriaCoins (OCS), with an in-game shop, premium rank handling, NPC rewards, chunk purchases, admin management tools and secure PayPal support.

    • 406
    • September 10, 2026
  • Questline project image

    Questline

    **Questline** is a complete quest system with NPCs, designed for RPG servers, adventure maps and modpacks. Everything is created and managed **in-game through graphical interfaces** — no file editing, no command knowledge required.

    • 926
    • August 24, 2026
  • UnclaimedChunkRegen project image

    UnclaimedChunkRegen

    Automatically regenerates unclaimed chunks on your Minecraft server so your world stays clean and pristine.

    • 135
    • August 24, 2026