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
@FurysSIN
Sounds like a simple enough addition, will look to include a new permission in later versions. :)
Hi,
Having a little trouble converting to MySQL. It looks like the database is connecting okay on startup, but "/fixwarn update" says it's importing 0 warnings from StorageConfig.yml. We have a file called Warnings.db which looks to hold the warning data. Here is a link to the console output from running the import command: http://pastebin.com/9FRdM0Rd
I think we're missing some small thing, but can't pinpoint where we've gone wrong. Let me know if you need more info. Any input you could provide would be appreciated. Thanks in Advance.
I actually have a quick question about the config and its ability to tell admins about players' warnings when they log in. Is there a specific permission node that will give that ability or is it tied into the sw.mod?
EDIT: Apparently it's not. But opped players get it
If there isn't a specific node, I'd like to suggest it. As I don't want to give all my staff the ability to delete warnings but I do want them to know about possible problem players.
@Arton123
That's something to do with your jail plugin, not to do with simplewarnings.
Either that or you've used the configuration option %player% incorrectly.
See configuration documentation for further info
@ShawnPR1
If your server admins are into trickery I'd advise choosing some different admins.
Or perhaps try revoking their ability to delete warnings, and give them a warning for using the warning system flippantly. ;)
Hello im using B: SimpleWarnings-0.8.9 for CB 1.4.7-R0.1 Jan 24, 2013 on git-MCPC-Plus-jenkins-MCPPC-Plus-Legacy-67 (MC: 14.7) (Implementing API version 1.4.7-R1.1-SNAPSHOT) and for somereason the custom warnings dosen't work it display You may not jail that person in the console?
Hi, so I installed this plugin and it is turning out to be extremely brilliant!
There is one thing that'll make this plugin even better : an exempt to not get warned.
I (as the server owner) don't want to get warned by my fellow staff members (see, they like to troll a lot) and would appreciate it if I could give myself permission to not get warned by them at all. Maybe a permission node like : sw.warn.exempt would suffice in this situation.
Please think about this.
I haven't even installed this plugin yet and I'm already amazed! I was working with this (rather dull) plugin called iWarning until I stumbled upon this one.
With this plugin you have a wide area of customization as well as user-(/admin)friendliness.
So far this plugin looks fairly simple to use and to configure. Can't wait to implement it on my server!
@watarimon
@Imnotcreativeenough
Thanks for the heads up.
The : character in the config I introduced in 0.9.1 caused the config not to generate properly on first use.
The issue has been rectified in 0.9.2
@Imnotcreativeenough
I have the same problem after updating to 0.9.1. Worked fine before that. Get this error in server.log: http:pastebin.com/jgyCARv6 Downgraded to 0.9 and this great plugin works again
Ive downloaded and implemented into my server, it creates the files but there is nothing in any of the files. Config is empty as with the others.
@rustymetal
You've not setup your MySQL database correctly.
Either set it up correctly or set USE_MYSQL to false and use SQLite instead.
@cuddyier
Temp banned after 3 warnings.
After being temp banned 3 times permanent ban.
So that's a total of 9 warnings until the player is banned permanently.
So just set maxwarnings to 9 and setup the 8 preceding warning penalties to tempban them.
I just keep getting 22:22:00 [INFO] [SimpleWarnings] Error: java.lang.NullPointerException 22:22:00 [INFO] §7[SimpleWarnings] §cError: §fjava.lang.NullPointerException
on player logins. with default config.
Can you add a way to issue another command after a player has had the command issued to e.g. ban them? At the moment I tempban people for 1 day after 3 warnings, After being banned 3 times I want them to be permanently banned.
@Arton123
1) would 1.5.2 version work with 1.4.7 servers?
Not sure, theoretically yes.
2) Just tried and it still dosen't want to work
For some reason SimpleWarnings is unable to communicate with your MySQL server.
Make sure the specified details are correct.
You could try using a later version of bukkit and see if it is able to communicate with your MySQL server. if it still isn't then it's nothing to dowith your bukit version and something to do with your config / connection to the MySQL server
@DeanUKMC
Likely an issue with how you've setup you config, I'm assuming an incorrect syntax with your parameter for warning 1.
Hi,
sometimes the warnings don't display the message when I do /warn name reason? I'm using version 0.9 on bukkit 1.5.2
This leads to duplicate warnings by thinking that the command hasn't been issued.
Thanks!
@Odiumxxx
Hmm could probably be it i will try it out, would 1.5.2 version work with 1.4.7 servers?
Just tried and it still dosen't want to work this is my setup
MySQL:
USE_MYSQL: true
hostname: localhost
hostport: 3306
database: ***_**
user: warn
password: ***
@Arton123
MySQL database setup correctly?
Everytime i try to do a warn i get this error ?7[SimpleWarnings] ?cError: ?fjava.lang.nullpointerexeption im using 1.4.7.
Hey, Im snooping arround in my config file for the plugin and I cant seem to find a place where we can customize the final warning. I would like it to ban a person with a message to say "You have been banned! Go to "ourwebsite" to appeal it."
Would the only way to do that is create a new warning with the command to do /ban (message)
Thanks :)
how do i get the person to the jail i did set up with /setjail <jailname> with warnings?