Inactive [ADMN] BanHammer v2.0.2 Bans, kicks and records [1.3.1-R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by grandwazir, Jun 26, 2011.

  1. Offline

    grandwazir

    [​IMG]

    BanHammer is a plugin that allows adminstrators and other trusted users to ban and kick players. The basic idea is to have a lightweight banning solution that includes all the features you help manage your server. Additionally the plugin stores all bans using the Bukkit persistance system, using permissions for all commands and is simple to configure.

    Features
    • Simple and easy to configure.
    • Supports permenant as well as temporary bans.
    • Custom configurable limits to prevent moderators banning for too long.
    • Ban offline and online players.
    • Player name matching when kicking or banning players (no need to type every letter)
    • Can broadcast notifications to other players.
    • Review previous bans of a player, even after they have expired.
    • Review recent bans to see what has been happening while you have been away.
    • Banned names are cached for quick logins.
    • Reload the banned name cache on command (useful if you alter the database outside the plugin)
    • Uses Bukkit persistence for data storage; you choose what is best for you.
    • Supports built in Bukkit permissions, operators have all commands by default.
    • Command help system, simply type /bh.
    Requirements
    • Bukkit Persistence needs to be configured in bukkit.yml
    • If using MySQL for Persistence, you need a MySQL database
    Installation

    Ensure you are using the latest recommended build.

    Before installing, you need to make sure you are running at least the latest recommended build for Bukkit. Support is only given for problems when using a recommended build. This does not mean that the plugin will not work on other versions of Bukkit, the likelihood is it will, but it is not supported.

    Getting BanHammer

    The best way to install BanHammer is to use the symbolic link to the latest version. This link always points to the latest version of BanHammer, so is safe to use in scripts or update plugins. Additionally you can to use the RSS feed provided by BukkitDev as this also includes a version changelog.

    Alternatively older versions are available as well, however they are not supported. If you are forced to use an older version for whatever reason, please let me know why by opening a issue on GitHub.

    Configuration
    1. Configure permissions if necessary.
    2. Optionally configure your ban limits (config.yml) and assign them to moderators.
    All documentation for BanHammer is available on the GitHub wiki, including example usage.

    Reporting issues

    If you encounter any problems using BanHammer, and you believe it is due to a bug in BanHammer, report the issue on the issue tracker. Please do not report issues in this thread as I will not see them as quickly as if you place them on the tracker.
     
    klarnet, PatrickFreed and fromgate like this.
  2. Offline

    JoneKone

    What Am I doing wrong?
     
  3. Offline

    papand13

    Check you configuration, maybe it is set to maximum-temporary-ban: 1w. That would explain why it says 7 days. :p

    Also make sure you use /ban <name>
    And not /ban <name> t:10000w
    Since 10000 weeks would seem as a permanent ban too. :)

    Regards,
    Papand13
     
  4. Offline

    jinS

    ..no command?
     
  5. Offline

    lFrancisl

    Great Plugin , Using it for my server!
     
  6. Offline

    blasterweb

    It doesn't show the messages correctly. It just says:
    <Player> is banned.
    Without reason and time, and possibly who did the ban?
     
  7. Offline

    Col1107

    Great plugin. Really excellent! :D. I use this on my server.

    Better than mcbans!

    one adjustment add in the config a Default ban reason. But other than that FANTASTIC PLUGIN!

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

    tysonzero

    can i set permissions so that certain ranks can ban for different amounts of time? also will you be adding any sort of jail command that only allows people to use certain permissions maybe specified in the config.yml or in the permissions.yml from one of the permissions plugins? because that would be really useful because then i can jail people and throw eggs at them and abuse my /spawn skeleton 1000 ability :p and also it would allow me to discuss there appeal / ban ingame by jailing them in a holding cell or something of the sort. if jailing support is added i will almost certainly use this plugin for my server! :)

    oh and also does it say who the banner was when you check someones history and such? if not then thats something that could be added :)

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

    The Wizard

    Now if you have access to permanent ban you can bypass the temp ban limit, I think it will be better if you make a separate node for bypassing the temp ban limit.
    I want my admins to be able to ban 1w max, but also to have access to perm ban the cheaters. For me perm ban is only for cheaters and the max ban for other problems is 1w. I don't want admins to ban 2w for minor problems.
     
  10. Offline

    zecheesy

    @grandwazir
    Can you make it so that /pardon is /unban because one of my players got put on the banned-player.txt list and they can't get off using ingame commands. /pardon doesnt work because banhammer iddnt ban them
     
  11. Offline

    jaboy

    can you rename the unban command to /unban (or use both) ?!
    because my admins are to stupid to use /pardon ?!

    Thanks :D
     
  12. Offline

    Piket95

    my Banhammer Plugin create no BanHammer Folder an when i use /pl then is the BanHammer name Red can you help me??
     
  13. Offline

    Boost

    Why I can't use pardon from console, says you do not have permission to use this command?
     
  14. Offline

    DaveDee

    Are you going to release ne version? We have a lot of suggestions and questions....
     
  15. Offline

    Carve

    banhammer.notify is not working.
     
  16. Offline

    grandwazir

    I am hoping to release a new version this week - time allowing.
     
  17. Offline

    P_S

    Hi, how to decode the time from MySQL (1327496223497) with php or something else ? Thank you ...
     
  18. Offline

    The Wizard

    You have to divide it by 1000 and then convert unix timestamp to days, horus, etc.
     
  19. Offline

    P_S

    ok i got it thx
     
  20. Offline

    jasvecht

    Hey there, put your console logs in http://pastebin.com and post the link in here please :)


    Urgh, your Dev.Bukkit page is horribly outdated mate :p Awesome to hear you will be continuing maintenance of this plugin. I am switching my server too it.


    Also, would it perhaps be possible to have a list of "unbannable users" to replace the weighted system ?
    ./banprotect Notch
    for example :) Then removable by someone with the correct node using ./banunprotect or something like that..
     
  21. Offline

    grandwazir

    I am not terribly fond of BukkitDev; it as yet to make my life easier - it does need updating though. You can see progress on the new build by looking at the relevant branch on GitHub. I wouldn't bother trying to compile as it won't at the moment.

    The idea of an immunity list is something I am considering adding while I am updating the plugin. I've already added banhammer.pardon.own to the development build.
     
  22. Offline

    xDeeKay

    Just like to say, LOVE this plugin right now :D
    But would you be able to add a system to prevent a lower ranked player from banning a higher ranked player.
    For example I have the ranks: Guest, Member, Trusted, Moderator, Operator, Administrator, and Owner, and I want Mods to only be able to ban a lower rank, the same with Ops, and Admins. Maybe add permission based numbers, the lower the number then the higher the rank, for example: banhammer.banrank.1 banhammer.banrank.2 etc etc. This would be a great help!
     
  23. Offline

    grandwazir

    Thanks for the kind comments! There used to be a weight system exactly as you are describing but it was removed when the new Permission system came in and it was clear that checking permission nodes for offline players would not be possible. It could come back but it would be a really messy hack to work around this, I'd rather wait until Bukkit supports attaching Permissions to offline players.

    On a plus note, the new version is released with configurable ban limits - check it out!
     
  24. Offline

    javoris767

    Few suggestions.
    An IP ban command - /ipban name or xx.xx.xx.x
    Broadcast message - %TargetName% has been banned/kicked by %BannerName% for %reason% optional to enable this feature in the config.
     
  25. Offline

    The Wizard

    I'm testing the plugin, I don't have permission to view player history. I get this message: You are not allowed to v/bh kiew ...
    You should fix this typo :)
    I like pardon own permission.

    Edit: history doesn't work even with banhammer.*
    I'm using bpermissions. No errors. Just the warning message in game that I don't have permission to use view others ban history.


    Edit2: looking through the source code I see that you need banhammer.pardon.others to view others ban history. Please fix.
     
  26. Offline

    raviiii

    Amazing plugin love it! But when I temporarily ban someone it says "Player raviiii banned "E.g." for "E.g." but when I do a permanent ban it just says "e.g is banned." I love the "Player raviiii banned..." thing and I was wondering how to make that appear for a permanent ban.

    Thanks :)
     
  27. Offline

    jaboy

    im using this with commandbook .... and when i ban ... its commandbook that bans them ... not bh ...
    can you please please please fix that ?
     
  28. Offline

    grandwazir

    Use the CommandBook customiser and remove the ban commands from the package. Alternatively use /bh ban instead.

    This has been fixed in version 1.7.1.
     
  29. Offline

    jaboy

    i cant import bans :(

    when i try it says #0 out of 0 ban(s) were imported" ... but there are like 50 names in my banned-players.txt

    edit: when i export bans and reimport them .... it works ?! .... when i replace the names with the ones form my banned txt .... i doesn't

    can you make so you can type /bh import "reason" so everyone imported will get that reason ?!

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

    ghorien001

    So, I have the latest craftbukkit 1.1-r3, banhammer have I 1.7.1 but when I write permissions for moderators, I got this message too: You are not allowed to v/bh kiew ...
     
  31. Offline

    grandwazir

    This has been added in v.1.7.2.

    raviiii

    I am not entirely sure what you mean. Can you explain again?
     
    jaboy likes this.

Share This Page