Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- B:&6BowFighter §8»
- command /BowFighters [<text>]:
- trigger:
- if arg-1 is "on" or "enable":
- broadcast "{@B} §aenable"
- set {BowFighters} to true
- if arg-1 is "off" or "disable":
- broadcast "{@B} §cdisable"
- set {BowFighters} to false
- if arg-1 is "give":
- give 1 arrow to all players
- give 2 string to all players
- give 1 enchanted book of Infinity 1 to all players
- if arg-1 is not set:
- send "{@B} §8(§aon§8/§coff§8)"
- on enchant prepare:
- if event-item is a sword:
- if {BowFighters} is true:
- cancel event
- send "{@B} §cYou can not enchant any sword in this gamemode!"
- on anvil combine:
- if event-item-one is a sword:
- if {BowFighters} is true:
- cancel event
- send "{@B} §cYou can not combine any sword in this gamemode!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement