command /deathban [<text>] [<player>] [<integer=1>]:
aliases: db
permission: *
trigger:
if arg 1 is not "add":
stop
if arg 2 is not set:
send "Poprawne uzycie: /db <add> <liczba> <nick>"
stop
add arg 3 to {zycia::%arg 2%}
send "&7Dodano %arg 3% zyc graczowi %arg 2%"
stop
command /eliksirzycia [<text>]:
aliases: ez
trigger:
if player don't have permission "*":
send "Nie posiadasz uprawnien do tej komendy"
stop
give 1 potion of healing named "&c&lEliksir Życia" to the player
stop
on consume of potion:
if name of player's tool is "&c&lEliksir Życia":
send "&cUzyskales nowe zycie"
add 1 to {zycia::%player%}
command /zycia [<offlineplayer>]:
trigger:
if arg is not set:
send "&3Twoje zycia: &b%{zycia::%player%}%"
stop
send "&3Zycia gracza %arg%: &b%{zycia::%arg%}%"
stop
on death of player:
remove 1 from {zycia::%victim%}
if {zycia::%victim%} is 0:
ban victim due to "Brak zyc" for 24 hours
kick victim due to "Brak zyc"
function bOpenGui(player: player):
open virtual chest with 1 row named "Zadania" to {_player}
loop 9 times:
format gui slot (loop-number -1) of {_player} to black stained glass pane
if {bZadania::drewno::%{_player}%} is not set:
format gui slot 4 of {_player} with oak wood named "64 drewna" with lore "Zbierz 64 drewna." to run function bZrobZadanie({_player})
else if {bZadania::drewno::%{_player}%} is set:
format gui slot 4 of {_player} with barrier named "&cBrak zadan!" with lore "Wykonales juz to zadanie."
function bZrobZadanie(player: player):
set {_amount} to amount of oak wood in {_player}'s inventory
if {_amount} < 64:
send "&cNie posiadasz 64 drewna!" to {_player}
stop
close {_player}'s inventory
remove 64 of oak wood from {_player}'s inventory
send "&aPoprawnie wykonales zadania z drewnem!" to {_player}
set {bZadania::drewno::%{_player}%} to "Zaliczone"
#nie wiem jakie masz monety
give 64 of stone to {_player}
command /zadania [<text>]:
trigger:
bOpenGui(player)
Wymaga tuske i skripta min. 2.2.
Nie, nikomu się nie udało i nie uda naprawić tego problemu. Używasz przestarzałego pluginu na psuedo rangi, który nie jest już wspierany. Jedynym rozwiązaniem jest zmiana na LuckPerms.