ThreeStrikes
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.
-
View User Profile
-
Send Message
Posted May 1, 2013So, can this plugin work like this?
L1. Gentle reminder
L2. Another reminder
L3. 1-hour jail
L4. 1-day jail
L5. 7-day jail
L6. Permanent mute and all permissions taken away (Rank set to "Torture")
L7. Ban
-
View User Profile
-
Send Message
Posted Aug 14, 2012@kforte318
Yes that's right a new paramater like you have with %player but then for %reason. So when you set "ban %player Bannend because you did: %reason" as the command to execute, it will show: Banned because you did (reason entered by 3th warning)
-
View User Profile
-
Send Message
Posted Aug 8, 2012@Sanderb11
Alright, so I understand your first comment about commands executed on a warn and commands executed on the last warning and I'll definitely add that! The second comment I don't quite understand, do you just mean a way to pass the reason on to a command?
-
View User Profile
-
Send Message
Posted Aug 5, 2012Als could you make another parameter: %reason The value of that parameter will be the reason of the last warning. Because you can't see what your warning was if the executes command will be a temp ban.
-
View User Profile
-
Send Message
Posted Aug 5, 2012This plugin is really nice! But can you please make this: Commands Executed on Strike: and Commands Executes on last Strike:
Because I want to get a person banned for 1 hour after breaking a rulle, and banning him for a week if he get's 3 strikes.
I hope you understand what I mean.:P
-
View User Profile
-
Send Message
Posted Aug 3, 2012Good idea!!
-
View User Profile
-
Send Message
Posted Aug 3, 2012Amazing...
-
View User Profile
-
Send Message
Posted Aug 3, 2012+1 Gimme! i like dev builds!