Infractions
The latest version of Infractions, v0.5.0, will convert all of your data into a new format! |
This is the BukkitDev plugin information page for Infractions, a policing plugin for Bukkit. Infractions is based on a stytem that allows citations (warnings) given to a player. Eventually these warnings will result in a ban. The ban system can be configured or disabled. |
|
Infractions is still in active development, and is considered Beta software. New ideas are welcome to the plugin. Do you have a clever idea? Let us know! Currently Infractions will independently access Mojang's ID API to identify each player. Servers running in offline mode may have problems because of this. |
|
To install, simply place Infractions.jar in your plugins folder and run the server. That's it. Everything else is handled automatically. This plugin utilizes Gravity's update checker to automatically download new versions from BukkitDev. This can be enabled or disabled in the config.yml. To disable update-checking, set the update option to false. |
|
Key features of this plugin include:
...and much more! The commands for Infractions are as follows (<> means required, [] means optional):
The '*' permission, from PermissionsEx, is treated as default max score (as set in the config). |
|
Infractions is licensed under the Apache License Version 2. All downloads are subject to said license unless otherwise noted. |
|
This plugin utilities Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
· A unique identifier · The server's version of Java · Whether the server is in offline or online mode · The plugin's version · The server's version · The OS version/name and architecture · The core count for the CPU · The number of players online · The Metrics version Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true. |
|
The source code for this plugin can be found on GitHub. |
Very nice plugin! Nice post too btw.
Please dont let this plugin become inactive o-o....It's awesome!
Also, I wish there was a way to change the preset key's. Like when you type /history (name) on someone to see their key to uncite them, I wish it was configurable.
@stickmanmeyhem
We are, Infractions 0.5 pretty much has 3 times as many features as the current release.
I won't post all of them ATM, but we'll put in all features that are ready.
EDIT: To be fair, many of the features are just old features redone better, but in my mind they're 'new'.
In v0.5 are you guys planning on adding duration to the Infractions?
@mohawkguy360
After version 0.5 is complete that's the area of features we were thinking of tackling next.
Check out the progress topic for 0.5 and let me know of any other suggestions you may have.
Awesome plugin. Works great for my server. I would love some website integation. Like an admin citation tracker, and the ability to say add "warnings" to the players' forum accounts so that they can count their citations like dhmc.us does.
@mendrinos24
Yes, it still works though.
The problem is because it can't be sure the object I store in the HashMap is a String.
The best thing to do would be to do something like this:
Hi i downloaded your source because i am making a diplomcy plugin and it look useful so i was gong to incorporate it and change it in ways but when i type it into eclipse i get an error in Util.java;
the errors are highlited by
. Eclipse also says "Type mismatch: Cannot convert from element type Object to String"
any ideas on why this is?
@HammyHavoc
Sorry, I've been very busy with school and have not had any time at all to work on the plugin.
I am currently getting someone else to help me code the plugin, so this will get done very soon.
Any ETA on the MySQL support?
@Gunnerrrrr
/history already does this.
Can you add a command so a player can easily view there infractions?
@Icefuzion
Yes, I'm sorry about this. I'm actually working on the console commands right now. The next update will have all the current commands working with the console.
EDIT: Version 0.3a (which I just uploaded, give the mods awhile to approve it) allows console commands, but the color might be a tiny bit off still. It's late here and I decided to get the build out to prevent things like what happened to you from happening again.
Edit: well this is kindof awkward.. But I can't seem to unban myself...
I'm guessing I need to /history and then remove the kicks/warnings, but I can't do that in console...
Edit 2: okay wow.. please enable console commands! I had to make a mod log on to remove the warnings for me.
@HmmmQuestionMark
I uploaded the update that adds the new config option and stuff.
@AnAngryKoala
I am adding a command that lists each infraction type.
@AnAngryKoala
I wrote part of the code to allow it to give both online and offline players an infraction, but I made it kick them all the time to get an easy release out for my server.
I'll update it to add the option for just a message in chat instead of kicking, and I'll add a way to send a message to an offline player if they've gotten an infraction while offline.
@AnAngryKoala
It also can't be used to notify offline players because it can't kick them. They get the infraction level but there's an internal error when it tries to kick them.
The infraction must also be perfectly written or it is not issued. I'd like to see a /infractions command that would list the available infractions and the level that corresponds to them.
I don't like how it kicks the player to notify them for an infraction. It also kicks them for an infraction being removed.
Why can't it say in chat. "You have received an infraction for -Insert Reason-, Receive too many and you will be banned!
@fatmarleys
I added the feature, but you'll have to wait until version 0.2 is approved by the moderators here to try it out.
BRILLIANT