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 craigege@gmail.com 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
-
View User Profile
-
Send Message
Posted Jan 4, 2012Please make a ''tempban'' functions. When the user has 5 warnings, he will be banned for 1 day.
-
View User Profile
-
Send Message
Posted Jan 3, 2012@chamunks
I am completely remaking the plugin now which makes it easier to use and most of these functions will be implemented :)
-
View User Profile
-
Send Message
Posted Dec 22, 2011There are lots of very powerful Censor plugins out there it would be moot to turn this into another one unless you could remove it from the .jar file if need be.
The warnings should just log locations by default to the .db just for reference purposes.
Warning timeouts could definitely help.
The ability to simply run my own command after a level of events would be fantastic! Esepcailly if it could accept a /kick for say the 3rd warning and a tempban for the 4th and a permaban for the 5th.
-
View User Profile
-
Send Message
Posted Dec 11, 2011I sent e-mail, but didn't get any answer, so it's a repost. Well, I would like to offer some ideas. Basicly, I'd like to offer point system for warnings. You see, warning for flood in chat and warning for griefing are quite different, aren't they? So, what am I want to add. Pretty simple thing. All warnings will have weight in points. Upon reaching the N (configurable number of points) points, player will be automaticly banned for some time (for ex. when number of points will reach 10, player will be banned for 1 day). Number of points may be will influence warnings time out. Then, when player will be unbanned, points will remain for some time (I guess for time out of warning), and if player will be warned again, points will summarize with old ones. If number of points overstep new stage (for ex. 20 points), player will be banned again (for ex. 2 days). More points will cause longer time of ban, untill reaching eternal ban. All steps and ban times should be configurable, I guess. Okay then, now step 2 of my message. Warnings-patterns. They will setting up in config, so players without special permission can use ONLY these patterns, not custom warnings. What will it give to us? More organization (less questions from warned players because of bad formulation of warning) and more simple configurating time out and ideas which I listed above. Config file should look like that: Option: "example" Command parameter: "flood" Warning text: well, could be "flood" again Number of points: "4" Time out: I dunno actually how could it been realize. Something like "0 months 2 weeks 0 days 0 hours" may be... Well, I guess that's all that I wanted to say. Good luck! P.S. And forgive me my English, I am not a native speaker :P
-
View User Profile
-
Send Message
Posted Nov 28, 2011@vein_mx
Timestamps are being added when I add the auto timeouts
@lemmymet
I will release the source when I perfect the code and add all the functionality I think it needs, as for the amount of warns it can be seen through /warnings. If you would like the amount shown when the warning message is shown I will add that soon (maybe even customizable messages) ;)
-
View User Profile
-
Send Message
Posted Nov 28, 2011Can you make the source public?, for my server i need some adjusting... And maybe you could add a small warning text after how many warns you are banned?
-
View User Profile
-
Send Message
Posted Nov 20, 2011Would it be possible to add a timestamp to warnings and add who assigned the warning? Great plugin though =]
-
View User Profile
-
Send Message
Posted Oct 31, 2011@dagundi
Bug already tracked down and removed, will update the client to v1.5.2 when I add colours to the [Warnings] signs ;)
-
View User Profile
-
Send Message
Posted Oct 31, 2011I get this error when i try to Warn someone in the newest version 1.5 with CB #1337
It worked in the previous version.
-
View User Profile
-
Send Message
Posted Oct 29, 2011@Forecaster71
Fixed the /clearwarns bug in the next update, also added the case insensitivity on /warn but only if the user is online ;)
-
View User Profile
-
Send Message
Posted Oct 29, 2011How come the /warn command is case sensitive while the /clearwarns command isn't?
With some players weird names it'd be great if all the commands were case insensitive.
And using the /clearwarns on a player who's not online resulted in this error: http://pastebin.com/GM7HfLbS
This on CB 1185 on a 1.8 server. (Don't know whether this happens on 1337 or not. I'm waiting on some plugins to update.)
Otherwise, great plugin!
-
View User Profile
-
Send Message
Posted Oct 28, 2011@dead_fred
Added them to the ToDo ;) Good ideas
-
View User Profile
-
Send Message
Posted Oct 28, 2011Ideas:
ability to remove or edit a warning (if you don;t want to delete all)
if -loc or something like that was added the warn should include a location where admins/mods can tp to.
Nice plugin! Thank you for making
-
View User Profile
-
Send Message
Posted Oct 27, 2011Quite a helpful plugin! Thanks (: