[ADMIN] Votebans v1.26 - Simple votebanning + Permissions [928]

Discussion in 'Inactive/Unsupported Plugins' started by Uhehesh, May 5, 2011.

  1. Offline

    Uhehesh

    Votebans - Simple votebanning
    Version: 1.26.
    Sometimes admin bans are not very useful. So I created this plugin which allows another users to vote against hacker or grifier. After 5 (you can change count in config file) votes, that player will be banned for half an hour (it's changable too).
    Use /voteban <username> to vote against <username>.
    Now you can kick too. /votekick <username>.

    Features
    • Voteban and votekick against anyone.
    • Easy install.
    • Supports configuration. Updated.
    • Percents can be used instead of count values.
    • Permissions supported, but doesn't require it. Updated. Updated again. :)
    Download
    v1.26 (last release) for Bukkit 928
    Permissions nodes
    • votebans.canBan - for users who are able to ban.
    • votebans.canKick - for users who are able to kick. Warning: users can kick if they have votebans.canBan permission node, even if votebans.canKick is disabled! So you shouldn't add both of them.
    • votebans.canNotBeBanned - users in this category can't be banned by other users.
    Changelog

    25.06.2011 - v1.26
    • New permission node - votebans.canKick. Thanks to Craftiii4.
    13.05.2011 - v1.25
    • votebans.canBeBanned changed to votebans.canNotBeBanned. Thanks to Slugslug.
    • If "noBanWhenTwo" if chosen to "true", players can't ban each other when there aren't more people. It is recommended option and it is "true" by default.
    • Delete old config or just add "noBanWhenTwo", my plugin doesn't do it itself. Thanks.
    07.05.2011 - v1.22
    • Terrible percent-mode bug fixed (formula changed).
    06.05.2011 - v1.20
    • Percents can be used now instead of count values.
    • Scary "fu" message on startup when no config is created deleted.
    • Ban messages order is changed now.
    06.05.2011 - v1.15
    • /votekick functionality added.
    06.05.2011 - v1.10
    • Hooked into Permissions plugin!
    Very old (open)

    05.05.2011 - v1.01
    • Now you can't vote against op.
    05.05.2011 - v1.00
    • Initial release of Votebans.
     
  2. Offline

    thecoolwolf

    sounds great! can you add permissions support so people cant ban my mods and admins? :)
     
    Uhehesh and killerrj8 like this.
  3. Offline

    Uhehesh

    Okey, it supports Permissions now!
    It can be buggy but I hope it will work. :)
     
    thecoolwolf likes this.
  4. Offline

    Plague

    changelog has to be at the end
    you should include a "Version: vX.X" in the header of the post
    and to make it readable I suggest making Donaload, Features, etc headers bold
     
  5. Offline

    Uhehesh

    Thanks, done!
     
  6. Offline

    Delois

    Would love a votekick too! I know MCBans has one, but I dont want everything else it has. It just causes too much lag for me.

    Sorry, another request. I see you have a flat number of votes needed to ban someone, is it possible to be % based? My server at prime time has 20 people on, but on its low time we have 3-4 people on. Setting it to a flat number makes it more easy for abuse.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
    Uhehesh likes this.
  7. Offline

    Uhehesh

    Oh... I'm so fast!
    1.20 with percents instead of count values was released a few minutes ago!

    New config tags:
    • usePercents - if true, uses neededPercent and kickNeededPercent, not neededCount and kickNeededCount.
    • neededPercent.
    • kickNeededPercent.
    Incorrect: neededPercent: 50%
    Correct: neededPercent: 50
     
  8. Offline

    Delois

    Thank you, will likely use soon :D
     
  9. Offline

    Kahl

    I'd use this if the voteban lasted for an hour or so. Enough to get the person off for a while but not perm ban them.
     
  10. Offline

    Uhehesh

    You can set values in configuration file.
    banTime: 1800
    1800 is time in milliseconds of ban. Change go 3600 and ban time will be 1 hour.

    Epic bug fixed.
    Please reload if you use (or want to use) percents.

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

    Slugslug

    I've not installed this yet - but your permissions seem wrong as I would want
    defaults~ votebans.canBeBanned

    and mods inheret defaults in permissions file..

    maybe best having a votebans.canNotBeBanned
     
  12. Offline

    Uhehesh

    Updated! :)
     
  13. Offline

    sukosevato

    Download link isn't working :O Could you put it up again?
     
  14. Offline

    Uhehesh

    It works correctly for me.
     
  15. Offline

    Uhehesh

    Updated to 803.
     
  16. Offline

    Woogleball

    Will you make it for 818? :D
     
    rapamiti likes this.
  17. Offline

    rapamiti

    hi, is 818 compatible ?
     
  18. Offline

    Uhehesh

    818 compatible since today!
     
  19. Offline

    TheGurw

    EXACTLY what I was looking for! [diamond] to you sir, and +1 internets!
     
  20. Offline

    Uhehesh

    Ok I hope it will work. :D
     
  21. Offline

    amiantos

    Hey, is there a chance you could add logging? Maybe just the vote time, who voted, and who was kicked/banned in a flat file? It would be great, just to make sure people aren't using the system to grief others.
     
  22. Offline

    Craftiii4

    Would you be able to add diffrent permissions for vote kick? So people can start vote kicks, but not bans?
     
  23. Offline

    Uhehesh

    Um... ok, I will add it soon.
    So there will be in new version:
    • logging
    • different permissions
    • some bugfixes
    I haven't started to work yet because I was too busy but I will start soon (maybe next week).
     
  24. Offline

    Uhehesh

    Updated!
    Logging isn't added yet, but it will be added in next update.
    New permission node added. You shouldn't add it if you wand to make people able to kick (and not to ban only) - it is done automatically, so users with votebans.canBan node can kick too.
    Also compatible with #928 now.
     
  25. Offline

    DieselFaka

    my server shut down! connection reset!
     
  26. Offline

    Uhehesh

    Oh I need to update it. :)
     
  27. Offline

    AS1LV3RN1NJA

    Any news on update?
     
  28. Offline

    Uhehesh

    I am working on another project (not Bukkit), so I haven't much free time. I think I will update it to RB and add some features this week 100%.
     
  29. Offline

    PyPKjE

    Pretty good plugin is only able to be assigned permissions to a group and work only a certain group voteban
     
  30. Offline

    Uhehesh

    The worst thing is that this plugin is inactive now.
    And no one knows will it be active.

    I support over9000homes only now...
     

Share This Page