Punishment
Punishment provides server staff with basic commands to moderate and keep the server in order. From warning to banning, Punishment has a range of helpful features to deal with players depending on the offence they make.
- Bukkit - view plugin on bukkit.org
- Spigot - view plugin on spigot.org
- Sponge - view plugin on spongepowered.org (coming soon)
- Punishment Discord Server - need quick support or have a suggestion? Come pop by!
- Punishment Source Code - fork, pull, clone, everything you need is here!
- Punishment Plugin Metrics - all those snazzy statistics!
Features
- Warning - Warn a player with a custom message. Warning a player will send them the custom message as a formal warning.
- Muting - Mute a player with a custom duration. Muting a player prevents them from sending chat messages. The player will remain muted upon disconnecting and re-connecting to the server.
- Freezing - Freeze a player with a custom duration. Freezing a player prevents them from moving, breaking blocks, placing blocks, interacting with the world, and running chat commands. The player will remain frozen upon disconnecting and re-connecting to the server.
- Jailing - Jail a player in a custom location with a custom duration. Jailing a player prevents them from breaking blocks, placing blocks, interacting with the world, and running chat commands. The player will remain jailed upon disconnecting and re-connecting to the server.
- Kicking - Kick a player with a custom message. Kicking a player will disconnect them from the server and display to them the custom message.
- Banning - Ban a player with a custom duration and message. Banning a player will disconnect them from the server and display to them the custom message, as well as prevent them from re-connecting to the server until the duration has expired or they have been manually unbanned. Banning supports SQLite and MySQL databases.
- Notes - Staff members can create, delete, view, and manage custom player notes to help keep track of players long-term.
- Tickets - Players can create support tickets that will be displayed to all online staff members. Staff members can claim, delete, view, and manage these tickets to help handle player support.
- Command Immunity - Prevent your Admins and higher ranks from being punished by lower ranks.
- Command Logging - Tired of searching through your server.log for things? All Punishment commands that are issued are logged under punishment.log for easy access.
- Language File - Completely customise almost all messages and colour codes within Punishment.
Installation
Drag and drop Punishment.jar into your servers plugin directory.
Configuration
View the default configuration here.
Commands
View the list of available commands here.
Permissions
View the list of available permissions here.
Language
Want to help translate Punishment and make it available in all languages? Simply grab the English lang.yml and upload your translated version to pastebin.com. Your help will be greatly appreciated!
Updates
Punishment will automatically search and notify you of any updates upon server start. If you wish to disable this feature, set the following Punishment config.yml setting: 'updates: false'
Metrics
Punishment utilises Metrics to collect useful information and sends it to mcstats.org. If you wish to disable this feature, set the following Punishment config.yml setting: 'metrics: false'
Planned Features
- /muteall, /freezeall, /kickall commands.
- IP bans.
- Improved /banimport to import bans from popular Bukkit plugins files/databases as well as import vanilla Bukkit bans.
- /banexport to export your bans to vanilla Bukkit bans as well as export a simple uuid list.
- Banned words and phrases.
- Add a 'strike' feature for staff members to give to players according to what offence they make. Strikes will accumulate and certain console commands can be run depending on the strike amount.
- Admin/Staff GUI menu.
- Config section to allow Punishment commands to be manually disabled.
- Command aliases to avoid conflicts with other plugins.
- Time parameter limits to avoid excessive punishment lengths.
When i jail someone, and they go offline, when they go back in game, they cant log in, it says: you cant run commands while jailed. How should i fix that? Please help ://
Maybe add the ability to remove certain things like in banhistory, you have things like Active: Length: etc maybe add some sort of toggle for that?
Maybe also adding a number in the banhistory message to show the times a person has been muted? Also adding mute reasons would be great!
Have been using this for a while and i love it!
Any way kicks can come up when doing /punishment check (user)?
Also is there a permission node for making a ticket? I only see permission nodes that gives all the permissions for the command subject
In reply to Limegreenicy:
I've been installing a few plugins on to my server, I was wondering if there was a way to download this plugin into my Aternos. I tried dragging it into the place where plugins are, and it didn't work. Can anybody help me? Thanks for your time.
In reply to TrueBlob:
Hey xDeeKay it's me :) how's development going on the update? I thought of another possible feature. An ability to clearchat would be pretty awesome!
Development is going well. Version 2.1 should be ready very soon packed with some new features. At the moment any chat related features are off my radar, however I will consider this for future versions.
Awesome I can't wait to see it :D
@ClumsyJack
This means that your MySQL server's max_allowed_packet is not large enough to handle the query. You will need to edit this value in your MySQL option file, more info can be found here: http://dev.mysql.com/doc/refman/5.7/en/option-files.html
Come join my Discord server for fast support.
@xDeeKay
Ok, I've done that. Now I'm getting this error: http://pastebin.com/JbmKwJ4e What does that mean?
@AngellitoX
kick-sender does not support the %message% tag as I didn't deem it necessary. I can add it to version 2.1 if you wish. Note: Each section in the language file only supports the tags that they have set by default.
Hello, I've tried to modify kick-sender just like this:
kick-sender: '&b%target% &7has been kicked. Reason: %reason%'
But %reason% seems not to work. I have also tried %message% without luck. Possibly a bug?
@ClumsyJack
Access denied for user 'sql8145411'@'fr25.server.pro'
This user does not have access to your database. Make sure you grant privileges to the user.
@xDeeKay http://imgur.com/3RUQUjV http://imgur.com/ZraH9Sq
@ClumsyJack
I'd be interested in seeing those errors.
Sorry for not replying sooner, I was busy. Anyway, I put the mysql server up and made sure the correct details are in the config, and it still doesn't work, and now loads of errors are coming up in console. I can't get them now, bit busy.
@AngellitoX
Currently there are no aliases for any commands, however I will add it to the to-do list and it should make its way into version 2.1 coming very soon.
Only ban info is stored in the databases, whereas jail, freeze, and mute are all temporary timers.
Cheers.
Hello, are there any aliases for /ban command in Punishment? I have a IRC bot that requests game console commands so in order to avoid conflicting between Essentials and Punishment /ban commands I'd like to use "pban" for specific Punishment ban system.
Another question, do bans get saved in MySQL database as well as jail, freeze and mute?
Thank you so much for further reply. Amazing plugin!
@xDeeKay oh wow. Just noticed the other owner accidently put the mysql server down.... but when it was up and connected, it still didn't work. But I will bring the mysql server backup, reconnect it and see if it works then. For now, don't worry about looking into anything