Punishment
This plugin was created to allow server admins to punish other players in their server. The admins are allowed to warn players, temporarily mute and ban players and permanently mute and ban players! This plugin uses a custom inventory GUI that contains the buttons to perform the punishments.
How to use**
Put the PunishmentGUI.jar into your plugins directory
Restart or reload your server
Add the permissions to whomever is using it
Use the command: /punish <player> <reason> to open the GUI
Optionally:
Edit config to change temporary ban and mute expiration (seconds)
Edit all the messages to use your server's message format
Message arguments:
{message_prefix} - The prefix before the message
{message_suffix} - The suffix after the message
{reason} - The reason the player was punished
{date} - The date the punishment was given
{expiration} - The date the temporary punishment expires
{punished} - The punished player's name
{punisher} - The punisher's player's name
{remover} - The player's name who removed the punishment
{remove_reason} - The reason the punishment was removed
Permissions
punish.use - Gives the ability to use the punishment GUI
punish.temp_mute - Gives the ability to temporarily mute a player
punish.temp_ban - Gives the ability to temporarily ban a player
punish.perm_mute - Gives the ability to permanently mute a player
punish.perm_ban - Gives the ability to permanently ban a player
punish.protected - Makes the player invulnerable to punishments
Comments