command /brush1 [<player>]:
permission: give.brush
trigger:
if arg 1 is not set:
send "&8>> &cPoprawne uzycie: /brush1 <nick>"
stop
if arg 1 is player:
give 1 diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 10 named "&6Brush lvl. 1" with lore "&7||&7Jest to najcenniejsza rzecz||&7na serwerze, chron jej!||&7Po wykopaniu klocka, dostaniesz Speed V" to arg 1
send "&7Nadales &6Brush lvl. 1 &7graczowi &f%arg 1%"
broadcast "&8--------------------------------------------"
broadcast "&8>> &eGracz &7%player% &ezakupił &6brush lvl. 1"
broadcast "&8--------------------------------------------"
stop
else:
send "&4Blad!! &fNie znaleziono gracza!"
on break:
if player's tool is diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 10 named "&6Brush lvl. 1" with lore "&7||&7Jest to najcenniejsza rzecz||&7na serwerze, chron jej!||&7Po wykopaniu klocka, dostaniesz Speed V":
remove speed from player
apply speed potion of tier 5 to the player for 1 second
command /brush2 [<player>]:
permission: give.brush
trigger:
if arg 2 is not set:
send "&8>> &cPoprawne uzycie: /brush2 <nick>"
stop
if arg 2 is player:
give 1 diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 10 named "&6Brush lvl. 2" with lore "&7||&7Jest to najcenniejsza rzecz||&7na serwerze, chron jej!||&7Po wykopaniu klocka, dostaniesz Speed V oraz Haste II" to arg 2
send "&7Nadales &6Brush lvl. 2 &7graczowi &f%arg 2%"
broadcast "&8--------------------------------------------"
broadcast "&8>> &eGracz &7%player% &ezakupił &6brush lvl. 2"
broadcast "&8--------------------------------------------"
stop
else:
send "&4Blad!! &fNie znaleziono gracza!"
on break:
if player's tool is diamond pickaxe of efficiency 10 and unbreaking 10 and fortune 10 named "&6Brush lvl. 2" with lore "&7||&7Jest to najcenniejsza rzecz||&7na serwerze, chron jej!||&7Po wykopaniu klocka, dostaniesz Speed V oraz Haste II":
remove speed from player
remove haste from player
apply speed potion of tier 5 to the player for 1 second
apply haste potion of tier 2 to the player for 1 secondu7
Popwino działać zobacz