Jail/Prison Plugin

Discussion in 'Plugin Requests' started by Blooby, Feb 12, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    Blooby

    Plugin category: Jail Plugin

    Minecraft version: 1.12

    Suggested name: JailPlugin

    What I want: I'd like a plugin that allows a player, with permissions, to jail other players (like a cop). The cop will be able to buy a pair of handcuffs that allow themselves to detain the other player. The only way they can handcuff a player is if they right click the player for an entire seconds (It shoud say handcuffing in the title area and a countdown in the subtitle area). When handcuffed, the player is dragged by the other player and cannot interact nor type commands (besides talk in local). The only way the player can get out is if the other player types /uncuff or the officer OR the player handcuffed is killed. Also, the officer should be able to right click on things with the handcuffs to right click for the player (like right clicking a boat and the other player will sit in it, but cannot get out unless right clicked again by the handcuffs to be dragged once more by the officer).

    The cop should be able to search a player, to search one, you will need to type /search. When you type that command, it will tell you to right click on a player. If the player is not sneaking, you will not be able to search them.

    The jail part, the player will need to bring the suspect to the prison I have built. To put this player in jail, the officer will need to bring the suspect to an area designated by world guard. Once the player is brought into that region, they will automatically be put in jail in any of the cells. The only way the player will be transferred to the jail is if they're currently in handcuffs. Once they're brought into this jail region, the officer will have a GUI pop up that gives all the times the player can be arrested for. Before a time is assigned, he will click on one or multiple times depending on how many crimes the player as committed. Say he clicks one for murder (15 minutes) and one open carry (5 minutes), the suspect will receive a total of 20 minutes in a cell. The times time left in jail will be shown in their action bar. Also, the cop will not be able to exit out of the GUI till a time is selected.

    Every time a player is successfully jailed, the cop will receive 200 dollars. Only the cop who handcuffed a player can receive it.

    When in jail, all the players items will be transferred to a chest somewhere within the prison. This will be set up through signs. The cell name will decide which chest the items are transferred too, if this chest is opened by ANYONE, a player will be able to take the items from these chests. The sign will look like this:
    1. [Prison]
    1. Cell <cell name or number>
    2. Prisoner name
    3. Time left <days/times/seconds>
    To set up once of these signs, all you have to do is put in the [Prison] on the top line and the cell name or number to link it to a specific player. When the player are in jail, they will be put in orange leather armor, im also thinking about maybe weakness? But enough strength to still cause damage.. I'm not sure.

    To create a jail, you will need to select the entire region and create the name of your jail. The only reason I need a way to select a region is because I want the plugin to support escaping jail. Once escaped from the prison, or exited the region, it will be broadcasted to all the players with permission that that certain player has escaped.

    If a player fights in prison, punches anyone, there time will be increased by 20 seconds each hit.

    Once a player has done there time, they will be teleported outside of the jail.

    Ideas for commands:
    • /handcuff (to receive a pair of handcuffs and to even use the handcuff function) handcuff.use
    • /uncuff (to release a player) handcuff.use
    • /prison create <name> (allows to set the worldguard region for the prison) OP only
    • /prison setspawn (sets where the player teleports after sentence) OP only
    • /prison setcell <name or number> (sets a cell location) OP only
    • Making the chests that allow jailed player's inventory should be OP only
    • /prison unjail <username> <reason> (This will force a player out of jail, also broadcasting this to all officers online) prison.unjail
    • /prison extendtime <player> <time (d/m/s)> <reason> (this will also be broadcasted to all officers>
    • /search (allows a player to search a sneaking player) prison.search

    Ideas for permissions: p
    • prison.broadcast (receive any broadcasts within the plugin)
    • prison.jail (to be able to drag someone on the worldguard region and successfully arrest them as well as to access the GUI)

    When I'd like it by: Well, release is in 2 months, by then would be cool. If you need more detail, please feel free to ask me.
     
  2. Offline

    Blooby

  3. Offline

    Blooby

    Bump, really need this!
     
  4. When you "/handcuff" does the person who runs this command, get a custom item or a in-game minecraft item?
     
Thread Status:
Not open for further replies.

Share This Page