Solved Ban on death

Discussion in 'Plugin Requests' started by Black Jacks, Mar 17, 2016.

  1. Can anyone make a plugin so if you die you get temp banned for 1 hour please? been looking everywhere and cant seem to find it.
     
  2. Out of interest, is this for a hardcore-style server?

    In addition, this is how you could go about doing this:

    Detect when a user dies with a hook
    Get the user SteamID
    Assign them a permission such as "banned"
    Set a 1 hour timer
    Kick them
    When a player joins, reject the connection if they have this permission
    Remove the permission after the timer has ended
     
  3. Hi, I have no idea how to do any of this :) sorry lol

    Would it be easier to just add a respawn timer? is there one of those around already?
     
  4. You are not going to have many players if they get banned for 1 hr every time they die
     
  5. Thanks for the input, not what I was asking though mate.
     
  6. It might not what you are asking but its the truth think if you joined a server you fall and die or a wolf or bear kills you or another player then you get banned you try to rejoin it says you are banned do you think you will ever rejoin that server again I know I would not
     
  7. Thanks for the input, not what I was asking though mate.
     
  8. Maybe if you explain why you want a plugin that does this then it will help us all to understand
     
  9. I dont need to do that, I just said I want one that does this, if you have nothing useful to say other than shitposting then please just leave my thread alone.
     
  10. Well I did just make it but now as you are so rude and won't answer a simple question I won't reply back
     
  11. I'm sure you did.
     
  12. I don't doubt he did, @Resistance is like the goto guy for plugin help and fixes lol.
    One can only assume the OP is running some sort of survival server, I made this exact thing for a survival gamemode.
    Why don't you just post it? You are always fixing shit, bout time you released something don't you think? :p
     
  13. I code many other things on other sites so can't give my time supporting plugins on here as well. The help I give for now is enough if and when I do get time in the future I might post some plugins
     
  14. I didnt want to appear rude, I'v been looking for over a week and I'v seen too many people mocking me instead of helping me, it's more like eroding my patience, I apologize if this guy is the real deal.
     
  15. You should not be rude to someone who is only asking a question if you answered it then I would of pmed you about the plugin that I started and I was close to finishing the coding. I have never asked for money for the work I do here and might never in the future.
     
  16. Understood, sorry, I came from the reddit so I was a bit salty, it won't happen again, I don't expect you to help, but if you ever release on in the future I'll keep my eye out for it.

    Its for a survival server yes, for just a few friends and myself, nothing serious, we just wanted to test it out for when they add mutants back in.
     
  17. I'll post one tonight
     
  18. Thank you very much :)
     
  19. Glad the manner is solved, but would like to let you know, alot of devs on here are really friendly especially resistance and k1llyou, but as I know from experience many devs like to know what they are making the code for, this can help to add the correct features and not have the mod fall short of requirements.

    any way I hope K1llyou mod works for you.