Introduction
I made this plugin to create a warning system, you warn a player sometimes and if it reach the max warns when you warn him again he will be banned or something that you want(Custom command)
How it works
You will have a configuration file where will be save the players warnings and where will you set the max warnigs until ban(or whatever else) him.
If you warn a player how many times you configured, in the next warn he will be banned(or whatever else).
If a player grief/swear/another cause you can warn him, and after the max warns the next warn will be a BAN or another thing that you configured(v3.0 up only)
Command
- /warn - Used to warn a player # In version 3.0 /wr is an aliase to /warn
- /warning [remove/see] [Player/all] - Used to see all player warning or to remove 1 player warning # In version 3.0 /wrg is an aliase to /warning # You can use 'all' in version 4.0 only
Permissions
- warningsystem.warn - permission to /warn command
- warningsystem.warning - permission to /warning command
Configuration
#Number of max warnings
maxwarns: 3
#This message will show when player banned
#Let it ' ' to nothing show
buymessage: Buy disban in http://yourserversite.yourdomain/
#CUSTOM MESSAGES IN V2.0 OR ONLY
playerwarned: Player warned with success
recivedwarning: You receivied a warning
#'%a' ONLY IN V3.0 OR UP
#%a will be replaced for customactiontext
warnfailuserbanned: This player has been %a
palyernotfound: Player not found
removedwarn: Remove 1 warn of this player
removedwarnuser: Admin remove 1 of yours warnings
negativewarning: Can not set negative warnings
#CUSTOM ACTIONS IN V3.0 OR UP ONLY
#Do you want a custom action? If not it will ban the player
customaction: false
#The custom action command. %p to get player name
customcommand: deop %p
#Text that will be complemented in the "youwaswarned" message(will replace the "%a")
customactiontext: deopped
#If you don't want a custom action just remove the '%a' and write banned
youwaswarned: You have been warned %w times. You have been %a.
#Here is the players warnings
#Only if you warn someone
#ALL NAMES WILL BE PUTTED IN LOWERCASE
warnings:
adriano3ds: 0
whatever: 2
SOMENTE NA VERSÃO V2.0 pra cima
Mensagens em portugues: http://dev.bukkit.org/bukkit-plugins/warning-system/pages/mensagens-em-portugues-pt-br/
EXTRA
You can use this plugin with my plugin Admin Way
See Admin Mode "EXTRA" topic to see how it work
END
Thanks if you use this