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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [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.

    This post has been edited 35 times. It was last edited by grandwazir Feb 5, 2012.
    klarnet, PatrickFreed and fromgate like this.
  2.  
  3. Offline

    dirkson

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Happy I could help, and thanks for the fix!
  4. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @grandwazir is not working with 1.3.3, still it sais I have no permissions. Now i get:

    09:41:56 [ADVERTENCIA] [BanHammer] Unable to check in built permissions for someone's weight because they are offline.

    This post has been edited 1 time. It was last edited by Trollkemada Aug 18, 2011.
  5. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is a warning you can safely ignore it. Your permissions are working fine. It is just there to remind people that weight can not be checked for offline players.
  6. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @grandwazir but i cannot ban :S I have -'*' node and OP and i cannot ban (If you'd rather like, we can chat by Gmail, IRC, Xfire, Skype... )
  7. Offline

    KillFce

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    why you say brodcasts actions to all players you mean something like this correct?

    player was banned, by player. reason [griefing]
  8. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Correct.
  9. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Don't know if you know why is not working :S But 1.3.3 is not working for me :S Could you fix it?
  10. Offline

    Xertez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    odd. for some reason my admins with the '*' permissions cannot ban or kick or mute any members. neither can i and im the owner. i end up having to do it from the console
  11. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What permission system are you using?
  12. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am going to have a look at it tonight for you.
  13. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okay, thanks :)
  14. Offline

    Xertez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    aww bloddy hell. permissions is inactive now. nevermind. i need to figure out how to use a built in permissions syste? since Permissions 3.1.6 is dead... and just after i thought i figured it out too...

    This post has been edited 1 time. It was last edited by Xertez Aug 19, 2011.
  15. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is easy to configure. If you have a look at the examples in the main post for configuring permissions you can setup BanHammer so it automatically gives permission to people who are operators.
  16. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have added a permission wildcard to the latest version which will be released shortly. You will just need to give your groups the banhammer.* permission for it to work. Also if you copy what is on the wiki about permissions into your permissions.yml you will be able to ban as an operator regardless.
  17. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am Op and i have banhammer.* permission node, and it is still saying i have no permissions.

    I have double check everythink.

    Now using:
    BanHammer 1.4.1
    Bukkit #1060
    PermissionsEX 1.13

    And with no other plugins loaded (just permissions and BanHammer)
  18. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think you have setup your permissions incorrectly. Post it here and any errors in your server log so I can help you.
  19. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    PermissionsEx config.yml: http://pastebin.com/dbBLpncv
    PermissionsEx permissions.yml http://pastebin.com/HHsByq6E
    Server Log: http://pastebin.com/dMePHPDt

    Just in case you want test it quickly, here is the server itself:

    Server itself (just 9.43Mb): http://www.megaupload.com/?d=KSJWR1T8

    Thanks for trying to solve the issue, if you need whatever data, I'm around :)
  20. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  21. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Still does not work :(

    This is the permissions.yml i used this time: http://pastebin.com/i4fFrmtN

    This post has been edited 1 time. It was last edited by Trollkemada Aug 21, 2011.
  22. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  23. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  24. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Actually looking at it again I know why you have to do that. I'll fix it in the next release.
  25. Offline

    Trollkemada

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    All right, then :D

    Many thanks :D
  26. Offline

    yaitsbilly

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do I have to set up "Bukkit Persistance" ? Ive set up the permissions and everything works fine but nobody can ban only teampban even when im an op.
  27. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If the plugin loads and you can use it - you have set it up right. Have you given weights to your admin groups/users?
  28. Offline

    Acester

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello!
    I am having issues with this plugin and I am not sure why! I am using Permissions 3.1.6, and I am an "admin" and am in the admin group, which has the permission node '*'. If I try to kick or ban or anything, I get "You do not have permission to do that", as do my mods which have the permission nodes:
    banhammer.ban banhammer.check banhammer.history banhammer.kick

    I looked at the server log and I don't see any [WARNING] or [SEVER] tags from banhammer. Help! :p
    If you need anything more, like the log file or my permissions file just let me know. For all I know I could have it set up wrong, lol.
    Thanks.

    edit: I am using build 1060 of bukkit!

    This post has been edited 1 time. It was last edited by Acester Aug 23, 2011.
  29. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You will need to add a weight to your moderators to enable them to ban. Currently they will have a weight of 0 the same as all other players so they won't be able to ban anyone.

    The other issue has been fixed in the latest version (version 1.4.2). You can download it from the main post.
  30. Offline

    Acester

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I did try giving them a weight (medium) and even myself (heavy), but it still says that I don't have permission. :(
  31. Offline

    grandwazir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you using the latest version?
  32. Offline

    Acester

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, 1.4.2

Share This Page