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/
@Adrenalineq
Should be fixed for 2.2!
forgot a ',' and a '`' in the creation >.>
Works flawlessly on MySQL. Does everything a server owner wants.
I used to use UltraBan until it has all the other crap I don't need.
Bukkit: 1602 BanReport: 2.1 SQLITE
Could you add something to show recent bans? xP
@Adrenalineq
Updated! wait for 2.1, and tell me if the errors persist.
Recommend Build out, can you update ? :)
Banreport 2.0 dont work at Bukkit 1572
Bukkit: #1572 BanReport: 1.81
I use this on our server is a boss plugin keep the good work up!! :D
@Adrenalineq
idk where you got version 1.9 from, but try update to 2.0 and see if you get the same error!
2011-12-07 11:24:02 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'tempban' in plugin BanReport v1.9 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:372) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) 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:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NullPointerException at jadon.mahoutsukaii.plugins.banreport.MySQLDatabase.checkBanList(MySQLDatabase.java:188) at jadon.mahoutsukaii.plugins.banreport.BanReport.tempBan(BanReport.java:440) at jadon.mahoutsukaii.plugins.banreport.BanReport.onCommand(BanReport.java:161) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
Would it be possible to make a PHP page which pulls the banned users Name|Date|Reason|IP from the database and puts it on a page like KiwiAdmin did? I'm aware that it didn't list IP's, but that would be a nice feature.
@Jdon278
Yes I got rid of that feature because of the database changes. Also, it didn't look very nice.
@iN94
I haven't tested it with 1550 explicitly, but it worked in the 14 so I am assuming so.
when you run /banexport html it does not work all it comes up is /banexport
Does this work with the latest CB 1550 ?
Anyway, great plugin! :D
Very nice plugin.
@pryor94
to unban someone's IP you type '/unban IP'. For example: /unban 127.0.0.1
The autoban is just the IP ban. If someone logs in with that IP, it will ban their username.
@mahoutsukaii I switched over to sql everything was going fine intill i couldent unban someones ip. What is autoban? and how do i remove it.
@QuantumBaldEagle
Are the names in the database? Are you using mysql or SQLite?