Advertisement
Guest1221

Punish

Jan 21st, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. command /punish <player>:
  2. trigger:
  3. if player has permission "punish.admin":
  4. open chest with 3 rows named "&cPunishment Menu" for player
  5. format slot 4 of player with arg-1's skull named "&c%arg-1%" to run "tell %player% &c%arg-1%"
  6. format slot 19 of player with 1 diamond ore named "&cX-Ray" to run "tempban %arg-1% 1d X-Ray"
  7. format slot 21 of player with 1 diamond sword named "&cMalicious Hacks" to run "tempban %arg-1% 1d Malicious Hacks"
  8. format slot 23 of player with 1 wooden sword named "&cNon-Malicious Hacks" to run "tempban %arg-1% 12h Non-Malicious Hacks"
  9. format slot 25 of player with 1 command block named "&cAdvertising" to run "mute %arg-1% 1d"
  10.  
  11. command /X-Ray <player>:
  12. trigger:
  13. if player has permission "punish.admin":
  14. make console execute "tempban %arg-1% 1d X-Ray"
  15. else:
  16. send "&cYou Do Not Have Permission."
  17. command /Malicious <player>:
  18. trigger:
  19. if player has permission "punish.player":
  20. make console execute "tempban %arg-1% 1d Malicious Hacks"
  21. else:
  22. send "&cYou Do Not Have Permission."
  23. command /Non-Malicious <player>:
  24. trigger:
  25. if player has permission "punish.player":
  26. make console execute "tempban %arg-1% 1d Malicious Hacks"
  27. else:
  28. send "&cYou Do Not Have Permission."
  29. command /Advertise <player>:
  30. trigger:
  31. if player has permission "punish.player":
  32. make console execute "mute %arg-1% 1d"
  33. else:
  34. send "&cYou Do Not Have Permission."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement