SHARE
TWEET

Punishments.sk

a guest Jun 19th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /punishments [<offline player>]:
  2.     trigger:
  3.         set {_mainperm} to "punish.main"
  4.         set {_prefix} to "&c&lPunishment &7»"
  5.         if player has permission "%{_mainperm}%":
  6.             if arg 1 isn't set:
  7.                 message "&4&l&m---&7&l&m---&7&l[&c&l NAME HERE&7&l ]&m---&4&l&m---"
  8.                 message ""
  9.                 message "%{_prefix}% /punish &c<player>"
  10.                 message ""
  11.                 message "&7&m------------------------"
  12.             if arg 1 is set:
  13.                 set {_p} to arg-1
  14.                 open virtual chest with size 6 named "&c&lPunishments&7 for %{_p}%" to player
  15. #----------------
  16. # This small part is just indicating the
  17. # slots that the black stained glass will
  18. # be put in the virtual GUI chest
  19. #
  20. #
  21. #
  22.                 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"
  23.                
  24.                 # to add more the lore, all you will be doing after the ( with lore "") and adding an (and "")
  25.                 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."
  26.         #--------------------
  27.         # This section is for the WARNINGS
  28.         #
  29.         #
  30.         #
  31.                 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:
  32.                     open virtual chest with size 5 named "&c&lWARN&7's for %{_p}%" to player
  33.                    
  34.                     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:
  35.                         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 "")
  36.                     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:
  37.                         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 "")
  38.                     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:
  39.                         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 "")
  40.                     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:
  41.                         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 "")
  42.                     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:
  43.                         make player execute command "" and ""
  44.                
  45.                     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"
  46.                     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:
  47.                         make player execute command "/punishments %{_p}%"
  48.         #
  49.         #
  50.         #
  51.         # End of the warning sections
  52.         #------------------
  53.        
  54.        
  55.         #------------------
  56.         # Start of the muting sections
  57.         #
  58.         #
  59.         #
  60.                 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:
  61.                     open virtual chest with size 5 named "&c&lMUTES&7's for %{_p}%" to player
  62.        
  63.                     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:
  64.                         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 "")
  65.                     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:
  66.                         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 "")
  67.                     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:
  68.                         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 "")
  69.                     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:
  70.                         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 "")
  71.                     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:
  72.                         make player execute command "" and ""
  73.        
  74.                     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"
  75.                     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:
  76.                         make player execute command "/punishments %{_p}%"      
  77.         #
  78.         #
  79.         #
  80.         # End of the Muting sections
  81.         #-------------------
  82.        
  83.         #------------------
  84.         # Start of the ban sections
  85.         #
  86.         #
  87.         #
  88.                 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:
  89.                     open virtual chest with size 5 named "&c&lTEMPBAN&7's for %{_p}%" to player
  90.  
  91.                     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:
  92.                         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 "")
  93.                     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:
  94.                         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 "")
  95.                     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:
  96.                         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 "")
  97.                     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:
  98.                         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 "")
  99.                     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:
  100.                         make player execute command "" and ""
  101.        
  102.                     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"
  103.                     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:
  104.                         make player execute command "/punishments %{_p}%"      
  105.         #
  106.         #
  107.         #
  108.         # End of the Muting sections
  109.         #-------------------
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. #
  117. #
  118. #
  119. #
  120. #
  121. # Ending of main virtual GUI
  122. #-----------------
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top