Police Plugin

Discussion in 'Plugin Requests' started by BananaBiscuits, Aug 14, 2021.

  1. Offline

    BananaBiscuits

    Plugin category: misc

    Minecraft version: 1.17.1

    Suggested name: WesternPolice

    What I want: I'd like a plugin that allows certain players to be police (or "lawmen" as this is for a wild west themed server) where you can create jails (created with worldguard regions) and the police can tie someone up by right clicking them with "rope" (diamond shovel with custom model data of 1234567).
    Criminals who are tied up with rope cant move and cant attack, and the police can lead them around, like the way leads work in vanilla minecraft.
    Police can right click a tied up player again with the rope to untie them.
    The police then click a sign outside of a jail cell that puts the tied up criminal in jail for a certain amount of time (configurable)
    If a criminal escapes jail (leaves region when he is jailed) a message displays in chat saying:
    "%player% has escaped from [jailname]"

    Ideas for commands:
    /wp create jail [regionname] [jailname]
    /wp remove jail [jailname]
    /wp createcell [jailname] [cellname] - this command creates a point from where you are standing when you execute the command that the criminal will be teleported to when you click the sign outside the jailcell, so you want to be standing inside the cell when you use this command.
    /wp removecell [jailname] [cellname]
    /wp createsign [jailname] [cellname] - you must be looking at a sign to use this command, the sign will read the name of the cell you associated it with and when you click it it will send the tied up criminal you have to that cell.
    /wp removesign - must look at the sign you want to remove when using this command
    /wp exitpoint [jailname] - sets the point criminals are teleported to when they are released from jail
    /wp rope - gives you "rope" (diamond shovel with custom model data of 1234567)
    /wp release [playername] - releases a jailed player from jail, only sheriffs can do this (players with the wp.sherrif permission)


    Ideas for permissions:
    wp.jail - gives you permission to all commands
    wp.police - gives permission to use rope and the /wp rope command
    wp.sherrif - gives permission to use rope and the /wp rope command as well as the /wp release command

    When I'd like it by: as soon as possible
     
    Last edited: Aug 17, 2021
  2. Offline

    BananaBiscuits

  3. Why does the plugin need to use worldguard regions?
     
  4. Offline

    BananaBiscuits

    sorry i forgot to say in the post, i want it so that if a jailed player leaves the region and escapes a message is sent to chat saying: "%player% has escaped from [jailname]!"
    i edited the original post and added that
     
  5. Offline

    BananaBiscuits

  6. Offline

    BananaBiscuits

  7. Offline

    Jess3

    Hey i'm trying it but can't guarantee if it will work or if i'm able to finish it, i'll keep you updated
     
  8. Offline

    BananaBiscuits

    awesome thank you!
     
  9. Offline

    Dai_Kunai

    I can attempt this as well; shouldn't be too bad if @Jess3 doesn't mind.
     

Share This Page