# BLACKLIST-IP # on connect: if {ip::%player%} is not set: kick player due to "&aTwoje konto zostało zweryfikowane!%nl%&aWejdz ponownie na serwer!" set {ip::%player%} to player's ip if {ip::%player%} is set: if {ip::%player%} is player's ip: if {blacklist::%player%} is set: kick player due to "&c&lJESTEŚ NA CZARNEJ LIŚCIE!%nl%&c&l%{blacklist::%player%}%" command /blacklist [] []: trigger: if player has permissions "blacklist.cmd": if arg 1 is set: if arg 2 is set: if {blacklist::%arg-player%} is not set: set {blacklist::%arg-player%} to "%arg 2%" kick arg-player due to "&c&lJESTEŚ NA CZARNEJ LIŚCIE!%nl%&c&l%{blacklist::%arg-player%}%" loop all players: if {ip::%loop-player%} is arg-player's ip: kick loop-player due to "&c&lJESTEŚ NA CZARNEJ LIŚCIE!%nl%&c&l%{blacklist::%arg-player%}%" stop if {blacklist::%arg-player%} is set: send "&c%arg-player% ma już czarną liste!" stop if arg 2 is not set: send "&cPoprawne uzycie: /blacklist " stop if arg 1 is not set: send "&cPoprawne uzycie: /blacklist " stop