Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Perm: uhc.staff
- P: &f[&bKrenzinator&f]
- C: &b
- H: &f
- command /Krenzinator <text>:
- permission: {@Perm}
- usage: /Krenzinator <On:Off>
- trigger:
- if arg-1 is "enable" or "on":
- set {Krenzinator} to true
- broadcast "{@P}{@C} Krenzinator {@H}Enabled{@C}!"
- command "/sk enable Krenzinator"
- register new shaped recipe for 1 diamond with lore "&c&oKrenzinator Diamond" using redstone block, redstone block, redstone block, redstone block, redstone block, redstone block, redstone block, redstone block, redstone block
- if arg-1 is "disable" or "off":
- delete {Krenzinator}
- command "/sk disable Krenzinator"
- broadcast "{@P}{@C} Krenzinator {@H}Disabled{@C}!"
- register new shaped recipe for air using redstone block, redstone block, redstone block, redstone block, redstone block, redstone block, redstone block, redstone block, redstone block
- on damage:
- if {Krenzinator} is true:
- damage is caused by projectile
- projectile is egg
- damage the victim by 0.5 hearts
- send "{@P}{@C} Because the is Krenzinator %victim% took 0.5 hearts from your egg" to the attacker
- send "{@P}{@C} Because the is Krenzinator %attacker%'s egg made you take 0.5 hearts" to the victim
- on craft of diamond sword:
- if {Krenzinator} is true:
- damage the player by 1 hearts
- message "{@P}{@C} This is Krenzinator, he hates diamond swords. You just lost a heart because of this."
- on craft of redstone:
- if {Krenzinator} is true:
- cancel event
- message "{@P}{@C} This is Krenzinator, you cannot make redstone in this gamemode."
- on vehicle enter:
- set {_player} to (event-entity's passenger)
- {Krenzinator} is true
- event-entity is a horse
- make {_player} dismount
- message "{@P}{@C} This is Krenzinator, you cannot ride horses in this gamemode."
- on portal:
- {Krenzinator} is true
- cancel the event
- message "{@P}{@C} This is Krenzinator, go into the nether in this gamemode."
Advertisement
Add Comment
Please, Sign In to add comment