DireStrikes
A lightweight plugin to keep track of player misbehavior in the form of "strikes". Allowing you to see a player's strikes, edit them, and see the players with the top strikes. I was searching around for a plugin that did this and could not find any updated one, so I decided to let it be my first plugin.
Commands
/getstrikes [player] - Tells you the strikes of whatever player you tell it
/addstrike [player] - Adds a strike to that player
/removestrike [player] - Removes a strike from that player
/setstrikes [player] [amount] - Sets the strikes of that player to the amount specified
/topstrikes [amount to display] - Tells you the players with the most strikes (displays the amount you tell it)
/dsreload - Reloads the config file. Any changes made to the file will be applied, and a new one will be made if it's missing.
Permissions
direstrikes.getstrikes - Allows you to use /getstrikes
direstrikes.addstrike - Allows you to use /addstrike
direstrikes.removestrike - Allows you to use /removestrike
direstrikes.setstrikes - Allows you to use /setstrikes
direstrikes.topstrikes - Allows you to use /topstrikes
direstrikes.reload - Allows you to use /dsreload
direstrikes.* - Allows you to use all DireStrikes commands
For those without permissions, the commands are default to players who are op
Configuration
The config file will have a list of all the players that joined, and is sorted as:
Player's UUID
-Player Name
-Player's Strikes
Comments