Warns - Easy player warning plugin.
Warns 3.0
A simple warning plugin!
Warn's! A brand new warning system with ease. Using a single command to give a warning and one more too see someone's warning's, it cannot get any easier!
Commands, permission.node.
- /warn <player> <reason> - warns.warn (Or OP only)
- /warns <player> - warns.warns (Or OP only)
When using the /warns command, it will tell you what there warning are, and if they should be banned or not. More to come later.
Todo:
- Banning on third warning (Done)
- Broadcast on login if player has (a) warning(s) (Done)
- Upload 1.3 for major bug fix. (Done)
- /wclear <player> - Clear <player>'s warning's
- Custom text/language support
- Better config system
Download it now!
Release: 25/1/12
Would be great if we could keep warning announcements hidden :)
Make it so a user can see their warnings.
- pls add an option to clear specific warnings
- pls show date and time of warnings
screenshots
@liamallan
Aww lol, Sure! I was hoping to work on it tonight but that's ok!
@Kekler
Since I'm in the UK. I won't be on until tomorrow. But I can't wait for the features you bring in!
@liamallan
Added
@Kekler
Sure, if you would like to help out, add me on Skype. I can also give you the source from here as well. "liamallan12345"
@liamallan
Awesome hope you are able to implement it! And yup I'm sure I warned a player 3 times and it didn't let me know when he rejoined, nor did it ban him on the third warning.
Still a great plugin man, can I get the source to take a look by any chance? I love helping with plugins, and I think this one has a lot of potential.
I run a server with 100 Slots, with normally 30 filled on weekdays and 60 on weekends, and to me, this plugin will be making my job A LOT easier. So I would love to help develop it.
Thanks, Jeremy1080
@Kekler
Are you sure? Do remember it only broadcast's if they joined player has more than 0 warnings. But I'll check that tomorrow. And I knew how to do the thing you requested, it's just if I can be asked or not, but I probably will.
Edit: I think your right about the bug If I remember correctly.
@liamallan
Actually it's relativly simple, I did it with one of my plugins a while back.
All you do is when a command is typed in, you grab the arg of which the name spot would be and place it in a var lets say tempName
Then you loop through the player list doing a string.contains and looking for tempName and after you get the results of what player it was, you put that player name in the var realName and then from there you put the realName in the log.
As for checking the warnings you would probably just have to change one line of code. Instead of checking for the exact name in the log, just do a string.contains once again.
Hope this helped!
Oh also, the show warnings on login is not working.
@Kekler
Doubt I can, since the command you type in inter-grate's with files, meaning it would be more code to split (':') and then check the contents. And loading the files would be even harder. But, I'll try my best at this.
This would literally be perfect if it accepted partial names. You know how essentials does? If I can find the source code for it, can you intergrate it?
Sounds like a great plugin! Would it also be possible to add /warnlist <player> so you can see how many warnings each player has?
I will try this plugin out. :)
This looks pretty cool...
can you make it where you can unwarn a player tho?