Advertisement
Haon

BowFighters (Sam's Version) [SK]

Jan 21st, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. options:
  2. B:&6BowFighter §8»
  3.  
  4. command /BowFighters [<text>]:
  5. trigger:
  6. if arg-1 is "on" or "enable":
  7. broadcast "{@B} §aenable"
  8. set {BowFighters} to true
  9. if arg-1 is "off" or "disable":
  10. broadcast "{@B} §cdisable"
  11. set {BowFighters} to false
  12. if arg-1 is "give":
  13. give 1 arrow to all players
  14. give 2 string to all players
  15. give 1 enchanted book of Infinity 1 to all players
  16. if arg-1 is not set:
  17. send "{@B} §8(§aon§8/§coff§8)"
  18.  
  19. on enchant prepare:
  20. if event-item is a sword:
  21. if {BowFighters} is true:
  22. cancel event
  23. send "{@B} §cYou can not enchant any sword in this gamemode!"
  24.  
  25. on anvil combine:
  26. if event-item-one is a sword:
  27. if {BowFighters} is true:
  28. cancel event
  29. send "{@B} §cYou can not combine any sword in this gamemode!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement