Jail

Send players to jail

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

5/5, 26 likes
  1. Yes, thanks :)

    Pm me your kits and jail data files so I can test
     
  2. k1lly0u updated Jail with a new update entry:

    3.0.6

     
  3. Here is the version of the Warp System.
    Im not able to test it as I have some issues where My gpu which is not compatible with Rust or something like that.. bcs if I put my old gpu it works.

    So what I did is
    - Block(warp back, warp to, warp random) if in the player is a prisoner.

    Could anyone test it before I post an update?
     

    Attached Files:

  4. Thanks @PaiN, I can test it out tonight if no one else gets back to you prior
     
  5. k1lly0u updated Jail with a new update entry:

    3.0.61


    [DOUBLEPOST=1458285212][/DOUBLEPOST]@PaiN , works a treat :)
     
  6. Is there a way to make it where people can kill inmates but not each other
     
  7. Hmmm seems that I can't send players to jail over rcon

    [Error] Failed to call hook 'ccmdjailSend' on plugin 'Jail v3.0.61' (InvalidCastException: Cannot cast from source type to destination type.)

    Do I still have to use any special version of Zonemanager or something like this?
    [DOUBLEPOST=1458512600][/DOUBLEPOST]Oh ok seems only to happen when i use the steam id instead of the name

    ingame and over the rcon tool
     
    Last edited by a moderator: Mar 20, 2016
  8. Attached Files:

    • Jail.cs
      File size:
      39.1 KB
      Views:
      24
  9. Oh sorry I forgot to answer, works perfect - Thank you!

    New question:
    Is there a way to set people free if they are offline?
    My jail is full and they are not coming back ^^
     
  10. Autorelease from jail FIX. fixed time set for timers. so now it's work
     

    Attached Files:

    • Jail.cs
      File size:
      39.1 KB
      Views:
      20
  11. The reason there is no auto release is because people are dropped outside the jail with all their gear. If they are afk when they are released and someone comes along and kills them they will no doubt winge about it.
    @Stefan Red, I'll add a command to purge inmates who have been in there too long
     
  12. So that's reason you make a mistackes in a code? just for note: u can do it configurable.
     
  13. Don't start shit with me mate, its a bit rich that you criticize me for a mistake when you can't even spell the word mistake correctly. Since you don't seem to know how a normal person would act in this scenario, let me break it down for you
    • Normal person (aka not some dick like yourself) - Hey k1lly0u, I found some errors in your code, here they are...
    • Me (aka k1lly0u) - Thanks for pointing them out to me, I will fix them asap
    So just to clarify, jumping onto people's plugin thread acting all high and mighty because you found a error, when you have released no content yourself, makes you look like a dickhead. When you write as many public plugins (for free by the way) as I have there are bound to be errors. Currently my interest in your opinion is at about 0 so take your 'fix' and move along
     
  14. Sorry man, i don't speak english! I'm russian, and i hate english. I could use a GOOGLE translator, but it confuses not only the pronoun (yours and mine them, my) and the denial of places.... So I write as I can. Anyway, I never checked the spell words. nevermind. Simply put, your script has an error. There are also errors in zonemanager. Based on this, I decided to rewrite the script.
    Your script can not be used as it is, it is absolutely impossible. Now live with it.
     
  15. The only error you found was one that would only affect the plugin if it was supposed to auto release the prisoners, which as previously stated was not my intention to do so. Therefore it does not actually cause any issues. So yes, kudos to you for finding a mistake, however your need to turn it into some plugin breaking drama is entirely unnecessary
     
  16. Getting this error

    [04/09/2016 17:01:32] [Oxide] 17:01 [Error] Failed to call hook 'cmdJail' on plugin 'Jail v3.0.61' (ArgumentException: An element with the same key already exists in the dictionary.)
     
  17. Having an issue freeing a player with a space in the name just crashes the server is there anyway around this

    I used /jail send chicken in progress

    then tried to use /jail free chicken in progress

    But the plugin responded with how to use the jail free command.
     
    Last edited by a moderator: Apr 26, 2016
  18. If a name has spaces you need to put it in quotation marks or just use a partial name
     
  19. Ok thanks I will try that and see if that works, if I just send someone to jail without a specified time are they in there forever until the free command is used
     
  20. Timer with /jail send works??

    Is it in seconds, minutes??

    You didn't precise that in overview @k1lly0u :)