Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /punishments [<offline player>]:
- trigger:
- set {_mainperm} to "punish.main"
- set {_prefix} to "&c&lPunishment &7»"
- if player has permission "%{_mainperm}%":
- if arg 1 isn't set:
- message "&4&l&m---&7&l&m---&7&l[&c&l NAME HERE&7&l ]&m---&4&l&m---"
- message ""
- message "%{_prefix}% /punish &c<player>"
- message ""
- message "&7&m------------------------"
- if arg 1 is set:
- set {_p} to arg-1
- open virtual chest with size 6 named "&c&lPunishments&7 for %{_p}%" to player
- #----------------
- # This small part is just indicating the
- # slots that the black stained glass will
- # be put in the virtual GUI chest
- #
- #
- #
- format gui slot (all integers between 0 and 8, 9 and 17 and 18 and 26 and 27 and 35 and 36 and 44, all integers between 45 and 53) of player with black stained glass pane named "&e" with lore "&e"
- # to add more the lore, all you will be doing after the ( with lore "") and adding an (and "")
- format gui slot 13 of player with arg-1's skull named " &c&n&l%arg-1%" with lore "&7Add information to the lore" and "&7more text on forth."
- #--------------------
- # This section is for the WARNINGS
- #
- #
- #
- format gui slot 20 of player with book named " &c&l&nWARNS" with lore "&7┏&e&lTIPS" and "&7┠ &oClick on the book" and "&7┠ &owill allow you to" and "&7┠ &oopen a seperate" and "&7┠ &omenu for more warn" and "&7┗ &ooperations that see fit!" to run using "left" click:
- open virtual chest with size 5 named "&c&lWARN&7's for %{_p}%" to player
- format gui slot 20 of player with paper named "&e1 &7Warning" with lore "&7Punishment Type: &a&lWarn" and "&7Warn Duration: &e" and "&7Offence: &e1 &7warn" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 21 of player with paper named "&e2 &7Warning" with lore "&7Punishment Type: &a&lWarn" and "&7Warn Duration: &e" and "&7Offence: &e2 &7warn" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 22 of player with paper named "&e3 &7Warning" with lore "&7Punishment Type: &a&lWarn" and "&7Warn Duration: &e" and "&7Offence: &e3 &7warn" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 23 of player with paper named "&e4 &7Warning" with lore "&7Punishment Type: &a&lWarn" and "&7Warn Duration: &e" and "&7Offence: &e4 &7warn" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 24 of player with paper named "&e5 &7Warning" with lore "&7Punishment Type: &a&lWarn" and "&7Warn Duration: &e" and "&7Offence: &e5 &7warn" to close:
- make player execute command "" and ""
- format gui slot (all integers between 0 and 8, 9 and 17 and 18 and 26 and 27 and 35, all integers between 35 and 44) of player with black stained glass pane named "&e" with lore "&e"
- format gui slot 28 of player with ("MHF_ArrowLeft" parsed as offline player)'s skull named "&a&lClick to go back!" to run using "left" click:
- make player execute command "/punishments %{_p}%"
- #
- #
- #
- # End of the warning sections
- #------------------
- #------------------
- # Start of the muting sections
- #
- #
- #
- format gui slot 22 of player with book named " &c&l&nMUTES" with lore "&7┏&e&lTIPS" and "&7┠ &oClick on the book" and "&7┠ &owill allow you to" and "&7┠ &oopen a seperate" and "&7┠ &omenu for more mute" and "&7┗ &ooperations that see fit!" to run using "left" click:
- open virtual chest with size 5 named "&c&lMUTES&7's for %{_p}%" to player
- format gui slot 20 of player with paper named "&e1 &7Muting" with lore "&7Punishment Type: &a&lMute" and "&7Mute Duration: &e" and "&7Offence: &e1 &7mute" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 21 of player with paper named "&e2 &7Muting" with lore "&7Punishment Type: &a&lMute" and "&7Mute Duration: &e" and "&7Offence: &e2 &7mute" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 22 of player with paper named "&e3 &7Muting" with lore "&7Punishment Type: &a&lMute" and "&7Mute Duration: &e" and "&7Offence: &e3 &7mute" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 23 of player with paper named "&e4 &7Muting" with lore "&7Punishment Type: &a&lMute" and "&7Mute Duration: &e" and "&7Offence: &e4 &7mute" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 24 of player with paper named "&e5 &7Muting" with lore "&7Punishment Type: &a&lMute" and "&7Mute Duration: &e" and "&7Offence: &e5 &7mute" to close:
- make player execute command "" and ""
- format gui slot (all integers between 0 and 8, 9 and 17 and 18 and 26 and 27 and 35, all integers between 35 and 44) of player with black stained glass pane named "&e" with lore "&e"
- format gui slot 28 of player with ("MHF_ArrowLeft" parsed as offline player)'s skull named "&a&lClick to go back!" to run using "left" click:
- make player execute command "/punishments %{_p}%"
- #
- #
- #
- # End of the Muting sections
- #-------------------
- #------------------
- # Start of the ban sections
- #
- #
- #
- format gui slot 24 of player with book named " &c&l&nTEMPBANS" with lore "&7┏&e&lTIPS" and "&7┠ &oClick on the book" and "&7┠ &owill allow you to" and "&7┠ &oopen a seperate" and "&7┠ &omenu for more tempban" and "&7┗ &ooperations that see fit!" to run using "left" click:
- open virtual chest with size 5 named "&c&lTEMPBAN&7's for %{_p}%" to player
- format gui slot 20 of player with paper named "&e1 &7Tempban" with lore "&7Punishment Type: &a&lTempban" and "&7Tempban Duration: &e" and "&7Offence: &e1 &7Tempban" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 21 of player with paper named "&e2 &7Tempban" with lore "&7Punishment Type: &a&lTempban" and "&7Tempban Duration: &e" and "&7Offence: &e2 &7Tempban" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 22 of player with paper named "&e3 &7Tempban" with lore "&7Punishment Type: &a&lTempban" and "&7Tempban Duration: &e" and "&7Offence: &e3 &7Tempban" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 23 of player with paper named "&e4 &7Tempban" with lore "&7Punishment Type: &a&lTempban" and "&7Tempban Duration: &e" and "&7Offence: &e4 &7Tempban" to close:
- make player execute command "" and "" # Here is where you will be adding the commands you want, if you only want 1 command just remove ( and "")
- format gui slot 24 of player with paper named "&e5 &7Tempban" with lore "&7Punishment Type: &a&lTempban" and "&7Tempban Duration: &e" and "&7Offence: &e5 &7Tempban" to close:
- make player execute command "" and ""
- format gui slot (all integers between 0 and 8, 9 and 17 and 18 and 26 and 27 and 35, all integers between 35 and 44) of player with black stained glass pane named "&e" with lore "&e"
- format gui slot 28 of player with ("MHF_ArrowLeft" parsed as offline player)'s skull named "&a&lClick to go back!" to run using "left" click:
- make player execute command "/punishments %{_p}%"
- #
- #
- #
- # End of the Muting sections
- #-------------------
- #
- #
- #
- #
- #
- # Ending of main virtual GUI
- #-----------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement