variables:
{czaspolimorfii.%player%} = 1
set {_time} to "%{czaspolimorfii.%player%}% minutes" parsed as time span
# Komendy #
command /podrecznik:
permission: podrecznik.per
trigger:
add 1 enchanted_book named "&2Ksiega polimorfii" to player
add 1 eye of ender of unbreaking 10 named "&cPolimorfia zombie" with lore "|| &2Jedna z najslabszych polimorfii na serwerze || &eKliknij ppm, aby uzyc." to player
command /polimorfia:
trigger:
send "&eTwoja umiejetnosc polimorfii wynosi %{czaspolimorfii.%player%}%" to player
# Ksiegi polimorfii #
On rightclick with enchanted_book:
if player's tool is enchanted_book named "&2Ksiega polimorfii":
if {czaspolimorfii.%player%} is less than 30:
remove 1 enchanted_book named "&2Ksiega polimorfii" from player
add 1 to {czaspolimorfii.%player%}
send "&2Zrozumialem ksiege polimorfii!" to player
stop
# Edytowanie polimorfii graczy #
command /polimorfiaedit [<text>] [<number>]:
permission: polimka
permission message: &4Nie mozesz edytowac polimorfii graczy.
trigger:
if arg 1 is not set:
send "&4Poprawne uzycie: /polimorfiaedit <&eNazwa gracza&4> &4<&cIlosc polimorfi jaka chcesz ustawic>" to player
if arg 2 is not set:
send "&7[&4Polimorfia&7] &8Musisz podac ilosc polimorfii ktora chcesz ustawic" to player
if arg 1 is set:
if arg 2 is set:
set {czaspolimorfii.%arg 1%} to arg 2
send "&7[&4Polimorfia&7] &8Polimorfia gracza %arg 1% zostala ustawiona na %arg 2%" to player
send "&8[&6Polimorfia&8] &ePolimorfia gracza %arg 1% zostala ustawiona na %arg 2%." to all players
stop
# Efekty #
on rightclick with eye of ender:
if player's tool is eye of ender of unbreaking 10 named "&cPolimorfia zombie" with lore "|| &2Jedna z najslabszych polimorfii na serwerze || &eKliknij ppm, aby uzyc.":
cancel event
remove 1 eye of ender of unbreaking 10 named "&cPolimorfia zombie" with lore "|| &2Jedna z najslabszych polimorfii na serwerze || &eKliknij ppm, aby uzyc." from player
remove strength from player
remove jump boost from player
remove regeneration from player
remove resistance from player
apply strength 1 to player for {_time}
apply jump boost 1 to player for {_time}
apply regeneration 1 to player for {_time}
apply resistance 1 to player for {_time}
stop
Ten skrypt nie do końca działa ;(
jest 1 error,
Empty configuration selection. You might want to indent one or more subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (Polimorfia.sk, line 46:
if player's tool is eye of ender of unbreaking 10 named "&cPolimorfia zombie" with lore "|| &2Jedna z najslabszych polimorfii na serwerze || &eKliknij ppm, aby uzyc.":)
Pytanie
Wakal 23
Ten skrypt nie do końca działa ;(
jest 1 error,
Empty configuration selection. You might want to indent one or more subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (Polimorfia.sk, line 46:
if player's tool is eye of ender of unbreaking 10 named "&cPolimorfia zombie" with lore "|| &2Jedna z najslabszych polimorfii na serwerze || &eKliknij ppm, aby uzyc.":)
Proszę o pomoc, daje like i naj.
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi