Advertisement
Guest User

Untitled

a guest
Jul 9th, 2014
789
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. variables:
  2. {barebones}=false
  3.  
  4. command /barebones <text>:
  5. permission: skript.op
  6. trigger:
  7. if arg 1 is "enable":
  8. if {barebones} is false:
  9. set {barebones} to true
  10. broadcast "<orange>Barebones <purple>is now enabled!"
  11. stop
  12. if {barebones} is true:
  13. message "<red>Barebones is already enabled!"
  14. stop
  15. if arg 1 is "disable":
  16. if {barebones} is true:
  17. set {barebones} to false
  18. broadcast "<orange>Barebones <purple>is now disabled!"
  19. stop
  20. if {barebones} is false:
  21. message "<red>Barebones is already disabled!"
  22. stop
  23. if arg 1 is "toggle":
  24. if {barebones} is true:
  25. set {barebones} to false
  26. broadcast "<orange>Barebones <purple>is now disabled!"
  27. stop
  28. if {barebones} is false:
  29. set {barebones} to true
  30. broadcast "<orange>Barebones <purple>is now enabled!"
  31. stop
  32.  
  33. on mine of gold ore:
  34. if {barebones} is true:
  35. set the block to air
  36. cancel the event
  37. drop 1 iron ingot
  38.  
  39.  
  40. on mine of diamond ore:
  41. if {barebones} is true:
  42. set the block to air
  43. cancel the event
  44. drop 1 iron ingot
  45.  
  46.  
  47. on craft of enchantment table:
  48. if {barebones} is true:
  49. cancel the event
  50.  
  51. on craft of anvil:
  52. if {barebones} is true:
  53. cancel the event
  54.  
  55. on craft of golden apple:
  56. if {barebones} is true:
  57. cancel the event
  58.  
  59. on death of a player:
  60. if {barebones} is true:
  61. drop 1 golden apple at the player
  62. drop 1 diamond at the player
  63. drop 32 arrows at the player
  64. drop 2 string at the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement