BattlePunishments
Please put all bug reports on Github
BattlePunishments
An all around administration system that contains bans, mutes, IP tracking, watchlists, player help commands, and much more.
Intro
An all around minecraft player/admin management system that contains bans, mutes, IP tracking, watchlists, player help commands, and much, much more.
This plugin started out as a personal plugin for my server and has grown into a plugin full of amazing admin tools and cool features to help you run your server and handle player information. This plugin was released because I have experience in running large MineCraft communities and I could not imagine how difficult it would be to run them without these commands.
This plugin contains many features listed below. I am constantly reworking and adding features to the plugin.
What makes this plugin different than CommandBook/Essentials?
Well, that's a good question. I'm glad you asked.... Unlike CommandBook, BattlePunishments stores the data for player information even when the player is not online. BattlePunishments also has IP cross checking and saves every single player in their own data file. BattlePunishments has features that log when a player breaks blocks. We even have a command to allow players to request help from the staff and an admin watchlist. The best part about it, all features are completely configurable! You can chose what you want to use, why, and how you want to use it! Also, I am always looking to add new things to the plugin so any requests that you have may be implemented. The plugin has an API for people to be able to edit the player.yml files if they want to add or change something from and external plugin.
Please note, this plugin's goal is not to replace CommandBook or Essentials in any way. It is made to work along side and give extra abilities. Maybe one day I'll add all the commands from Essentials and CommandBook so that they are obsolete with this plugin but at the moment they are both perfectly good plugins. This plugin has different or improved features. I recommend running it along side CommandBook/Essentials
For Server Owners
When you first load up BattlePunishments, please go to the plugins/BattlePunishments directory and open the config.yml. Your config page should look like this. Edit the configuration to your specifications, and then enter the command "/bpreload" in game and the new config will be reloaded. If you edited the MySQL information, you'll need to restart the server. When you're in game you can type /bp <number> and you will get a list of all the commands. Report any bugs you have and make sure to keep updated with new versions.
For Developers
There isn't much to hook into for this plugin, however I've made it easy for a developer to hook into the BattlePlayer class. If you would like to use BattlePunishments in another plugin (to ban, mute, kick, to check IPs, and more) you can now do so by hooking into the BattlePlayer class.
Example:
BattlePlayer bp = BattlePunishments.createBattlePlayer(string); if(bp.getPlayer() != null && !bp.getPlayer().hasPermission(BattlePerms.KICK)) bp.kickPlayer("Xraying");
Features
- Automated bans
- Automated mutes
- Kick players
- Herochat compatibility
- IP checking/comparing
- Watchlist
- Teleporting to random players
- Server broadcasting tool
- A command for player's to request help in game.
- Strike system
- Command blocker
- Automated messages
- IP Banning
- Command Logging
- Nicknames with TagAPI support
- "Found diamonds" block logging messages
- Player information logging
- Welcome messages for new players
- Lightweight chat format editing ability
- Import bans from a txt file or other ban plugin.
Future Features (In order of priority)
N/A
Registering the Server
Unregistered Users:
- Access to public ban and mute list
- Access to basic information on player/server profiles
Registered Users:
- Access to all information on player/server profiles
- Access to public ban and mute list
- Can register a server
- Can sync information from server to the public lists
- Can post support ticket support tickets
Help
You can ask me questions in real time on irc when I'm on. You can usually find me in #battleplugins, #bukkit, or #bukkitdev in irc.esper.net. I will also answer any Bukkit related questions that may not have to do with BattlePunishments specifically. It is also perfectly fine to come online to chat. If you don't have an IRC client, you can use the in-browser one.
Another location where I can be found would be the battleplugins.net teamspeak. Just enter the IP battleplugins.net and send a PM to "Ducks" .. If I don't reply in either location it would mean I am not at my computer. At that point you should just shoot me a private message.
Converting From Another Plugin?
Check out the guide on how to do conversions HERE.
Links
BattlePlugins Website
Commands and Permissions
Change Log
Java Documentation
CI Server
GitHub
Donate
I code these plugins as a hobby, however every donation helps to keep me motivated. If you like what I'm doing feel free to send me a donation.
@Lexxxxmint
Well, were you able to get it working? I don't know why it would have result = 0 .. I've never seen that before ;P
@lDucks
I've got problems with IRC, sorry, can't.
@Lexxxxmint
Hey, can you hop on the IRC and talk to me? I'd like to run through some debugging steps with you. Much easier to communicate through there.
Hi, thx for awesome plugin! Error, creating one MySQL table - bp_ban, I can guess it's a wrong syntax, could you help me?
All goes normal only when I delete "result=0", but is this important? I'd be glad for your answer
@Dyl619
That doesn't seem the be the full error code, can you please pastebin the full error?
@Mortalsinn
Error fixed in next update.
with your latest version I am getting this spammed at me in my logs like mad...looks like its not totally compatible with HeroChat?
@lDucks
I get this error everytime I start my server and have no idea what to do. Great plugin but need the errors fixed. I also cant put in the Verify Key to connect to your website. Please Help!
31.01 19:10:56 [Server] SEVERE at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 31.01 19:10:56 [Server] SEVERE at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) 31.01 19:10:56 [Server] SEVERE at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) 31.01 19:10:56 [Server] SEVERE at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) 31.01 19:10:56 [Server] SEVERE at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) 31.01 19:10:56 [Server] SEVERE at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) 31.01 19:10:56 [Server] SEVERE at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) 31.01 19:10:56 [Server] SEVERE at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) 31.01 19:10:56 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 31.01 19:10:56 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 31.01 19:10:56 [Server] SEVERE at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 31.01 19:10:56 [Server] SEVERE at com.lducks.battlepunishments.BattlePunishments.onEnable(BattlePunishments.java:105) 31.01 19:10:56 [Server] SEVERE at com.lducks.battlepunishments.util.webrequests.ConnectionCode.setConfig(ConnectionCode.java:33) 31.01 19:10:56 [Server] SEVERE at com.lducks.battlepunishments.util.webrequests.ConnectionCode.load(ConnectionCode.java:44) 31.01 19:10:56 [Server] SEVERE at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 31.01 19:10:56 [Server] SEVERE at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) 31.01 19:10:56 [Server] SEVERE at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) 31.01 19:10:56 [Server] SEVERE org.bukkit.configuration.InvalidConfigurationException: Top level is not a Map. 31.01 19:10:56 [Server] INFO Metrics has been enabled 31.01 19:10:56 [Server] INFO [BattlePunishments] plugins/BattlePunishments/battlelog.txt.yml found. 31.01 19:10:56 [Server] INFO [BattlePunishments] plugins/BattlePunishments/private.key.yml found. 31.01 19:10:56 [Server] INFO [BattlePunishments] plugins/BattlePunishments/blocklogger.yml.yml found. 31.01 19:10:56 [Server] INFO [BattlePunishments] plugins/BattlePunishments/automessage.yml.yml found. 31.01 19:10:56 [Server] INFO [BattlePunishments] HeroChat was not found, continuing anyway. 31.01 19:10:56 [Server] INFO [BattlePunishments] Enabling BattlePunishments v2.8.9
@Mortalsinn
I'll look into it tomorrow when I have some free time.
EDIT: I fixed it, download the latest build of bcpvp.net because Bukkit is so slow with updates.
@lDucks
http://spacebukkit.xereo.net/
@Mortalsinn
I'm not sure, if you could send me a link I could check it out. I'd be happy to run testing and make my plugin completely compatible with it (if it isn't already).
@lDucks
would it help you to know that I am using spacebukkit / remote tool kit
Spacebukkit is a custom server wrapper - would that have anything to do with it?
@Mortalsinn
Gahh I'm so confused as to why that is happening! I can't reproduce the error and it isn't happening when I use the plugin! Bare with me, I've been waist deep with code .. I'll see what I can do but I can't seem to reproduce this error.
getting this quite a bit with your latest build
@jbanto
Try the newest version and then tell me if the error persists.
@lDucks
Bukkit 1.4.5-R0.2 Java 7
@jbanto
What version of Java are you using? What MC version are you using?
getting this on startup
http://pastie.org/5423978
@Mortalsinn
I run it off a server box that I use for mc servers
@lDucks
Thank you. Does it cost you monthly $$ to run a Jenkins site?
@Mortalsinn
http://www.bcpvp.net/job/BattlePunishments/25/