variables: {chat::level::%player%} = 0 on chat: chance of 3% add 1 to {chat::level::%player%} send title "&a⬆ RANKUP" with subtitle "&7Awansowales na %{chat::level::%player%}% poziom!" on craft: chance of 1% add 1 to {chat::level::%player%} send title "&a⬆ RANKUP" with subtitle "&7Awansowales na %{chat::level::%player%}% poziom!" on break: chance of 0.1% add 1 to {chat::level::%player%} send title "&a⬆ RANKUP" with subtitle "&7Awansowales na %{chat::level::%player%}% poziom!" on death: if victim is player: add 1 to {chat::level::%attacker%} send title "&a⬆ RANKUP" with subtitle "&7Awansowales na %{chat::level::%attacker%}% poziom!" to attacker else: chance of 0.1% add 1 to {chat::level::%attacker%} send title "&a⬆ RANKUP" with subtitle "&7Awansowales na %{chat::level::%attacker%}% poziom!" to attacker on placeholderapi placeholder request for the prefix "chat": if the identifier is "wiad": set the result to "%{chat::level::%player%}%" command /gwiazdka [] [] []: usage: &8» &cChodzilo ci o &7/gwiazda (dodaj/usun/reset/ustaw) (nick) (ilosc)&c? permission: gwiazdki.zarzadzaj permission message: &cBrak permisji! aliases: gwiazdki, gwiazda, lvl trigger: if arg 1 is "dodaj" or "add": if arg 3 is set: add arg 3 to {chat::level::%arg 2%} send "&8» &aDodano &7%arg 3% &agwiazdek do &7%arg 2%" to player arg 2 is not executor send "&8» &aAdministrator &7%player% &adal ci &7%arg 3% gwiazdek&a!" to arg 2 if arg 1 is "usun" or "remove" or "delete": if arg 3 is set: remove arg 3 from {chat::level::%arg 2%} send "&8» &aUsunieto &7%arg 3% &agwiazdek od &7%arg 2%" to player arg 2 is not executor send "&8» &aAdministrator &7%player% &ausunal ci &7%arg 3% gwiazdek&a!" to arg 2 if arg 1 is "resetuj" or "reset" or "restart": if arg 2 is set: if arg 2 is not "all": set {chat::level::%arg 2%} to 0 send "&8» &aUsunieto &7%arg 3% &agwiazdek od &7%arg 2%" to player arg 2 is not executor send "&8» &aAdministrator &7%player% &ausunal ci &7%arg 3% gwiazdek&a!" to arg 2 else: set {chat::level::*} to 0 send "&8» &a%player% &7zresetowal wszystkim gwiazdki!" to all players send title "&a%player% &7zresetowal wszystkim gwiazdki!" with subtitle "&cObecnie posiadasz 0 gwiazdek." on tab complete for "gwiazda" or "gwiazdki" or "gwiazdka" or "lvl": set tab completions for position 1 to "dodaj", "usun" and "reset" set tab completions for position 2 to all players and "all" set tab completions for position 3 to "1", "2", "3", "4" and "100"