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



    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.

    • 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.
    • Bukkit Persistence needs to be configured in bukkit.yml
    • If using MySQL for Persistence, you need a MySQL database

    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.

    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


    Plugin has most likely not loaded at all. This sometimes happens if you update the plugin and do a server reload instead of a restart. Look in your server.log for some clues.

    @MasterMeNL I get the same error but it isn't my error. It is an error in PermmisionsBukkit instead.
  3. Offline


    PermissionsBukkit has quite some bugs here, and lacks some functions I think.
    Definitely liked the old permissions more.
    I also found some sort of bug.
    If a players name is test12345, you could use /kick test griefing or something like that.
    But the plugin will say in the chat:
    "Player test12345 left the game"
    "Player test has been kicked"
    "Reason: griefing"
    Also, you think you could hook into mChat to also display prefixes and things like that?

  4. Offline


    I did restart the whole server when I added it.
  5. Offline


    I'll need the error from the server log then to help you further.
  6. Offline


    How do u make it say the ban hammer has spoken
  7. Offline


    2011-08-04 22:19:59 [INFO] [BanHammer] Using permissions system: Permissions v2.7.2
    2011-08-04 22:19:59 [INFO] [BanHammer] Loaded 0 banned name(s) into memory
    2011-08-04 22:19:59 [INFO] [BanHammer] BanHammer v1.2.3 is enabled!
    This is the only BanHammer related info printed to my server.log.
  8. Offline


    I'm having the exact same issue on the same server build - banning doesn't work at all as it doesn't recognize the player names. There are no error messages at all.
  9. Offline


    This sounds odd. Try disabling all other plugins and just enable BanHammer and see if it works correctly then. Also do all commands appear not to work, or just /ban and /kick
    Try exactly the same thing I suggested to phondeux and see if that works.
  10. Offline


    Could you make msg on ban and kick totally customizable? So i can translate that :))

    Thanks for the plugin, i have not tried yet, but soon, looks great.
  11. Offline


    Ouch! I just saw 'Multiple language support.' But... how can I enable it? Plugin didn't create files on his directory.
  12. Offline


    Thanks! Do not worry about where to put it - I'll add your translation to the next release.
  13. Offline


    Wops, i was just deleting my plugins cause i just found how to do that, i just put that in place on my .jar file :-P
    Thanks anyway ^^

    The mesagges showed to banned people are not translated D:

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


    They should be - I'll have a look at this on Sunday.
  15. Offline


    Also, i have downloaded it so many times, and in /v BanHammer still say "version 1.2.3" is that right?
  16. Offline


    No - should be version 1.3.1 - are you sure you are using the correct download link?
  17. Offline


  18. Offline


    Can you make the broadcasting of "Player ... kicked reason" and same for ban? I've been searching for a plug-in that doesn't broadcast a message like that every time I ban or kick. Or for just some groups, so only like admins can see the broadcast. :D
  19. Offline


  20. Offline


    That is the right link but it was not redirecting correctly to the latest version. It has now been fixed. Download again and you will get 1.3.1. There also appears to be a bug with Chrome in that it will download old versions of the plugin for no reason at all - even when using the correct link. Using wget or another browser works fine.

    I don't quite understand what you mean. You want to be able to choose who receives the messages when you kick and ban?

    I'll add it to the list of known issues.
  21. Offline


    Ahm I meant that it would broadcast to a few players, like admins only. Or people with like banhammer.notify.

    Essentials always broadcast a message to everyone when ever I kick and ban someone, wich I don't want.
    Let's say I do /ban Bannedplayer griefing. Then it'll just say Bannedplayer left the game. For normal players, but for OP's:

    Kiipa banned Bannedplayer. Reason: griefing.

    If you can do that I will... do something big
  22. Offline


    Trying to ban someone with -f

    06:25:16 [WARNING] [BanHammer] Unable to check in built permissions for Agentsmith2011's weight because they are offline.
    06:25:16 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ban' in plugin BanHammer v1.3.2
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
    at ru.tehkode.permissions.compat.PermissionHandler.permission(
    at ru.tehkode.permissions.compat.PermissionHandler.has(
    at name.richardson.james.banhammer.commands.BanHammerCommandManager.getPlayerWeight(
    at name.richardson.james.banhammer.commands.BanHammerCommandManager.isPlayerValidTarget(
    at name.richardson.james.banhammer.commands.BanHammerCommandManager.banPlayer(
    at name.richardson.james.banhammer.commands.BanHammerCommandManager.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 12 more

    In a likely related problem, I can't seem to give out the permissions to actually use any of banhammer's command. I hand out the banhammer.ban node, and yet no one can use it.

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



    I'm now using 1.3.2 and, if I try to kick/ban someone it tell me that i don't have permissios. I have -'*' node and OP.
    The start seems right:

    18:35:14 [INFO] [BanHammer] External permissions system found (Permissions v2.7.7)
    18:35:14 [INFO] [BanHammer] Cargados 0 nombre(s) baneado(s) a memoria
    18:35:14 [INFO] [BanHammer] BanHammer v1.3.2 is enabled!

    I'm ussing #1060 and PermissionsEX 1.13, if you need more info just ask ^^
  24. Offline


    @dirkson @Trollkemada Thanks for reporting this issue. I don't test against PermissionsEX, it's compatibility wrapper behaves in a slightly different way to the one I test against.

    This issue is fixed with the latest version of BanHammer (1.3.3). Download it to fix the problem.
  25. Offline


    Happy I could help, and thanks for the fix!
  26. Offline


    @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.
  27. Offline


    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.
  28. Offline


    @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... )
  29. Offline


    why you say brodcasts actions to all players you mean something like this correct?

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


  31. Offline


    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?

Share This Page