Advertisement
_JWB

1.8 Balancers (Optimization)

Dec 12th, 2016
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. # Skripted by ur boy buttlover101 with group setting help from DancingNinjas_ (antistone)
  2.  
  3.  
  4. options:
  5. P: &7[&aUHC&7]
  6.  
  7.  
  8. command /fireaspect <text>:
  9. permission: sk.op
  10. trigger:
  11. if arg-1 is "on" or "enable":
  12. set {fireless} to true
  13. message "&7[&a&lUHC&7]&f Fireaspect &cDisabled!"
  14. if arg-1 is "off" or "disable":
  15. delete {fireless}
  16. message "&7[&a&lUHC&7]&f Fireaspect &aEnabled!"
  17.  
  18.  
  19. on damage of a player:
  20. {fireless} is true
  21. projectile doesn't exist
  22. attacker is a player:
  23. wait 1 tick
  24. extinguish victim
  25.  
  26. command /bookshelves <text>:
  27. permission: sk.op
  28. trigger:
  29. if arg-1 is "on" or "enable":
  30. set {bk} to true
  31. message "&7[&a&lUHC&7]&f Bookshelves &cDisabled!"
  32. if arg-1 is "off" or "disable":
  33. delete {bk}
  34. message "&7[&a&lUHC&7]&f Bookshelves &aEnabled!"
  35.  
  36. on craft of 47:
  37. {bk} is true:
  38. cancel event
  39. message "&aBookshelves are &coff!"
  40.  
  41.  
  42.  
  43. command /antistone <text>:
  44. usage: /antistone <on/off>
  45. aliases: /stone
  46. trigger:
  47. if arg 1 is "on" or "enable":
  48. set {antistone::%player%} to player
  49. send "{@P} &aYou have turned &2off&a 1.8 blocks for yourself."
  50.  
  51. if arg 1 is "off" or "disable":
  52. delete {antistone::%player%}
  53. send "{@P} &aYou have turned &2on&a 1.8 blocks for yourself."
  54.  
  55. on mine of 1:5:
  56. if {antistone::%player%} is set:
  57. cancel the event
  58. damage player's tool by 1
  59. set event-block to air
  60. if player has space for (1 of cobblestone):
  61. give player (1 of cobblestone)
  62. else:
  63. drop (1 of cobblestone) at (location 0.5 above player)
  64.  
  65. on mine of 1:3:
  66. if {antistone::%player%} is set:
  67. cancel the event
  68. damage player's tool by 1
  69. set event-block to air
  70. if player has space for (1 of cobblestone):
  71. give player (1 of cobblestone)
  72. else:
  73. drop (1 of cobblestone) at (location 0.5 above player)
  74.  
  75. on mine of 1:1:
  76. if {antistone::%player%} is set:
  77. cancel the event
  78. damage player's tool by 1
  79. set event-block to air
  80. if player has space for (1 of cobblestone):
  81. give player (1 of cobblestone)
  82. else:
  83. drop (1 of cobblestone) at (location 0.5 above player)
  84.  
  85.  
  86. command /antistonereset:
  87. permission: sk.op
  88. trigger:
  89. delete {antistone::*}
  90. broadcast "{@P} &eReset 1.8 blocks! Make sure to retoggle them using /antistone <on/off>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement