Jump to content

Punishments Skript


Recommended Posts

Posted (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:

        image.png.e6633c00ac558e5373f9ca1489801c30.png

Player Kick Message

        image.png.8b76dd5799af8469065c44f41ab5213b.png

Player Ban Message (Temporary)

        image.png.99e1f05fc5b6bf7e659d7aef36037678.png

        image.thumb.png.de9f34faee79fb8e0c51a19b8ad08469.png

Player Blacklist Message (Permanent) - Blacked out username, don't want my alt known!

        image.png.8263818ee69a473e31aacec5aa409668.png

Staff Player History Menu (Bans)

        image.png.a60cfe186c1993090d7d4a7370a359d6.png

 

Alternate Accounts Menu - Blurred my alt's username and skin once again.

        image.png.ce9f39c34afedd4925379febcf576330.png

 

The Skript file is attached to this post.

minehut-punishments-skript.sk

Edited by PrecedingMC
Added "permissions-prefix" option + fixed bug where providing invalid durations would work.

Preceding

Java & Kotlin Developer

image.png.a5242eed42a556669fac09e7187b61f1.png

image.png.022cd7123062b55fd91704851cb1f0b6.png

image.png.e5d23aba33b366e60a9276736c674901.png

Link to comment
Share on other sites

  • 3 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...