on join: if {exp.%player%} is not set: set {exp.%player%} to 0 if {lvl.%player%} is not set: set {lvl.%player%} to 1 if {pexp.%player%} is not set: set {pexp.%player%} to 100 if {wexp.%player%} is not set: set {wexp.%player%} to 0 if {wpexp.%player%} is not set: set {wpexp.%player%} to 100 command /lvl: trigger: send "&8[&6Serwer&8] &7Twoj Lvl: &c%{lvl.%player%}%" send "&8[&6Serwer&8] &7Twoj Exp: &a%{exp.%player%}%&8/&b%{pexp.%player%}%" command /resetlvl []: trigger: set {lvl.%arg-1%} to 1 set {pexp.%arg-1%} to 100 set {exp.%arg-1%} to 0 set {wexp.%player%} to 0 set {wpexp.%player%} to 100 send "&8[&6Epi&cCraft&8] &7Twoj Lvl Zostal &cZRESETOWANY" to arg 1 #Wirtualny exp jest tylko do paska z expem ^-^ (wexp.%player%) to wirtualny exp a (wpexp.%player%) to wirtualny potrzebny exp. on damage: if attacker is a player: if attacker is a player: if {exp.%attacker%} is greater than 100: if {lvl.%attacker%} is 1: set {lvl.%attacker%} to 2 set {wexp.%attacker%} to 0 set {wpexp.%attacker%} to 200 set {exp.%attacker%} to 100 set {pexp.%attacker%} to 300 #Potrzebny exp nie resetuje sie, dzieki czemu mozna zobaczyc ile ogolnie zyskalo sie expa :) send "&8[&6Serwer&8] &aAwansowales na &62 &aLVL" to attacker if {exp.%attacker%} is greater than 300: # 300 to potrzebny exp ktory jest w 2 lvl if {lvl.%attacker%} is 2: set {lvl.%attacker%} to 3 #level set {wexp.%attacker%} to 0 #exp na pasku od expa set {wpexp.%attacker%} to 250 #potrzebny exp na pasku od expa set {exp.%attacker%} to 300 #tutaj setujesz exp który masz ( is greater than *liczba* ) set {pexp.%attacker%} to 550 #potrzebny exp (zeby zobaczyc w komendzie /lvl ile pozostalo :)) send "&8[&6Serwer&8] &aAwansowales na &63 &aLVL" to attacker on death: if victim is wolf: if name of victim is "&cMlody Wilk &4[&61 &cLv.&4]": if {lvl.%player%} is smaller than 11: if player has permission "GExp.sk": add 5 to {exp.%player%} add 5 to {wexp.%player%} set {_Exp} to "5" parsed as number if player has permission "VExp.sk": add 7.5 to {exp.%player%} add 7.5 to {wexp.%player%} set {_Exp} to "7.5" parsed as number if player has permission "SVExp.sk": add 10 to {exp.%player%} add 10 to {wexp.%player%} set {_Exp} to "10" parsed as number set {Zmienna.%player%} to {wexp.%player%} / {wpexp.%player%} set level progress of the loop-player to {Zmienna.%player%} set loop-player's level to {lvl.%player%} display hologram "&f&o+%{_Exp}% &aEXP" at location of victim for 4 second #to dziala na wersji 1.7.2 zobacz czy ci dziala na wyzszej ale watpie jak cos to usun ta linijke send "&8[&6Serwer&8] &a+%{_Exp}% &bEXP" #to jest jesli nie dzialala by ci wersja z hologramem, jesli ci hologram dziala to raczej mozesz to usunac ;) chance of 10%: # tutaj drop opcjonalne :) give attacker 1 of cegla named "&cMoneta z Brazu" with lore "&4Za Monety Kupisz Drogocenne Przedmioty" chance of 0.5%: give 1 of leather boots of protection 1 named "&bButy z Mlodego Wilka" with lore "&3Dostepne od poziomu: &65" to attacker