variables: {lexp.%player%} = 0 {llev.%player%} = 1 {lnex.%player%} = 25 {help} = false {activate.%player%} = false {resetlvl.%player%} = true on chat: set the player's display name to "&e[&2%{llev.%player%}%&e] &c%player%&7>>&6 " command /staty : trigger: if arg 1 is set: send "&eStaty gracza %arg 1%&3: &6Lvl&3: &c%{llev.%arg 1%}% &6Exp&3: &c%{lexp.%arg 1%}%&3/&c%{lnex.%arg 1%}%" to the player else: send "&4Nie ma takiego gracza online!" If arg 1 is not set: send "&4Wpisz nick gracza!" to the player on death of zombie: if name of victim contains "&cOgnisty Ork&7[&4Lv. &a1&7]": if victim is a zombie: if attacker is a player: add 10 to {lexp.%attacker%} drop 10 exp send "&2&lZa zabicie &cOgnistego orka &2&lOtrzymujesz &7[&a+10&7]" to the attacker on death of zombie: if name of victim contains "&2&lOrk&7 [&4Boss&7]": if victim is a zombie: if attacker is a player: add 20 to {lexp.%attacker%} drop 20 exp send "&2&lZa zabicie &2&lOrka - Bossa &2&lOtrzymujesz &7[&a+10&7]" to the attacker Every 5 second: loop all players: if {help} is true: set {help} to false broadcast "&3&lReset lvl za 4" wait 1 second broadcast "&3&lReset lvl za 3" wait 1 second broadcast "&3&lReset lvl za 2" wait 1 second broadcast "&3&lReset lvl za 1" wait 1 second set {llev.%loop-player%} to 0 wait 1 second set {lexp.%loop-player%} to 0 broadcast "&e&lReset lvl Nastąpił!" set {llev.%loop-player%} to 0 on rightclick: if player's tool is book named "&b&lPakiet Boga &7(&e+1500 xp&7)": remove 1 book named "&b&lPakiet Boga &7(&e+1500 xp&7)" from player wait 1 second add 1500 to {lexp.%player%} send "&e&lDodales sobie 1500 punktow expa!" on rightclick: if player's tool is book named "&b&lPakiet ArchaNioła &7(&e+1000 xp&7)": remove 1 book named "&b&lPakiet ArchaNioła &7(&e+1000 xp&7)" from player wait 1 second add 1000 to {lexp.%player%} send "&e&lDodales sobie 1000 punktow expa!" on rightclick: if player's tool is book named "&c&lPakiet Szatana &7(&e+700 xp&7)": remove 1 book named "&c&lPakiet Szatana &7(&e+700 xp&7)" from player wait 1 second add 700 to {lexp.%player%} send "&e&lDodales sobie 700 punktow expa!" on rightclick: if player's tool is book named "&6&lRajski Pakiet &7(&e+500 xp&7)": remove 1 book named "&6&lRajski Pakiet &7(&e+500 xp&7)" from player wait 1 second add 500 to {lexp.%player%} send "&e&lDodales sobie 500 punktow expa!" command /pakiety: permission: * trigger: give 1 book named "&6&lRajski Pakiet &7(&e+500 xp&7)" to the player give 1 book named "&c&lPakiet Szatana &7(&e+700 xp&7)" to the player give 1 book named "&b&lPakiet ArchaNioła &7(&e+1000 xp&7)" to the player give 1 book named "&b&lPakiet Boga &7(&e+1500 xp&7)" to the player send "&e&lOtrzymałeś Wszystkie Pakiety Expa!" Every 1 second: loop all players: If {lexp.%loop-player%} is bigger than {lnex.%loop-player%}: add 1 to {llev.%loop-player%} send "&c&lGratulacje! Osiagnales nowy Poziom." to loop-player set {lexp.%loop-player%} to 0 chance of 50%: add 25 to {lnex.%loop-player%} chance of 50%: add 15 to {lnex.%loop-player%} chance of 5%: add 30 to {lnex.%loop-player%} chance of 5%: add 60 to {lnex.%loop-player%} variables: {prefix1.%player%} = false {prefix2.%player%} = false {prefix3.%player%} = false {prefix4.%player%} = false {prefix5.%player%} = false options: kol1: &7[&e&lG&6&lM&7] # Kolor przy range wlasciciel /prefix1 kol2: &7[&e&lO&2&lP&7] # Kolor dla admina lub wlasciciela /prefix2 kol3: &7[&e&lGenerał&7] # Dla admina /prefix3 kol4: &7[&2&lSzef&7] # Dla admina /prefix4 kol5: &7[&eStrażnik&7] # Dla kidmoda /prefix5 kol6: &7# Zwyczajna ranga bez niczego/default, Nie korzystać command /prefix1: permission: * trigger: send "&cPrefix ustawiony" to player set {prefix1.%player%} to true command /prefix2: permission: * trigger: send "&cPrefix ustawiony" to player set {prefix2.%player%} to true command /prefix3: permission: * trigger: send "&cPrefix ustawiony" to player set {prefix3.%player%} to true command /prefix4: permission: * trigger: send "&cPrefix ustawiony" to player set {prefix4.%player%} to true command /prefix5: permission: * trigger: send "&cPrefix ustawiony" to player set {prefix5.%player%} to true on chat: if {archer.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] [&6Archer&8] &c%player%&6 " if {wojownik.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] [&2Wojownik&8] &c%player%&6 " if {magik.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] [&3Magik&8] &c%player%&6 " if {brak.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] &c%player%&6 " if {prefix1.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] &8[&aEkipa&8] &c%player%&6 {@kol1}" if {prefix2.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] &8[&aEkipa&8] &c%player%&6 {@kol2}" if {prefix3.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] &8[&aEkipa&8] &c%player%&6 {@kol3}" if {prefix4.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] &8[&aEkipa&8] &c%player%&6 {@kol4}" if {prefix5.%player%} is true: set the player's display name to "&8[&2%{llev.%player%}%&8] &8[&aEkipa&8] &c%player%&6 {@kol5}" command /resetprefixu: permission: * trigger: set {prefix1.%player%} to false set {prefix2.%player%} to false set {prefix3.%player%} to false set {prefix4.%player%} to false set {prefix5.%player%} to false send "&6Prefix zresetowany!" to player on portal enter: if {portalustw} is false: make player execute command "/spawn" send "&3+ &2Portal jest aktualnie &c&lZamknięty &3+" else: teleport player to {PortalTP} send "&8-=- &6Teleport &8-=-" to player command /ustawstrefe: permission: * trigger: set {PortalTp} to location of player send "&c&lUstawiłeś Lokacje Portalu Netherowego" to player broadcast "&7[&6Portale&7] &c%player% &3Ustawił punkt teleportu portalu!" command /aktywujportal: permission: * trigger: set {portalustw} to true send "&3Włączyłeś portal!" to player command /dezaktywujportal: permission: * trigger: set {portalustw} to false send "&3cWyłączyłeś portal!" to player