SimpleWarnings
Description:
SimpleWarnings is just that, a simple warnings system which allows server admins to set, check, and delete warnings.
SimpleWarnings can be easily configured to execute custom commands on warning, auto-ban a user and/or execute a custom command once they've exceeded a pre-defined warning limit, broadcast a users total number of warnings to the server on join, kick a user when they receive a warning and much more...
Quote:Upgrading to 0.8.8 or above?
In Simplewarnings-0.8.8 the data handling is changed from YAML to MySQL/SQLite.
However this doesn't mean you'll lose your previous warning data, as you can update your previous warning records quickly and easily.
To update your warning records to 0.8.8+ compatibility, simply type /fixwarn to begin the update process.
Remember: You only need run it once, and only if you're upgrading from a version earlier than 0.8.8
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server
Configuration:
For details on configuration see here: Configuration
Commands: | |
/sw or /warn | View the SimpleWarnings Commands Menu |
/sw reload | Reload Simplewarnings config |
/warn <playername> <warning> | Issue a player with a warning |
/warnings [playername] | Review your own or another player's warnings |
/dwarn <playername> <warning number> | Delete a player's warning |
/cwarns <playername> | Clear a player's warnings |
/fixwarn | Update warnings records from YAML to SQL (0.8.8+) |
Permissions: | |
sw.warn | Users with this permission may issue a warning |
sw.check | Users with this permission may view their own warnings |
sw.check.other | Users with this permission may view other player's warnings |
sw.delete | Users with this permission may clear/delete other player's warnings |
sw.mod | Users with this permission may do all of the above |
sw.reload | Users with this permission may reload the config |
sw.fix | Users with this permission may update outdated warning records |
Quote:Recent ChangeLog:
1.0
- Updated for UUID compatability
0.9.3
- Updated: DefineFinalBanMsg now refers to the message a banned user will see upon attempting to rejoin, if not set they will see their last warning instead
- Updated: Final warning will be shown as kick message and in the final warning broadcast, instead of the final BanMsg
- Fixed: SimpleWarnings no longer interferes with other banned players ban messages, only banned players with the max number of warnings.
0.9.2
- Fixed bug introduced in v0.9.1 - config.yml not generating on first use due to character conflict
0.9.1
- Updated Autoban BanMsg to be displayed when banned player attempts to log in, if BanMsg not defined the final warning is displayed instead.
- Added: Multiple commands for all custom commands & penalties
delete warnings for money (iconomy - vault)
would be awesome
Something I would love:
- Customizable Bans/Kicks at every Warning
For Example: 1 Warning - Kick, 2 Warning - TempBan 24 Hours, 3 Warning - Permanent Ban
That would be really awesome!
At first I have to say that SimpleWarnings is a great plugin ;) Maybe you can add that special warnings have to be payed.
@Xnapi
No problem. :)
I'll work it into the net version when I've a chance.
@MrSerios
NotifyAdminOnJoin -Whether or not to notify an admin of how many warnings another user has when they join.
Hi, very good plugin, great job! I have a question, in config I find NotifyAdminOnJoin option, and set it to true, supposed that will notify OP on join, about all players received a warning, but nothing happens. I can't find any info on that option. It is a test option or is not used anymore ?
Is there any way I could convince you to make a node like sw.notify that would allow those with the perm to see when another has given a warning to a player. I have this plugin on silent currently, but I would really like to have an admin notify feature.
The plugin has been working great! Thank you.
I would love to have a list of custom commands to run then so not just one. There are so many possibilities with a list. For a example, it could ban the player, and then automatically create a ticket for it.
Thank you alot for the 0.4.9 Update (now 0.5)
Offline Warnings are now working! This is an amazing Plugin, thank you!
@anonym110
aha, yeh.
Temp-bans are something I want to explore at some point.
Once I work out how you'll likely see it. ;)
I'm not sure about muting, perhaps a custom command. yes.
I'll make a note. :)
@baemboo Scratch all that, I've worked it out.
You're using a beta build of bukkit, in which the API has changed.
I'll be updating soon. ;)
EDIT: If you dont want to wait for bukkit to approve:
@Odiumxxx
Please make the McBans support.. When it bans a player I can't log it.. :-)
@TH3PF
Thankyou! :D
Great plugin, thank you!
@Aangiix3
That console output was just what I was looking for, 0.4.9 should resolve your problem. Thanks for your patience.
The problem you were having was this...
It looks like you've KickOnWarn enabled. So when issuing a warning to an offline player it wouldn't be able to kick the player (seeing as they're offline) and this caused the error you're seeing.
As for McBans support, unfortunately I'm really not a fan; so I wouldn't hold your breath. :)
Request:
- McBans Support
- Warn offline Players
- Updated to v0.4.8, still cant warn offline players :(
Error Log:
@Aangiix3
For a start, you should update to the latest version, as it contains a crucial bugfix.
As for this error, I'm somewhat lost now.
My original assumption was terribly wrong, for which I apologise. You should be able to warn anyone, regardless of whether they've been on the server or not, or whether they're online or not. For instance, I just gave a warning to 'stupidheadmcboogers' a user who has never joined my server.
@Odiumxxx
Yes I do, but it says "An Internal Error...."
Here's the log:
@Aangiix3
There's no problem with warning people who are offline.
If the warnings isn't applying to the user you expect it to the problem is you're likely not referring to them using their full username. Keep in mind this requires you to not only type the Full Username when issuing a warning to an offline player, but use the right case as well (upper / lower case).
I am able to warn users that haven't joined the server, are offline, or are online.