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!!
@Flashera
Oh, you're using Java 7. I'll release an update compatible with that.
@MrEminent42
http://pastebin.com/3eBsBKCe
@Flashera
Well I can't help you if you don't post your log..
And I don't know of any of those plugins, I just use Essentials for the simplicity. I might make one in the future though.
For some reason your plugin does not load on my server. D:
By the way, do you know a tempmute plugin (essentials is far too cluttered for my taste)
@PixealCarftOwner
Yes, it is UUID compatible. You will notice in the warnings.yml there is no names, only UUIDs being stores.
JustAsking: Have this plugun an UUID support? (if the player change name then have still hes warnings)
Good news! I will be taking over the majority of the development for this plugin. I'll be redoing the whole thing, and it will be out as soon as I finish it :)
This plugin is being redone. New version out soon.
@bwfcwalshyPluginDev
Would love to see "Grief", "Disrespect", and or "PK"(Player Kill)
@daniel78603
@MoejoeAw44
Will do!
I'm not sure if you'll reply soon, but I reccomend you add warnings like "hacks, ddos, threats" etc. Those are most common on Faction servers, as well as KitPvP and HCF servers.
Hello, could you add one for rudeness or something similar and abuse? Thanks.
@NickelCoding
It is there for simpleness if there are custom ones that would mean there could be multiple for things like Caps(caps, Caps, cAps ect.) I could fix that but then there may be ones that fall under the same category. I just made this for simplicity, if you think I missed any please make a ticket.
Why do you have to choose swearing/caps/spam/offensive or racism? Why can't you choose your own reason?
Awesome plugin.