Death Ban after x Deaths

Discussion in 'Archived: Plugin Requests' started by Tealk, Feb 18, 2012.

  1. Offline

    Tealk

    Im looking for a plugin which ban players after x deaths.
     
  2. Offline

    Steffion

    is it a temp ban or a perm ban?
     
  3. Offline

    Iyeru

    That would be quite the annoying server. Unless of course the succubus kills you, then I'd understand for immersion purposes.
     
  4. Offline

    JJJollyjim

    I'll do it, but temp or permanent?
    Should take ~1 week, maybe more, maybe less.
    Do you have a name for it?
     
  5. Offline

    remcodemah

    I can give it a try.

    Functions i can add:
    – auto permanent ban after X deaths
    – vip users ban after Y deaths (permission)
    – config file (see below)
    – ban bypass (permission)
    – set counter (permission) (set death counter to Z)

    Example Permissions:
    – Deathban.vip
    – Deathban.bypass
    – Deathban.admin (set command)

    Config file:
    Ban after: X
    Vip ban after: Y

    I can start tomorow morning if you want

    by my its now 2.04 AM (netherlands) . Late program work for big company :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  6. Offline

    JJJollyjim

    I've started. Will hopefully upload a beta in a few hours
     
  7. Offline

    JJJollyjim

    Was going well, but there is a big bug in the SQLite lib that I was using, causing the server to crash whenever someone died -.-

    I'm converting over to a flat file system now.

    OK, It's going OKish...

    Here's an incomplete version.

    Currently:
    • Bans after 5 deaths
    • Notifies players of remaining deaths
    • Saves data between plugin reloads
    • Causes confusing, unnecessary console-spam. Sorry :(
    Does not:
    • Use permissions
    • Have a config
    • Store the data in the right place
    • Allow setting counters
    Please keep in mind that this is one of my first plugins, and will probably break as soon as it loads :).
    It works for me on my test server, but I haven't been able to test with >1 player.
    Please give feedback!
    Thanks.
    Whoops, nearly forgot the download: Click Here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016

Share This Page