PrecedingMC Posted May 14 Share Posted May 14 (edited) Hey all! So recently, my friend was looking for a punishment system for his new server, so I decided to make one quickly in Skript. I've decided to release this to you all to help new servers punish rule breakers quickly and efficiently. Important Information Blacklists are IP bans. Unfortunately, I was unable to figure out how to sort punishments in the history GUI by date, it's actually sorted the exact opposite. For example, the latest punishment would be on the second page if the player had two pages of punishments; the first punishment they were ever issued would be the first entry in the history menu. I never intended on actually releasing this to the public, so it may be kind of messy (based on some people's opinion)... I also barely do Skript I may help some people a bit, but please don't expect a response. If there are any bugs, you're more than welcome to reply here and tell me about them, but I also can't guarantee a fix on that. The date format I used in the history GUI screenshot below is MM/dd/yy hh:mm:ss a. This can be edited in your Skript's config.sk file under date format. I did not make the function getTimeString; this is simply from a utils skript I have, I'm not sure where it came from. How To Install Required Plugins: Skript Skript-GUI Installation Process: Head over to the plugins/Skript/scripts directory and upload the minehut-punishments-skript.sk file. After doing that, type /sk reload minehut-punishments-skript.sk in-game, and it should now be installed on your server. Additionally: Head into the minehut-punishments-skript.sk file and change the discord-url option to be your Discord server's URL. Features Commands: /warn <player> <reason> Issues a warning to a player /kick <player> <reason> Issues a kick to a player. This requires the given player to be online. /tempmute <player> <duration> <reason> Issues a temporary mute to a player. /mute <player> <reason> Issues a permanent mute to a player. /tempban <player> <duration> <reason> Issues a temporary ban to a player. /ban <player> <reason> Issues a permanent ban to a player. /tempblacklist <player> <duration> <reason> Issues a temporary blacklist to a player. /blacklist <player> <duration> <reason> Issues a blacklist to a player. /history <player> View the punishments of a player. /alts <player> View the alternate accounts of a player. Screenshots Staff & Player Warn Message: Player Kick Message Player Ban Message (Temporary) Player Blacklist Message (Permanent) - Blacked out username, don't want my alt known! Staff Player History Menu (Bans) Alternate Accounts Menu - Blurred my alt's username and skin once again. The Skript file is attached to this post. minehut-punishments-skript.sk Edited May 15 by PrecedingMC Added "permissions-prefix" option + fixed bug where providing invalid durations would work. Preceding Java & Kotlin Developer Link to comment Share on other sites More sharing options...
nmazey Posted June 1 Share Posted June 1 The best Skript ever!!!! Nmazey Hello I'm nmazey and I joined minehut in 2014 but left because It was super TRASH! and played other servers... But in 2015 I joined back and saw the in-game gui and I left because i thought That it was still a towny server.. 2 years later I realised that I saw lots of youtube videos about minehut so I joined again and found out it's not an towny server anymore saw free minecraft servers! Then I started to make a minehut server called foxboxy, newwolf and more but today in 2024 I have 62 servers and I have the VIP rank and switched to bedrock Link to comment Share on other sites More sharing options...
JellyJumper Posted June 7 Share Posted June 7 really good skript preceding UPVOTE IF THIS HELPED Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now