EzWarnings
Description
EzWarnings is a simple and easy to use warning system. This the perfect easy warning system you have been looking for! This plugin is great for servers to easily warn their players. You can set custom warnings, custom punishments, and more!
With the 3.0 update, you can customize this plugin even more! You not only can send a message when a player gets warned/punished, you can run commands, privately message a player, and much more!
Shoutout to that 1 guy running EZW on a mac... (click)
This plugin depends on CS-CoreLib, and it will be automatically downloaded when you install this plugin.
Commands and Permissions
Command | Description | Permission | ||||
/warn <player> <reason> | Warn a player, with custom warnings defined in the config. | warnings.warn | ||||
/warnings <player> | Shows your punishments and warnings, and if you add a player argument, shows the warnings and punishments of that player. Alias: /punishments | warnings.view for yourself, warnings.view.others for others. | ||||
/setwarnings <player> [amount] | Set the amount of warnings for a player. If no amount is specified, it will default to 0. Aliases: /resetwarnings, /setw | warnings.reset.warnings | ||||
/setpunishments <player> [amount] | Set the amount of punishments for a player. If no amount is specified, it will default to 0. Aliases: /resetpunishments, /setp | warnings.reset.punishments |
Configuration
warnings: ## Warnings configuration. others: ## Configure actions when there isn't a configuration section for the current number of warnings actions: ## Notice there is no final option, you dont have to have it. - '[warnbroadcast]' - '[msg] %player% You have been warned for %reason%!' '3': ## Configure actions for when the user reaches 3 warnings. final: true ## Is this the final warning? AKA Should the warning amount reset for the player on this warning? actions: - '[warnbroadcast]' - '[punish] %player%' punishments: others: actions: - '[punishbroadcast]' - '[consolecmd] mute %player% 10m' - '[msg] %player% &cYou were warned 3 times, so you are now muted for 10 minutes.' '3': final: true actions: - '[punishbroadcast]' - '[consolecmd] ban %player% You have already been punished 3 times!' warning-types: ## Define your warning types here, only 1 word though! - swearing - caps - offense - ddos_threats - racisim - abuse log-to-console: true ## Do you want to log broadcasts to console? options: auto-update: true ## Auto Update (recommended)?
Actions
Actions that can be used in both sections:
- [consolecmd] <command>
- [msg] %player% <message>
- [punish] %player%
Actions that can only be used in warnings section:
- [warningbroadcast]
Actions that can only be used in punishments section:
- [punishbroadcast]
API for Developers
You can find a description of the awesome API here.
Comment below if you want your plugin listed as a plugin using the API!
How to install
- Download the plugin
- Drag & drop it into your plugins folder
- Restart your server
- Wait for CS-CoreLib to be downloaded
- Restart your server
- Enjoy the ease of warning players!
Auto Updater & Metrics
Since v2.0 Beta2, this plugin uses an Auto updater, to make sure you're using the best version of my plugin. If you would like to opt-out, set config -> options -> auto-update: false.
You can check what version of the plugin you are using by doing /version EzWarnings.
This plugin also uses a Metrics-System which collects information to use for statistics. See more information about this here.
You can opt-out of this service can be done by going to plugins/Plugin Metrics/config.yml and set opt-out: true.
Upcoming Features
- Total warnings/punishments stored in a file
Have any ideas? Put them in the comments below!
Donate
Like my plugin? Want to show your appreciation?
Thanks for 3,000 downloads!!
@SergeantBud
Please post the error, because it's not happening for me. Are you sure you're using the latest version?
@MrEminent42
All commands have an internal error. Please Fix. Spigot Build #42
I feel like the Config right now is very confusing, with already punished and final punishments etc. So, I am 75% done with an update to the Config.
@Flashera
So sorry I didn't see your comment. I will fix this.
@MrEminent42
<Console> You have been warned 3 times. You have been muted for 10 minutes for {reason}.
@Flashera
Awesome! And what is the problem exactly? There is no reason in console when someone is warned?
@MrEminent42
No need, it finally works! :D
EDIT: When the console messages you it says {reason} instead of the reason (I use commandbook and herochat)
@PixealCarftOwner
Obviously that's not my plugin, it's CS-CoreLib. Be patient, BukkitDev is probably down.
Nice version 2.0.4 works. But he got now an update error by every restart/start Update Error: http://pastebin.com/kQR7LTqy
@PixealCarftOwner
Sure.
@Flashera
Ugh. I'm really sorry, I'll try to fix this. Can you send me a PM called Ez Warnings?
Requst: Can you add /clearwarn <player> <warning> so that i can remove one of his warnings instead all his wanrnings? And maybay an alias for resetwanings like /rw <player>
And I suppose that there is complete UUID support system?
If you can add it its really NICE
Greetz
@PixealCarftOwner
Will be fixed.
The plugin has an error ERROR Error occurred while enabling EzWarnings v2.0.3 (Is it up to date?)
http://pastebin.com/w83S8CbS
@MrEminent42
http://pastebin.com/CBpSSgYc
Java 7
@Flashera
Please post the new error.
And what version of java are you using?
@MrEminent42
Nope, still got an error.
@bwfcwalshyPluginDev
One of them was a wrong Jar though.
:P
@MrEminent42
3 updates in less than 24 hours. You are definitely mrCookieSlime in disguise :p
@Flashera
Crap. Looking into it...
What version of java are you running?
EDIT: Does v2.0.3 fix it?
Still has an issue: http://pastebin.com/v6EcCXUM