BanHammer
Kicks, bans and records.
Video Tutorials
BanHammer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The above website does contain software which has not been directly approved by dev.bukkit staff and as such require the following disclaimer: Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
And can I put the database on mysql? And if so can i make 2 servers with ban hammer use the same database?
Permission is screwed up
People with not able to make my moderators do anything on banhammer with normal permissions, while admins with '*' permission can do all. Did you change the permissions or something?
Using essentials groupmanager to handle permission
- banhammer.ban
- banhammer.ban.*
- banhammer.kick
- banhammer.pardon.own
- banhammer.check
- banhammer.history
- banhammer.history.*
- banhammer.history.own
- banhammer.history.others
- banhammer.recent
- banhammer.reload
In 2.0.0 Ban works for mods while in 2.0.1 nothing works.
edit:
Also there is no notification on kicks
Ban reason message is not showing to the banned person.
EDIT2:
Figured it out, turns out there is a config error in the permissions config as a clean perm config file fixed it
So not an error on this plugin.
Still no kick notification though
And the banned player get wrong message on banned but get the right message when trying to join again.
Does anybody have a webpage to display the bans? I'm willing to pay if anybody wants to make me one. I know its fairly simple but I'm not a coder.
@carlgo11
https://github.com/grandwazir/BanHammer/wiki/Permissions
Hi is there any permissions for ban hammer?
The new version which will be approved shortly will once again check for banned players if a server is running in offline mode. This is still a bad idea though read https://github.com/grandwazir/BanHammer/wiki/Offline-Mode for the reasons why.
Please fix the error for Cracked servers!!!!!
Was there an good reason to change the event who triggers the ban checks on log in?
That's not a Bukkit bug. That's what bukkit does, only if OnlineMode is true the events are begin called, because the events are called after the check if the user is premium. The only way to fix this is using the PlayerLoginEvent or the PlayerJoinEvent. Or, create a plugin to call the event even if OnlineMode is false.
Or ask bukki if they cuold fix the "bug". :-)
@MarioG1
Well the fix is to get them to buy it and turn online mode on. Either than or use the old version of BanHammer.
Yes because some of my friends haven't bought Minecraft ^^
@MarioG1
Yes, since to improve login times BanHammer using the AsyncPlayerPreLoginEvent which for some reason is not called if you are running the server in offline mode. I'll add a warning in the next version on startup about this.
Is there a specific reason why you can not run in online mode?
@grandwazir Yes it is is this a problem?
@MarioG1
It is not looking up your name at all in the database when you are joining. This leads me to think that the listener is not receiving the event. Is your server in offline mode?
Here is the complete log with debugging true:
http://pastebin.com/sACiqg4v
@MarioG1
There is no point telling me it is broken without providing me with a server log with debugging on. I can't help you unless you do that.
Its complete broken for me if i ban someone he is kicked with PLAYERLISTENER.BAN-KICK-MESSAGE. If he tries to join again its working fine but it i export the bannes form the MySQL server into the banned-players.txt he can't join anymore (banned now).
I get no errors at all.
@grandwazir
It works now, but when I ban my self I can join back and it says i'm banned. I see no errors tho.
@javoris767
Basically what you need to do is find where the duplicate PlayerRecord is and delete it.,
Are you using MySQL or SQLite3? If the latter can you email me your database and I will fix it for you.