Jump to content

Mineplex Punish GUI


Recommended Posts

------------------------------------------- 

Made  by AustXnsheep

You can take credit if you want so have fun!

------------------------------------------- 

command /punish [<offline player>] <text>:
  aliases: /p
  permission: staff
  permission message: "&4What did you expect?"
  trigger:
    if arg-2 is not set:
      send "&9Punish> &7Commands List:"
      send "&6/punish &7<player> <reason> &6Mod"
    if arg-1 is not set:
      send "&9Punish> &7Commands List:"
      send "&6/punish &7<player> <reason> &6Mod"
    else:
      set {%player%.punish} to "%arg-1%"
      set {%player%.reason} to "%arg-2%"
      open virtual chest with 6 rows named "&4Punishing" to player 
      format gui slot 0 of player with sunflower named "&aMade by austxnsheep" with lore "&4Love &cYou"
      format gui slot 1 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 2 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 3 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 4 of player with skeleton skull named "&4%player%" with lore "&athe player you will be punishing for %arg-2%" to close
      format gui slot 5 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 6 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 7 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 8 of player with red stained glass pane named "&cPast &4Offense" with lore "&8A list of all past offenses" to close
      format gui slot 9 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 10 of player with book and quill named "&aChat offenses" with lore "Verbal Abuse, Spam, Harrassment, Trolling, etc" to close
      format gui slot 11 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!"
      format gui slot 12 of player with hopper named "&aGeneral offense" with lore "&fCommand/Map/Class/Skill exploits, etc"
      format gui slot 13 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!"
      format gui slot 14 of player with iron sword named "&aClient Mod" with lore "&aX-ray, Forcefield, Speed, Fly, Inventory Hacks, etc" to close
      format gui slot 15 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 16 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 17 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 18 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 19 of player with green dye named "&aSeverity 1" with lore "&aMute duration: &e10.0 Hours" to close
      format gui slot 20 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 21 of player with green dye named "&aSeverity 1" with lore "&aban duration: &e4.0 Hours " to close
      format gui slot 22 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 23 of player with green dye named "&aSeverity 1" with lore "&aban duration: &e1.0 Hours" to close
      format gui slot 24 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 25 of player with paper named "&aWarning" with lore "" to close
      format gui slot 26 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 27 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 28 of player with yellow dye named "&aSeverity 2" with lore "&aMute duration: &e10.0 Days " to close
      format gui slot 29 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 30 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 31 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 32 of player with yellow dye named "&aSeverity 2" with lore "&aban duration: &e30.0 Days" to close
      format gui slot 33 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 34 of player with redstone block named "&aPermanent Ban" with lore "&fBan Duration: &ePermanent" to close
      format gui slot 35 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 36 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 37 of player with red dye named "&aSeverity 3" with lore "&aMute duration: &e30.0 Days " to close
      format gui slot 38 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 39 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 40 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 41 of player with red dye named "&aSeverity 3" with lore "&aban duration: &e30.0 Days" to close
      format gui slot 42 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 43 of player with book and quill named "&aPermanent Mute" with lore "&fMute Duration: &ePermanent" to close
      format gui slot 44 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 45 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 46 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 47 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 48 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 49 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 50 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 51 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 52 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close
      format gui slot 53 of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close

on inventory click:
    if inventory name of player's current inventory is "&4Punishing":
        if clicked slot is 19:
            make player execute command "/tempmute %{%player%.punish}% 1h %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 8:
            make player execute command "/history %{%player%.punish}%"
            cancel event
            close player's inventory
        if clicked slot is 25:
            make player execute command "/warn %{%player%.punish}% %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 23:
            make player execute command "/tempban %{%player%.punish}% 1h %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 21:
            make player execute command "/tempban %{%player%.punish}% 4h %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 34:
            make player execute command "/ban %{%player%.punish}% %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 32:
            make player execute command "/tempban %{%player%.punish}% 30d %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 28:
            make player execute command "/tempmute %{%player%.punish}% 10d %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 43:
            make player execute command "/tempmute %{%player%.punish}% %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 37:
            make player execute command "/tempmute %{%player%.punish}% 30d %{%player%.reason}%"
            cancel event
            close player's inventory
        if clicked slot is 41:
            make player execute command "/tempban %{%player%.punish}% 1w %{%player%.reason}%"
            cancel event
            close player's inventory

Link to comment
Share on other sites

instead of making 1000 lines for the panes, you can use:
 

format gui slot 1,2,3,4,5,6,etc. of player with white stained glass pane named " " with lore "&aMade by &eAustXnsheep!" to close

 

  • Like 1

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

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...