Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- tag: &8[&6&lKoparka CB&8]&r
- command /koparka [<text>]:
- trigger:
- if player has permission "seek.koparka":
- if arg 1 is "STONE":
- give 1 chest named "&6&lSTONE" to player
- send "{@tag} : &a&lDostales koparke :)" to player
- stop
- if arg 1 is "WOD":
- give 1 chest named "&6&lWOOD" to player
- send "{@tag} : &a&lDostales koparke :)" to player
- stop
- if arg 1 is "SAND":
- give 1 chest named "&6&lSAND" to player
- send "{@tag} : &a&lDostales koparke :)" to player
- stop
- On place of chest:
- if name of player's tool is "&6&lSTONE":
- send "{@tag} &aPomyslnie ustawiles koparke." to player
- set {stone.owner.%location of block%} to player
- while {stone.owner.%location of block%} is set:
- if block below is stone:
- add stone to event-block
- set block below to air
- wait 1 seconds
- On break:
- if {stone.owner.%location of block%} is set:
- send "{@tag} &aZniszczyles koparke." to player
- clear {stone.owner.%location of block %}
- stop
- On place of chest:
- if name of player's tool is "&6&lWOOD":
- send "{@tag} &aPomyslnie ustawiles koparke." to player
- set {wood.owner.%location of block%} to player
- while {wood.owner.%location of block%} is set:
- if block below is stone:
- add stone to event-block
- set block below to air
- wait 1 seconds
- On break:
- if {wood.owner.%location of block%} is set:
- send "{@tag} &aZniszczyles koparke." to player
- clear {wood.owner.%location of block %}
- stop
- On place of chest:
- if name of player's tool is "&6&lSTONE":
- send "{@tag} &aPomyslnie ustawiles koparke." to player
- set {sand.owner.%location of block%} to player
- while {sand.owner.%location of block%} is set:
- if block below is stone:
- add stone to event-block
- set block below to air
- wait 1 seconds
- On break:
- if {sand.owner.%location of block%} is set:
- send "{@tag} &aZniszczyles koparke." to player
- clear {sand.owner.%location of block %}
- stop
Advertisement
Add Comment
Please, Sign In to add comment