Jump to content

Punish Gui Skript (AdvancedBan)


Recommended Posts

command /punish [<offline player>]:
   permission: punish.sk 
   permission message: &cPermission Denied!
   trigger:
      if arg 1 isn't set:
         send "&b/punish (player)" to player
      if arg 1 is set:
         open chest inventory with 6 rows named "&4&lPunishments" to player
         set {P} to arg 1
         set slot 10 of player's current inventory to Book And Quill named "&a&lChat Offenses" with lore "&7Verbal Abuse, Spam, Harassment, Trolling, Etc"
         set slot 19 of player's current inventory to Ink Sac named "&a&lSeverity 1" with lore "&fMute Duration&f: &e1 Hour" and "" and "&7Light Spam" and "&fSending the same message 2-5 times" and "" and "&7Light Advertising" and "&fanyone want to play on minecade?" and "" and "&7Light Abuse&7/&7Harassment" and "&fyoure such a hacker!" and ""
         set slot 28 of player's current inventory to Ink Sac named "&a&lSeverity 2" with lore "&fMute Duration&f: &e1 Week" and "" and "&7Medium Spam" and "&fSending the same message 6-20 times" and "" and "&7Medium Advertising" and "&fjoin trash.server.net" and "" and "&7Medium Abuse&7/&7Harassment" and "&fyoure terrible, learn to play" and "&ftrash off you stupid noob" and "" and "&7Avoiding Chat Filter" and "&fI_KS YOU" and ""
         set slot 37 of player's current inventory to Ink Sac named "&a&lSeverity 3" with lore "&fMute Duration&f: &e1 Month" and "" and "&7Severe Spam" and "&fSending the same message 20+ times" and "&fSpam bot" and "" and "&7Severe Abuse&7/&7Harassment" and "&fGO DIE" and ""
         set slot 12 of player's current inventory to hopper named "&a&lGeneral Offenses" with lore "&7Command/Map/Class/Skill exploits, etc"
         set slot 21 of player's current inventory to Ink Sac named "&a&lSeverity 1" with lore "&fBan Duration&f: &e1 Hour" and "" and "&7Team Killing" and "&fIntentionally killing your team" and "" and "&7Trolling (Gameplay)" and "&fUsing abilities to trap players in spawn" and "" and "&7Map/Bug Exploiting" and "&fAbusing an exploit to gain an advantage" and ""
         set slot 14 of player's current inventory to Iron Sword named "&a&lClient Mod Offenses" with lore "&7X-ray, Forcefield, Speed, Fly, Inventory Hacks, Etc"
         set slot 23 of player's current inventory to Ink Sac named "&a&lSeverity 1" with lore "&fBan Duration&f: &e1 Day" and "" and "&7Examples" and "&fDamage Indicators" and "&fPlayer Rader" and ""
         set slot 32 of player's current inventory to Ink Sac named "&a&lSeverity 2" with lore "&fBan Duration&f: &e1 Week" and "" and "&7Examples" and "&fForcefield" and "&fSpeed Hack" and "&fReach Hack" and "&fOther Hack" and "&cFirst Offense Only!" and ""
         set slot 41 of player's current inventory to Ink Sac named "&a&lSeverity 3" with lore "&fBan Duration&f: &e1 Month" and "" and "&7Examples" and "&fForcefield" and "&fSpeed Hack" and "&fReach Hack" and "&fFly Hack" and "&fOther Hack" and "&cAlso for secon offenders!" and ""
         set slot 25 of player's current inventory to paper named "&a&lPermanent Mute" with lore "&fMute Duration&f: &ePermanent" and "" and "&7Severe Advertising" and "&fJOIN MINECADE! THIS SERVER IS TRASH" and "" and "&7Other Severe Offense" and "&fDDOS Threars/Death Threats ETC" and ""
         set slot 34 of player's current inventory to redstone block named "&a&lPermanent Ban" with lore "&fBan Duration&f: &ePermanent" and "" and "&7Severe Threats" and "&fKILL THEM ALL WERE GOING TO HACK THE SERVER!" and ""
         set slot 0 of player's current inventory to black stained glass pane named " "
         set slot 1 of player's current inventory to black stained glass pane named " "
         set slot 2 of player's current inventory to black stained glass pane named " "
         set slot 3 of player's current inventory to black stained glass pane named " "
         set slot 4 of player's current inventory to black stained glass pane named " "
         set slot 5 of player's current inventory to black stained glass pane named " "
         set slot 6 of player's current inventory to black stained glass pane named " "
         set slot 7 of player's current inventory to black stained glass pane named " "
         set slot 8 of player's current inventory to black stained glass pane named " "
         set slot 9 of player's current inventory to black stained glass pane named " "
         set slot 11 of player's current inventory to black stained glass pane named " "
         set slot 13 of player's current inventory to black stained glass pane named " "
         set slot 15 of player's current inventory to black stained glass pane named " "
         set slot 16 of player's current inventory to black stained glass pane named " "
         set slot 17 of player's current inventory to black stained glass pane named " "
         set slot 18 of player's current inventory to black stained glass pane named " "
         set slot 20 of player's current inventory to black stained glass pane named " "
         set slot 22 of player's current inventory to black stained glass pane named " "
         set slot 24 of player's current inventory to black stained glass pane named " "
         set slot 26 of player's current inventory to black stained glass pane named " "
         set slot 27 of player's current inventory to black stained glass pane named " "
         set slot 29 of player's current inventory to black stained glass pane named " "
         set slot 30 of player's current inventory to black stained glass pane named " "
         set slot 31 of player's current inventory to black stained glass pane named " "
         set slot 33 of player's current inventory to black stained glass pane named " "
         set slot 35 of player's current inventory to black stained glass pane named " "
         set slot 36 of player's current inventory to black stained glass pane named " "
         set slot 38 of player's current inventory to black stained glass pane named " "
         set slot 39 of player's current inventory to black stained glass pane named " "
         set slot 40 of player's current inventory to black stained glass pane named " "
         set slot 42 of player's current inventory to black stained glass pane named " "
         set slot 43 of player's current inventory to black stained glass pane named " "
         set slot 44 of player's current inventory to black stained glass pane named " "
         set slot 45 of player's current inventory to black stained glass pane named " "
         set slot 46 of player's current inventory to black stained glass pane named " "
         set slot 47 of player's current inventory to black stained glass pane named " "
         set slot 48 of player's current inventory to black stained glass pane named " "
         set slot 49 of player's current inventory to black stained glass pane named " "
         set slot 50 of player's current inventory to black stained glass pane named " "
         set slot 51 of player's current inventory to black stained glass pane named " "
         set slot 52 of player's current inventory to black stained glass pane named " "
         set slot 53 of player's current inventory to black stained glass pane named " "

on inventory click:
       if name of player's current inventory contains "&4&lPunishments":
              cancel event
              close player's inventory 
              if index of event-slot is 19:
                     execute player command "/tempmute %{P}% 1h Spam//Advertising//Abuse/Harrassment"
              if index of event-slot is 21:
                     execute player command "/tempban %{P}% 1h Team Killing//Trolling (Gameplay)//Map/Bug Exploiting"
              if index of event-slot is 23:
                     execute player command "/tempban %{P}% 1d Damage Indicators//Player Rader"
              if index of event-slot is 25:
                     execute player command "/mute %{P}% Severe Advertising//DDOS threats//Death threats//ETC"
              if index of event-slot is 28:
                     execute player command "/tempmute %{P}% 1w Spam//Advertising//Abuse/Harrassment//Avoiding Chat Filter"
              if index of event-slot is 32:
                     execute player command "/tempban %{P}% 1w Forcefield//Speed//Reach//Other"
              if index of event-slot is 34:
                     execute player command "/ban %{P}% Severe Threats"
              if index of event-slot is 37:
                     execute player command "/tempmute %{P}% 1mo Spam//Abuse/Harrassment"
              if index of event-slot is 41:
                     execute player command "/tempban %{P}% 1mo Forcefield//Speed//Reach//Fly//Other"

Edited by OkayDang
redid it
Link to comment
Share on other sites

  • 2 years later...

sorry to necropost Great skript though could you add like if player has a punishment before it would add plus a way to set a custom punishment duration in the gui via like  a sign gui or smh of the sort

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...