Have you ever wanted to warn a player as opposed to outright punishing them, but a verbal warning didn't seem like quite enough? I ran into that issue often, and so I made ThreeStrikes, which allows warnings to be issued to a player (whether they're online or offline). After a configurable number of warnings or "strikes", the server will issue a configurable command or series of commands.
Features
- Issue strikes to players, whether they're online or offline, with or without a reason
- Have the server issue a command or line of commands when a player has hit the strike limit
- Server will send a global message notifying other players(with the necessary permissions) when a player has been warned
- NEW ThreeStrikes can send a Mail message to OPs when a player has reached their strike limit.
Commands
- /warn [player] (reason) ~ Issue a strike to a player.
- /tscheck (player) ~ Allows a player to check their own strikes, or check the strikes of another player with the (player) argument.
- /tsqueue (clear) OR /tsqueue remove [player] ~ Allows a player to view the warning queue (without arguments), clear the warning queue (with /tsqueue (clear)), or remove a specific player from the warning queue.
Permissions
- ThreeStrikes.warn ~ Allows a user to issue strikes to other players and check the strike amounts of other players.
- ThreeStrikes.check ~ Allows a user to check their own strike amounts (and the strike amounts of other players when paired with ThreeStrikes.warn)
- ThreeStrikes.hear ~ Reveals the global messages regarding issued strikes to a player.
- ThreeStrikes.admin ~ Allows the viewing and modification of the warning queue.
Configuration
- Warnings ~ The strike level at which the server will issue commands for a player.
- Mail OPs ~ Whether or not to send an Essentials mail message to OPs when a player has reached their strike limit.
- OP Message ~ The message sent to an OP when a player has reached their strike limit if the above is true. Example: %player has been given too many strikes and has been punished.
- Commands Executed ~ The commands for the server to execute, with %player used as a players name and separated by ; Example: If you want to jail a player and set their money to 0, the commands executed would be "jail %player;money set %player 0"
- Player Strikes ~ Leave this one alone; this is where the server saves the strikes players have.
- Pending Strikes ~ Leave this one alone; this is where the server saves the warning queue.