BanReport
BanReport
Summary
All this plugin does is force unwanted players to leave, either by banning them, kicking them, temporary banning them or IP-banning them. If you like, you can allow them to return by unbanning them.
This plugin will also report all the locations and notes an administrator has given on a banned player, and allows quick access to teleport to these locations to investigate (if required).
List of commands:
/ban [player] {-s} [reason] - Bans player [player] permanently from the server, and gives them a nice message each time they try to log in. If -s is added, the ban will be silent to the other players currently online. If a player is already banned, it will add additional information with [reason].
/tempban [player] {-s} [time] [reason] - Temporarily bans a player from the game. Time is given with an integer, followed by a unit, which is either s, m, h, or d. For example, /tempban nublet 30m spamming. Will ban player nublet for 30 minutes.
/kick [player] {-s} [reason] - kicks a player from the game with a friendly reason. The player will be able to instantly rejoin.
/banip [player] OR [IP] - blocks any account with a specific IP address from joining the game. /banip nublet will ban nublet, and ban his ip, whilst /banip 53.67.32.11 will block any accounts that try to sign in with 53.67.32.11 as their IP.
/warn [player] [reason] - warns a player about their actions, and saves it to the database.
/warnings {player} - if there is no argument for player, the person who executed the command's warnings will be shown. Otherwise it will be {player}'s
/baninfo [player] - Recalls information about banned player [player]. Will list the reason they were banned for, and any additional notes that have been added.
/addinfo [player] [information] - Adds additional information regarding a banned player. This will log the coordinates of where you are standing as well.
/removeinfo [player] [id] - removes an 'additional info' entry from the database. Useful if you make a mistake.
/bantp [player] [id] - Teleports you to the location of where the additional information with id [id] was made. Useful for investigations.
/banexport - Exports the database to banned-players.txt.
/banimport - Imports from banned-players.txt to the database.
Permissions:
Here are the permission nodes:
banreport.ban - required for /ban, /tempban
banreport.baninfo - required for /baninfo /addinfo, /removeinfo
banreport.bantp
banreport.io - required for /banexport and /banimport
banreport.kick
banreport.unban
banreport.banip
banreport.warn
banreport.warnings.own - is the player allowed to view their own warnings?
banreport.warnings.viewall - allow people to see any player's warnings.
Setting up:
BanReport runs off a MySQL database, and the query for the required table are here: http://dev.bukkit.org/paste/4259/
You can also use SQLite by setting useMySQL to false in the config.yml file.
Final notes:
- To update from 1.x to 2.x, see this page: http://dev.bukkit.org/server-mods/banreport/pages/updating-from-1-x-to-2-x/
-
View User Profile
-
Send Message
Posted Jan 29, 2012Pretty cool. One question: are you VERY busy/will you continue working on it? I don't want to change to another ban-plugin after a month or so.
2. Will it be hard to make an online ban list? I mean is there a mess in the database or it's simple?
-
View User Profile
-
Send Message
Posted Jan 29, 2012@Adrenalineq
Please download the latest version (2.21), and post all the errors!
I have a slight suspicion that your ban database has not been updated, but I am not sure :)
-
View User Profile
-
Send Message
Posted Jan 27, 2012@mahoutsukaii: Oh... Sorry to hear that. I was really liking it, but without the aforementioned features, it won't work for me. I require more security on our server. It's a nice plugin, though. And I wish you the best of luck. Bye.
-
View User Profile
-
Send Message
Posted Jan 25, 2012mahoutsukaii, yup can you fix all errors :D i like this plugin :P
-
View User Profile
-
Send Message
Posted Jan 24, 2012@Chrispm84
I abandoned it while i went on my vacation. I am back now, but I am not adding new features, only fixing the old ones and providing latest recommended build support.
Note, 98% of the time this will work also with the development builds.
-
View User Profile
-
Send Message
Posted Jan 3, 2012Wow... Another abandoned ban plugin... Great... :/
-
View User Profile
-
Send Message
Posted Jan 1, 2012Just a couple of things:
Thanks!
-
View User Profile
-
Send Message
Posted Dec 31, 2011It appears that the warnings are stored despite the error. But I don't think they are shown to the one being warned.
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Wytry
If you started with one of the older versions you need to update your tables. Export your data, drop all tables and create new ones using the new MySQL queries: http://dev.bukkit.org/paste/4259/ Then import your data. This is because he changed the tables in the newer versions and they do not update automatically. After I did this it worked fine again.
-
View User Profile
-
Send Message
Posted Dec 29, 2011man man, the support for this plugin blows..
-
View User Profile
-
Send Message
Posted Dec 27, 2011There's a null error when I try to use the /warn command.
09:43:42 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'warn' in plugin BanReport v2.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NullPointerException at jadon.mahoutsukaii.plugins.banreport.BanReport.warnPlayer(BanReport.java:263) at jadon.mahoutsukaii.plugins.banreport.BanReport.onCommand(BanReport.java:181) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
-
View User Profile
-
Send Message
Posted Dec 26, 2011BanReport have MAJOR security flaw in how it works. I just contacted creator.
I dont think anyone use /banip now. (or even before).. if u have clever griefers.
edit: just use /banip from essentials or one that comes naturally with CB..
-
View User Profile
-
Send Message
Posted Dec 22, 2011I've got a problem with BanReport 2.2 with mysql. I can ban users but they still can login. I cant use ./baninfo too.
./baninfo
Other:
-
View User Profile
-
Send Message
Posted Dec 21, 2011hey,
having some serious banreport errors making me insane example:
/warn AnarkhiA test gives this in console
16:30:04 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'warn' in plugin BanReport v2.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NullPointerException at jadon.mahoutsukaii.plugins.banreport.BanReport.warnPlayer(BanReport.java:263) at jadon.mahoutsukaii.plugins.banreport.BanReport.onCommand(BanReport.java:181) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
Also /ban name works, but they can reconnect giving another error.
any idea whats going on?
using latest version, ofcourse followed your 1.x to 2.x update thing.
-
View User Profile
-
Send Message
Posted Dec 18, 2011@mahoutsukaii: Oh, yeah. I kinda guessed that when I saw that it wasn't trying to create them, but only looking for them. I manually created the tables, but I used the 4 queries from the pastie link. I assume the fourth one is going to be used in the future? BTW, your plugin seems to be working amicably! Please don't stop supporting it like everyone else... :D
Edit: And when I was talking about linking accounts with IPs, I meant something like this. A player logs in as Player1, I tell him to change his name. He logs back in with the name of Merlin. I use a command, such as /br alts Merlin. That command prints out a list of alternate accounts link to Merlin through IP checks. So, for Merlin, it would look something like this, since he's only used one alt and one IP:
Alternate Accounts/IPs for Merlin:
Accounts: Player1
IPs 115.25.113.209
You would have to use a new table and pull IPs everytime someone logs in, but I've seen it done. I would probably make this with the ability to disable it in the config, for people who don't have dedicated servers. The I/O accessing could cause issue for some people, but shouldn't for most. Then you'd just need the plugin to be able to read IPs from that table and pull the account name when it finds one IP used by two accounts. I hope you understand what I meant... I suck at explaining shit, lol. Thanks.
-
View User Profile
-
Send Message
Posted Dec 18, 2011@Chrispm84
At the moment, the MySQL tables are not added automatically. You'll have to execute these commands yourself.
-
View User Profile
-
Send Message
Posted Dec 17, 2011@mahoutsukaii: Hmm... Strange. I still can't get BanReport to create it's tables. Here's the error: http://pastebin.com/r29E272x.
-
View User Profile
-
Send Message
Posted Dec 17, 2011@mahoutsukaii NICE!!! BTW, it's not creating tables for some reason. I'm gonna try to make the tables myself...
Edit: Or... I could just pay attention when reading older posts and update to 2.2, lol. XD
-
View User Profile
-
Send Message
Posted Dec 17, 2011@Chrispm84
If you ban someone while they are online, then it will store their IP address in a table called 'banhistory'.
IP banning someone blocks all ports by default :D
I will add a command to look up banned players' ips.
-
View User Profile
-
Send Message
Posted Dec 17, 2011Does this this keep a history of IPs used by a single account and link those IPs to alt accounts used by the same person? I'd love to be able to get a list, in-game, of a player's alt accounts. Also, some pricks like to change their port to bypass an IP ban. Does this plugin support wildcards, like this: /banip 7.115.209.31:*, to ban that IP regardless of which port or banning an entire subnet? Just some ideas that I thought would make this plugin the be-all-end-all banning solution for use modest server owners. Thanks!