IWarnYou
IWarnYou
IWarnYou is a simple warnings plugin designed to alert users of there wrong doings but also so staff can check if a user has previously broke the rules.
> Download v1.5.3 Here <
Want a custom plugin or want this one rebranded? Add me on skype (craig-egerton) or check out http://mc.craigegerton.com/
IMPORTANT - CURRENTLY WORKING ON v2
UPDATE 20/12/2012: I have been doing work on this and it is very much improved but every time I get it close to release, I have learnt a bunch more about coding and end up redoing everything much better in every way you can think of, due to this it was terribly delayed! I have decided I will recode this plugin only one more time and I am guaranteeing that it will be released for you guys to use, once that is released and bug free I may improve on it more but you can expect the next version (1.4.6 compatible) to be released in the next few weeks :)
Thanks to learning more about Java coding and the Bukkit API I am currently working on a complete recode and remake of the plugin that will complete reinvent the way it works, what it can do and how well it works, it will make everyones life easier when handling the warnings and the weight each warning has (because currently a spam warning weighs as much as a grief warning even though they make a big difference).
I have currently implemented in to the remake:
- Simple config file (both layout and the way the plugin handles it)
- MCBans Support
- A version update detector with auto downloading
- Any normal startup code has been cleaned up to be more efficient
- Permissions
- Swear detector
- Warning check signs
- Freeze warn (freeze the player when they are warned)
NOTE: Sorry about the delays in the update, my computer went crazy and I could not use it properly to get coding again until now, I have started development on the update again and am making good progress :)
Commands/Permissions
Command | Shortcut | Permission | Description |
---|---|---|---|
/warn (username) (reason) | N/A | iwarnyou.warn | Warn a user |
/warnings [username] | N/A | iwarnyou.check | Check yours or another users warnings (must be op or have node to view others) |
/clearwarns (username) [id] | /cwarns | iwarnyou.clear | Clear the warns set to a user, add a ID to the end to remove a specific warning |
/modifywarn (username) (id) (reason) | /mwarn | iwarnyou.edit | Modify a already created warning |
/twarns | N/A | iwarnyou.twarns | Toggle the ability for users to view there warnings without accessing the config file |
/iwyreload | N/A | iwarnyou.reload | Reload IWarnYou |
/iwy | N/A | N/A | View available commands |
To create a warnings sign you need the permission node iwarnyou.sign if you have it create a sign with [Warnings] on the top line to view the users own warnings or add a username on the second line so when you right clicked it will tell you that users warnings!
Configuration
By default the configuration file shows this:
# IWarnYou config file WarningsToBan: 5 BanMsg: You have been banned for reaching &4%num&f out of &4%total&f allowed warnings! ShowAllOnLogin: false ShowOnLogin: true AutoBan: false viewOwnWarnings: false announceWarnings: true
Here is a rundown of all the settings:
- WarningsToBan
- How many warnings a user can have at any one time before they are auto-banned (AutoBan must be set to true)
- BanMsg
- The message a user gets when they are banned
- ShowAllOnLogin
- Should the user see all there warnings when they sign in
- ShowOnLogin
- Should the user see a warning count when they sign in
- AutoBan
- Should users be auto banned when they reach the WarningsToBan limit
- viewOwnWarnings
- Should the user be able to view their own warnings without having the permission node or being a op
- announceWarnings
- Should every user in the warned users world see that they where warned
Currently added in next version
- Only OPs and people with the iwarnyou.sign permission node can destroy [Warnings] signs
ToDo
- Cursing blocker that automatically warns the user and blocks the fowl language
- Ability to add location to warning with extra argument (e.g. -loc)
- Warnings time out (edit time in config file)
- Temp ban with a adjustable time to be banned
- Plugin will tell you when a update is available
Contact Me
If you have any problems, bugs or ideas then please contact me at [email protected] or leave a comment!
Changelog
05/03/2012 - v1.5.3
- Updated to the latest recommended build (CB 1.1-R6)
31/10/2011 - v1.5.2
- Fixed error that stopped a ingame user warn a offline user
- Added colours to the [Warnings] signs
- Happy Halloween!
30/10/2011 - v1.5.1
- Fixed database update error
30/10/2011 - v1.5
- Warnings have there own unique ID which is stated after the # when you type /warnings [username]
- Automatically updates the old databases to support the new ID's
- The ability to delete a warning by ID
- The ability to edit a warning by ID
- A warning sign that when you right click tells you information
29/10/2011 - v1.4
- Removed some debugging I forgot to remove (when it says the server didnt reload ignore it)
- Added the ability to announce the warning to everyone in that world (change in config)
- OPs can see version number in /iwy
- Fixed the /clearwarns bug when typed in game and the user is offline
- Case insensitivity if the player is online, otherwise warns case sensitive offline user
27/10/2011 - v1.3
- Fixed a bug where clearing a offline users warnings would create a error
- Added /twarns so you can toggle if users can view there own warnings without accessing the config
- Updated HelpMe support to work with the new Maven system
- Added /twarns to HelpMe
27/10/2011 - v1.2
- Added HelpMe support (HelpMe must be installed)
27/10/2011 - v1.1
- Adding console support (commands now work in the console)
26/10/2011 - v1.0
- Initial Release
Pls update it....to bukkit 1.7.2. My config file was after reloaded the plugin empty.............
somethings up with it on my server, for some reason its only allowing opped people to warn or what not its not using permissions can you please help me fix this,iv made sure that there in properly and all aswell
@CraigEge
Do you have an ETA? I'm waiting for quite a time now, and there doesn't seem to much progress made last month.
@chris_king
There is a few problems with this idea sadly, first of all what if someone said something like don't ask for OP? This would end up in the person warning another player getting banned which is just not good at all, as for the mod detection this is pretty much impossible as they don't actual tell the server their installed, in the servers eyes your running a vanilla client still and so you could not stop that either.
As for the other "rules" that would stop people spamming there are already plugins for that, sorry for the disappointment but I just don't see a reason for this plugin to be made as everything has either been done before or the other things you want to do can't be done. :/
I have an idea for a new plugin. I call it, console admin. I don't know how to make plugins but someone who does can do this. This would allow admins to activate console admin and while they are away, console admin can ban people, or kick people who break rules. Simple to do. In a config file put rules you know most admins commonly has as rules as true or false. say, no chat spamming is set to true, then console admin will kick anyone who chat spams. As time goes by people can suggest new rules to add to the config file so pretty soon every rule imaginable is included and covers all things that are not allowed on the server and if those rules are set to true or false, the action can either be applied or ignored based on the settings. So basically in the config file, I can pick and choose what rules to allow, and what ones to ignore if I don't want those rules to apply and only the rules I want to apply I can set to true. Even rules like if someone were to ask to be OP? I don't allow that on my server I ban people who ask. So it would autoban them for asking. You could have the plugin scan the chat and anytime the word OP equals true, then that counts as a ban. I think this is possible. but like the plugin could detect things and ways of detection to find out if the rules are being broken. This plugin would be so cool if it was real cuz then it would help me maintain my server and ensure people are following rules.
Also I wouldn't mind if this plugin was a bit bulky... no cheat plus is bulky too, but all I care about is the protection of my server and as long as it keeps my server safe then I'm happy.
I also don't allow mods. Maybe this plugin could also detect if a mod is being used and ban people who use mods or kick them or just deny them access to my server if any mod is detected in their client. Cuz I don't care if the mod is safe or not, I allow NO mods whatsoever.
@SkiRac3rDud3
Doing a complete recode that will be 1.4.6 compatible :)
@fatmarleys
Things going on in real life, me not being satisfied with how I recoded the plugin (and kept recoding it again and again) and some other things caused me to never update, I am now working on a full recode that is guaranteed to be released (in the next few weeks)!
@gabessdsp
I'm getting back to this plugin now (finally) and will add this to the next version (in the next few weeks) :)
PLease update to 1.3.1 - r1.0
The default config is empty....
So I was looking at the vote thing up there, but didn't find what I wanted. What I want to do is when a user gets x number of warnings I can issue a command to send them to jail instead of being banned.
Just stumbled on this and would love to use...Just wondering if you are in maintaining mode, development mode or cant be bothered mode?
And great plugin/idea...
this would be cool if it could some how jail the person for a certain amount of time upon warning them.
<<reply 602428> ehm, I just wonder if the permissionsEx.jar file in that package can be used?
@CoWs_they_go_moo
Same here, my warns aren't saving to the database.
Im getting a few issues, like permissions not working, You have to be opped to use the commands, and the warns arnt saving into a database :/ Any help? Thanks, Aaron
This works in CB 1.2.5 Build 2139
Is there any updated version for this at the moment :(? Thanks, Aaron.
iwyreload
09:42:09 [INFO] [IWarnYou] this.getConfig() reloaded!
Config for 1.5.3 was empty, populated it with the example here and reloaded in CB 1.2.4 R1.0, got that. Config was wiped again.
@rebel24 Sir, it is already outdated Permissions Combat support was removed in Pex 1.18 version. But you can still use it in 1.19.1 to make more plugins a bit more compatible. If you don't want it, you can't run this plugin or get the vPerms which is the old Permissions.