Advertisement
_JWB

Barebones

Dec 12th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. command /barebones <text>:
  2. permission: skript.op
  3. trigger:
  4. if arg-1 is not set:
  5. message "&7[&cPermission Denied&7]"
  6. else:
  7. if arg-1 is equal to "enable" or "true" or "on":
  8. set {barebones} to true
  9. broadcast "&f&lBarebones - &aEnabled"
  10. if arg-1 is equal to "disable" or "false" or "off":
  11. delete {barebones}
  12. broadcast "&f&lBarebones - &cDisabled"
  13.  
  14.  
  15. on craft of golden apple or anvil or enchantment table:
  16. {barebones} is true:
  17. cancel event
  18. message "&f&lDid you forget it's &cBarebones?"
  19.  
  20.  
  21.  
  22. on mine of gold ore or diamond ore:
  23. {barebones} is true:
  24. {cutclean} is false:
  25. cancel event
  26. set block to air
  27. drop 1 iron ore at event-block
  28. else:
  29. drop 1 iron ingot at event-block
  30.  
  31.  
  32.  
  33.  
  34. on death of player:
  35. {barebones} is true:
  36. drop 1 diamond at victim
  37. drop 2 string at victim
  38. drop 32 arrow at victim
  39. drop 1 golden apple at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement