Advertisement
Guest User

Cluttered Inventory Skript

a guest
Nov 4th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # Skript made by Maximus
  2. # Idea by MeowNawn
  3.  
  4. options:
  5. P: &7[&aCluttered Inventory&7]
  6.  
  7.  
  8. command /clutteredinv <text>:
  9. permission: skript.op
  10. trigger:
  11. if arg-1 is "enable" or "on":
  12. set {clutteredinv} to true
  13. broadcast "{@P} &2has been enabled!"
  14. if arg-1 is "disable" or "off":
  15. set {clutteredinv} to false
  16. broadcast "{@P} &4has been disabled!"
  17.  
  18.  
  19. on drop:
  20. if {clutteredinv} is true:
  21. cancel the event
  22.  
  23. on craft of a chest:
  24. if {clutteredinv} is true:
  25. cancel the event
  26.  
  27.  
  28. on craft of a dropper:
  29. if {clutteredinv} is true:
  30. cancel the event
  31.  
  32. on craft of a dispenser:
  33. if {clutteredinv} is true:
  34. cancel the event
  35.  
  36. on craft of a hopper:
  37. if {clutteredinv} is true:
  38. cancel the event
  39.  
  40. on craft of 342:
  41. if {clutteredinv} is true:
  42. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement