Jail

Send players to jail

Total Downloads: 6,968 - First Release: Jan 29, 2015 - Last Update: Oct 29, 2017

5/5, 26 likes
  1. Have new jail and zonemanager, followed setup instructions, when jailing someone it places them right OUTSIDE the perimeter of the jail. Thoughts?
     
  2. k1lly0u updated Jail with a new update entry:

    3.0.1


    [DOUBLEPOST=1455430179][/DOUBLEPOST]
    I can only think of 2 things, 1) you accidently placed a spawnpoint outside the zone? or 2) your zone is not big enough for the jail
     
  3. Which version of ZoneManager should i take now? The updated one, or this in the thread?
     
  4. latest update
     
  5. oke before i gonne test this plugin again ;-)

    what about /jail free , where do the players spawn ? can you make a jailfree spawn point or are the tp back where they were before they were arrested always ?

    and can the jail name be the same as the spawnfile ?
    - /spawns_new
    - /spawns_add
    - /spawns_save cell1

    Register your jail using '/jail add <JailName> <ZoneID> <Spawnfile>'
    ex.
    - /jail zone 100 (id 22222222)
    - /jail add cell1 22222222 cell1
    - /jail add cell2 22222222 cell2
    - /jail add cell3 22222222 cell3

    Grtzz bitterbal
     
  6. Please add the possibility to free a player offline :O
     
  7. /jail send <playername> <optional:Time> just set time SeBL4d before you sent him to jail
     
  8. Players with either respawn where they were previously or just outside the jail zone depending on what you set in the config
    Jail name, spawn name and zone name can be the same if that's what you want
    You don't need to add cells, each spawn point you set acts as a individual cell
    Make sure you use the zoneid and not the name, find it typing /zone_list, if you use the /jail zone command it will be the same as the zone name

    If the time expires when they are in there they will be freed when they wake up
     
  9. Please... for a beginner... what is now the correct order for the jail plugin?

    - i load jail, spawn and zonemanager to the server.
    - serverrestart
    - i type in /jail zone 15

    and now? how to set spawnfiles in or out jail? please, someone explain and help me!
     
  10. And if i jail less timer?
     
  11. Now encountering the following error, make spawnfile, create jail zone. When i /zone_list it shows jail name and id as Jail_0. I type /jail add jail Jail_0 cellspawn and it says invalid zone id: Jail_0 even though that is definitely the zone id2
     
  12. Hello, is it possible to set 4 cell on 1 jail? I mean 4 spawnpoint in 1 build jail because i've created 1 jail with 4 cells but when i try to incarcerate 2 players i ve the message " The are no free cells available at prison" ???
     
    Last edited by a moderator: Feb 14, 2016
  13. just add the spawn points in the different cells :) - by the wayy when jailed /jail doesnt catch the other args.....jailed myself to test it working and couldnt use /jail free :p
    [DOUBLEPOST=1455467284][/DOUBLEPOST]and it doesnt seem to like steamid's

    Code:
    [Oxide] 4:27 PM [Error] Failed to call hook 'ccmdJailFree' on plugin 'Jail v3.0.1' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 4:27 PM [Debug]   at Oxide.Plugins.Jail.ccmdJailFree (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Jail.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  14. It's done i ve build 4 cell ( 2 fundation X 2 Fundation) i ve set 4 spawns point on each cell but i cant incacerate more than 1 player.
     
  15. is the zone set to cover all 4 cells?
     
  16. Yes there's a radius of 20
    [DOUBLEPOST=1455468492][/DOUBLEPOST]This is my config file.
     

    Attached Files:

  17. what about your spawn file?
     
  18. I'm thinking it's ok.
     

    Attached Files:

  19. How can i get a spawnfile? please help!

    See post above
    [DOUBLEPOST=1455471919][/DOUBLEPOST]Now i got this error:

    Code:
    6:18 PM [Error] Failed to call hook 'cmdChatZone' on plugin 'ZoneManager v2.3.2' (ArgumentNullException: Argument cannot be null.
    Parameter name: source)
    6:18 PM [Debug]   at System.Linq.Check.SourceAndPredicate (System.Object source, System.Object predicate) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.FirstOrDefault[Zone] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneManager.GetZoneByID (System.String zoneId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneManager.ShowZone (.BasePlayer player, System.String zoneId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneManager.cmdChatZone (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    Set a zone, set a spawnfile.
     
  20. I'm very confused :O
    Could someone please create a detailed setup guide? :/ what I need to do step by step.

    this step:
    Code:
    - Create a spawnfile for your jail.
    how I do it? is a file that I need to create inside server folder?
    I just want the basics, how to make the plugin work and send some bad people to prison

    Thanks.