Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- wand::language = "english"
- command /wand [<text>] [<text>]:
- permission: *
- trigger:
- if arg 1 is not set:
- give 1 diamond axe named "&aWAND" to player
- send "&aWAND"
- if arg 1 is "language" or "jezyk":
- if arg 2 is "english" or "eng":
- set {wand::language} to "english"
- send "&aSuccessfully changed language to english"
- if arg 2 is "polish" or "pl":
- set {wand::language} to "polish"
- send "&aPomyslnie zmieniono jezyk na polski"
- if arg 2 is not set:
- send "&8/wand language <english/polish>"
- on leftclick:
- if player is holding diamond axe named "&aWAND":
- if player has permission "*":
- cancel event
- set {x::leftclick::%player%} to x coordinate of target block
- set {y::leftclick::%player%} to y coordinate of target block
- set {z::leftclick::%player%} to z coordinate of target block
- if {wand::language} is "english":
- send "&eFirst position set"
- if {wand::language} is "polish":
- send "&ePierwsza pozycja zaznaczona"
- else:
- if {wand::language} is "english":
- send "&cYou dont have permissions!"
- if {wand::language} is "polish":
- send "&cNie masz permisji!"
- on rightclick:
- if player has permission "*":
- if player is holding diamond axe named "&aWAND":
- cancel event
- set {x::rightclick::%player%} to x coordinate of target block
- set {y::rightclick::%player%} to y coordinate of target block
- set {z::rightclick::%player%} to z coordinate of target block
- if {wand::language} is "english":
- send "&eSecond position set"
- if {wand::language} is "polish":
- send "&eDruga pozycja zaznaczona"
- else:
- if {wand::language} is "english":
- send "&cYou dont have permissions!"
- if {wand::language} is "polish":
- send "&cNie masz permisji!"
- command /set [<text>]:
- permission: *
- trigger:
- if arg 1 is set:
- execute console command "/fill %{x::leftclick::%player%}% %{y::leftclick::%player%}% %{z::leftclick::%player%}% %{x::rightclick::%player%}% %{y::rightclick::%player%}% %{z::rightclick::%player%}% %arg 1%"
- if {wand::language} is "english":
- send "&eSuccessfully filled"
- if {wand::language} is "polish":
- send "&ePomyslnie wypelnione"
- else:
- if {wand::language} is "english":
- send "&aChoose a block &7(example: /set dirt)"
- if {wand::language} is "polish":
- send "&aWybierz blok &7(przyklad: /set dirt)"
- command /up [<number>]:
- permission: *
- trigger:
- if arg 1 is not set:
- set block above player to stone
- teleport player to block 2 up
- send "&aPoof!"
- if arg 1 is set:
- set block arg 1 up to stone
- set {_up} to arg 1
- teleport player to block {_up}+1 up
- send "&aPoof!"
Advertisement
Add Comment
Please, Sign In to add comment