SwornJail

SwornJail

Description

SwornJail adds a single region-defined jail for your server. It was created because our server needed a balance between the levels of functionality of existing jail plugins. Where other jail plugins might mess with the permission groups of your players, SwornJail instead blocks commands and teleports users back to jail when they try to escape. The plugin teleports players into jail when jailed and to a configurable position when unjailed.

SwornJail was produced for the server MineSworn. Check out my other plugins here

Features

  • Single jail that is defined by a region which inmates cannot escape
  • Optionally, inmates cannot use commands in jail and can be muted. Commands can be whitelisted
  • Command for inmates to check their jail reason and remaining jail time.
  • Jail list is stored in flat-file
  • Can jail both online and offline players (auto-complete is supported for online players)
  • Jail can be in any of your worlds
  • Jail time and reason can be modified while inmate is serving their sentence
  • Inmates must be online to serve their sentence.
  • Blocks players from dropping or picking up items while in jail.
  • Smaller in size than similar jail plugins.

Usage

Commands and Permissions

Whitelisting Commands

Jail time can be written as any non-negative number and supports the suffixes d/h/m for days/hours/minutes respectively. For example, to jail someone for an hour you can simply enter their jailtime as 1h. If no suffix is supplied the time will default to minutes.

Setting up jail

To set up jail just use /jailset and follow the instructions. The points will be set at wherever the position of your feet are. Use /jailset cancel at any time to cancel setting up the jail.

The image below shows that you would need to stand in two opposite corners of a 3d region when setting up the jail. Everything within the shape enclosed by those two points is part of the jail region. In order for your players to move around and for the jail to function correctly you must set this up right.

jail region

Changelog

The full changelog can be found here.

Version 2.3

  • Recompile for 1.4.2 dev builds
  • Added some debugging lines that can be enabled in config.

Version 2.2

  • AFK players should no longer have their time count down if set not to in the config.
  • Added configurable option for how often jail saves.

Version 2.1

  • Removed permission for /jailhelp.
  • Fixed bug where players who have been unjailed will stay in jail after /jailreload or server restarts.

Version 2.0

  • Completely rewrote plugin backend... again :D due to too many problems with last build.
  • Changed how jail is saved and loaded, split the jail part of the config file into its own file. Added compatibility for loading older configs and inmate lists into this new version.
  • Added lang file to modify the message for every jail-related message in game.
  • Jailreload command is back!
  • Added config options for block protection, and whether inmates can pickup or drop items.
  • Lots of bugfixes.

GitHub

Check out my other plugins including a cool MidiRadio player here!

Visit the server where SwornJail started and t7seven7t still plays on!
MineSworn


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files