# Banowanie v1.2 by GreeexYT. on load: send "&cSPRAWDZANIE &7Skript sprawdzanie v1.3 by &6GreeexYT" to console loop all players: if loop-player has permission "Grex.Wiad": send "&cSPRAWDZANIE &7Skript sprawdzanie v1.3 by &6GreeexYT" to loop-player options: MdMenu: &6ModMenu BhMenu: &6BanMenu # Czas bana za REKLAME i BEZ POWODU nie jest zmienny. jest to ban na zawsze. CzasCzity: 3 days CzasBugi: 1 day CzasSpam: 1 hour CzasBluzgi: 10 hours CzasFlood: 1 hour # Czas bana za REKLAME i BEZ POWODU nie jest zmienny. jest to ban na zawsze. variables: {AC::%player%} = true {SPRJESTEM::%player%} = false on connect: if {BAN::%player%} is set: if {BAN::%player%} is "PERM": if {POWOD::%player%} is set: kick player due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%player%}% %nl%&cBan Wygasa: &6NIGDY" else: kick player due to "&cKonto jest zablokowane. %nl%&cBan Wygasa: &6NIGDY" if {BAN::%player%} is not "PERM": if {BAN::%player%} is smaller than now: delete {BAN::%player%} delete {POWOD::%player%} else: if {POWOD::%player%} is set: kick player due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%player%}% %nl%&cBan Wygasa: &6%{BAN::%player%}%" else: kick player due to "&cKonto jest zablokowane. %nl%&cBan Wygasa: &6%{BAN::%player%}%" command /md []: permission: Md.open permission message: &cNiestety... trigger: if arg 1 is set: if arg 1 is not player: set {MdCMD::%player%} to "%arg 1%" parsed as offline player open chest with 1 rows named "{@MdMenu}" to player loop 1*9 times: set player's current inventory's slot ((loop-number)-1) to gray glass pane named " " set player's current inventory's slot 0 to golden helmet named "&2Sprawdzanie" with lore "&7Lataj niewidzialny nad graczem, i||&7sprawdz, czy posiada cheaty!" set player's current inventory's slot 4 to iron axe named "&2Banowanie" with lore "&7Zbanuj lub wyrzuc gracza &c%arg 1%&7!" set player's current inventory's slot 7 to note block named "&6Koniec" with lore "&aZakoncz prace, i przenies sie do poprzedniego miejsca." set player's current inventory's slot 8 to skull of ("%{MdCMD::%player%}%" parsed as offline player) named "&c%arg 1%" with lore "&7Wybierz opcje dla gracza &c%arg 1%&7!" else: send "&cSPRAWDZANIE &7Nie mozesz sie obserwowac. xD" to player else: send "&cSPRAWDZANIE &7> &7Podaj nick!" to player command /bh []: permission: Bh.open permission message: &cMozliwe ze... trigger: if arg 1 is set: if arg 1 is not player: set {BhCMD::%player%} to "%arg 1%" parsed as offline player open chest with 6 rows named "{@BhMenu}" to player loop 6*9 times: set player's current inventory's slot ((loop-number)-1) to gray glass pane named " " set player's current inventory's slot 10 to diamond boots named "&cBan za CZITY!" with lore "&7Zbanuj gracza za uzywanie czitow!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 12 to redstone named "&cBan za BUGOWANIE!" with lore "&7Zbanuj gracza za wykorzystywanie bugow!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 14 to paper named "&cBan za SPAM!" with lore "&7Zbanuj gracza za spam!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 16 to blaze powder named "&cBan za BLUZGI!" with lore "&7Zbanuj gracza za bluzgi!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 20 to sign named "&cBan za FLOOD!" with lore "&7Zbanuj gracza za flood!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 22 to torch named "&cBan za REKLAME!" with lore "&7Zbanuj gracza za reklame!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 24 to bucket named "&cBan BEZ POWODU!" with lore "&7Zbanuj gracza!||&c>>> &7Ban jest na zawsze! &c<<<|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 28 to wooden door named "&cKick za SPAM!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 30 to iron door named "&cKick za FLOOD!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 32 to lava bucket named "&cKick za BLUZGI!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 34 to pufferfish named "&cKick BEZ POWODU!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 49 to skull of ("%{BhCMD::%player%}%" parsed as offline player) named "&c%{BhCMD::%player%}%" with lore "&7Wybierz opcje dla gracza &c%{BhCMD::%player%}%&7!" else: send "&cSPRAWDZANIE &7Nie mozesz sam sie banowac. xD" to player else: send "&cSPRAWDZANIE &7> &7Podaj nick!" to player command /. []: permission: adminchat.use permission message: &cMozliwe ze... trigger: if {AC::%player%} is true: if arg 1 is set: loop all players: if loop-player has permission "ac.use": if {AC::%loop-player%} is true: if player has permission "ac.adminpref": send "&cADMINCHAT &4Admin &6%player% &7> &7&l%uncolored arg-1%" to loop-player else: if player has permission "ac.modpref": send "&cADMINCHAT &2Moderator &6%player% &7> &7&l%uncolored arg-1%" to player else: if player has permission "ac.pompref": send "&cADMINCHAT &bPomocnik &6%player% &7> &7&l%uncolored arg-1%" to player else: send "&cADMINCHAT &7Nie masz zadnej mozliwosci do chatu. skontaktuj sie z administracja!" to player stop else: send "&cADMINCHAT &7Podaj wiadomosc!" to player else: send "&cADMINCHAT &7Twoj Admin Chat jest aktualnie wylaczony!" to player command /ac []: permission: adminchat.use permission message: &cNie. trigger: if {AC::%player%} is true: set {AC::%player%} to false send "&cADMINCHAT &7Wylaczono twoj Admin Chat!" to player else: set {AC::%player%} to true send "&cADMINCHAT &7Wlaczono twoj Admin Chat!" to player command /spr [] []: aliases: sprawdz.use permission: spr.use permission message: &cNiet! trigger: if arg 1 is set: if arg 1 is not player: set {CMDSPR::%player%} to "%arg 1%" parsed as offline player if {SPRJESTEM::%{CMDSPR::%player%}%} is not set: set {SPRJESTEM::%{CMDSPR::%player%}%} to false if {CMDSPR::%player%} is online: if arg 2 is set: if arg 2 is "ping" or "knock": if arg 2 is "ping": set {_P} to "%{CMDSPR::%player%}'s ping%" parsed as integer if {_P} is greater than 120: set {_poz} to "&4&lWYSOKI" else: if {_P} is greater than 70: set {_poz} to "&e&lSREDNI" else: set {_poz} to "&2&lNISKI" send " " to player send "&cSPRAWDZANIE &7Ping gracza &6%{CMDSPR::%player%}% &7wynosi: &7&l%{_P}% &7(%{_poz}%&7)" to player send " " to player if arg 2 is "knock": if {SPRJESTEM::%{CMDSPR::%player%}%} is false: set {SPRJESTEM::%{CMDSPR::%player%}%} to true set {_reakcje} to 0 loop 3 times: set {_b} to block above {CMDSPR::%player%} if {_b} is air: set {_b} to block above {_b} if {_b} is air: set {_b} to block above {_b} if {_b} is air: set {_y} to {CMDSPR::%player%}'s y-coordinate push {CMDSPR::%player%} upwards with speed 0.7 wait 4 ticks if {CMDSPR::%player%}'s y-coordinate is not {_y}: add 1 to {_reakcje} else: send "&cSPRAWDZANIE &7Pozycja gracza na to nie pozwala!" to player stop else: send "&cSPRAWDZANIE &7Pozycja gracza na to nie pozwala!" to player stop else: send "&cSPRAWDZANIE &7Pozycja gracza na to nie pozwala!" to player stop wait 1 seconds set {_P} to "%{CMDSPR::%player%}'s ping%" parsed as integer if {_P} is greater than 120: set {_poz} to "&4&lWYSOKI" else: if {_P} is greater than 70: set {_poz} to "&e&lSREDNI" else: set {_poz} to "&2&lNISKI" send " " to player send "&cSPRAWDZANIE &7Gracz &6%{CMDSPR::%player%}% &7zostal sprawdzony na knocka." to player send "&cSPRAWDZANIE &7Oto wyniki! &c%{_reakcje}%&7/&c3 &7Poprawne reakcje!" to player send "&cSPRAWDZANIE &7Jego ping wynosil %{_P}% &7(%{_poz}%&7)" to player send " " to player set {SPRJESTEM::%{CMDSPR::%player%}%} to false if {SPRJESTEM::%{CMDSPR::%player%}%} is true: send "&cSPRAWDZANIE &7Ten gracz jest juz sprawdzany!" to player stop else: send "&cSPRAWDZANIE &7PING/KNOCK" to player else: send "&cSPRAWDZANIE &7PING/KNOCK" to player else: send "&cSPRAWDZANIE &7Gracz jest offline!" else: send "&cSPRAWDZANIE &7Nie mozesz sam siebie sprawdzac..." to player else: send "&cSPRAWDZANIE &7Podaj nick!" to player on quit: if {SPRAWDZAM::%player%} is set: delete {SPRAWDZAM::%player%} teleport player to {PrzedSprawdzaniem::%player%} delete {PrzedSprawdzaniem::%player%} execute server command "vanish off %player%" set player's flight mode to false remove stick named "{@MdMenu}" from player loop {SprITKI.%player%::*}: add loop-value to the player clear {SprITKI.%player%::*} equip the player with {helm::%player%} parsed as item equip the player with {klata::%player%} parsed as item equip the player with {spodnie::%player%} parsed as item equip the player with {butki::%player%} parsed as item delete {helm::%player%} delete {klata::%player%} delete {spodnie::%player%} delete {butki::%player%} send "&cSPRAWDZANIE &7Zakonczono sprawdzanie!" to player on leftclick: if player's tool is stick named "{@MdMenu}": if player has permission "Md.open": if {SPRAWDZAM::%player%} is set: set {MdCMD::%player%} to "%{SPRAWDZAM::%player%}%" parsed as offline player open chest with 1 rows named "{@MdMenu}" to player loop 1*9 times: set player's current inventory's slot ((loop-number)-1) to gray glass pane named " " set player's current inventory's slot 0 to golden helmet named "&2Sprawdzanie" with lore "&7Lataj niewidzialny nad graczem, i||&7sprawdz, czy posiada cheaty!" set player's current inventory's slot 4 to iron axe named "&2Banowanie" with lore "&7Zbanuj lub wyrzuc gracza &c%{MdCMD::%player%}%&7!" set player's current inventory's slot 7 to note block named "&6Koniec" with lore "&aZakoncz prace, i przenies sie do poprzedniego miejsca." set player's current inventory's slot 8 to skull of ("%{MdCMD::%player%}%" parsed as offline player) named "&c%{MdCMD::%player%}%" with lore "&7Wybierz opcje dla gracza &c%{MdCMD::%player%}%&7!" else: send "&cSPRAWDZANIE &7Nie sprawdzasz nikogo!" to player every second: loop all players: if {SPRAWDZAM::%loop-player%} is set: if {SPRAWDZAM::%loop-player%} is online: set {_ping} to "%{SPRAWDZAM::%loop-player%}'s ping%" set action bar of loop-player to "&7&lPING: %{_ping}% &cSprawdzasz > &6&l%{SPRAWDZAM::%loop-player%}%" else: set action bar of loop-player to "&7&lPING: OFFLINE &cSprawdzasz > &6&l%{SPRAWDZAM::%loop-player%}%" on inventory click: if {SPRAWDZAM::%player%} is set: cancel event if inventory name of player's current inventory is "{@MdMenu}": cancel event if clicked slot is 0: if {MdCMD::%player%} is online: close player's inventory if {SPRAWDZAM::%player%} is not set: loop all items in the player's inventory: add loop-item to {SprITKI.%player%::*} set {helm::%player%} to "%helmet of player%" set {klata::%player%} to "%chestplate of player%" set {spodnie::%player%} to "%leggings of player%" set {butki::%player%} to "%boots of player%" clear player's inventory equip the player with "golden helmet" parsed as item set {PrzedSprawdzaniem::%player%} to location of player execute server command "vanish on %player%" set player's flight mode to true teleport player to {MdCMD::%player%} set {SPRAWDZAM::%player%} to "%{MdCMD::%player%}%" parsed as offline player if player has stick named "{@MdMenu}": stop else: add stick named "{@MdMenu}" to player else: close player's inventory send "&cSPRAWDZANIE &7Gracza nie ma online!" to player if clicked slot is 4: set {BhCMD::%player%} to "%{MdCMD::%player%}%" parsed as offline player open chest with 6 rows named "{@BhMenu}" to player loop 6*9 times: set player's current inventory's slot ((loop-number)-1) to gray glass pane named " " set player's current inventory's slot 10 to diamond boots named "&cBan za CZITY!" with lore "&7Zbanuj gracza za uzywanie czitow!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 12 to redstone named "&cBan za BUGOWANIE!" with lore "&7Zbanuj gracza za wykorzystywanie bugow!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 14 to paper named "&cBan za SPAM!" with lore "&7Zbanuj gracza za spam!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 16 to blaze powder named "&cBan za BLUZGI!" with lore "&7Zbanuj gracza za bluzgi!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 20 to sign named "&cBan za FLOOD!" with lore "&7Zbanuj gracza za flood!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 22 to torch named "&cBan za REKLAME!" with lore "&7Zbanuj gracza za reklame!|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 24 to bucket named "&cBan BEZ POWODU!" with lore "&7Zbanuj gracza!||&c>>> &7Ban jest na zawsze! &c<<<|| &6Lewym &7aby zbanowac z komunikatem|| &6Prawym &7aby zbanowac bez komunikatu" set player's current inventory's slot 28 to wooden door named "&cKick za SPAM!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 30 to iron door named "&cKick za FLOOD!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 32 to lava bucket named "&cKick za BLUZGI!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 34 to pufferfish named "&cKick BEZ POWODU!" with lore "&7Wyrzuc gracza!|| &6Lewym &7aby wyrzucic z komunikatem|| &6Prawym &7aby wyrzucic bez komunikatu" set player's current inventory's slot 49 to skull of ("%{BhCMD::%player%}%" parsed as offline player) named "&c%{BhCMD::%player%}%" with lore "&7Wybierz opcje dla gracza &c%{BhCMD::%player%}%&7!" if clicked slot is 7: if {SPRAWDZAM::%player%} is set: delete {SPRAWDZAM::%player%} teleport player to {PrzedSprawdzaniem::%player%} delete {PrzedSprawdzaniem::%player%} execute server command "vanish off %player%" set player's flight mode to false remove stick named "{@MdMenu}" from player send "&cSPRAWDZANIE &7Zakonczono sprawdzanie!" to player loop {SprITKI.%player%::*}: add loop-value to the player clear {SprITKI.%player%::*} equip the player with {helm::%player%} parsed as item equip the player with {klata::%player%} parsed as item equip the player with {spodnie::%player%} parsed as item equip the player with {butki::%player%} parsed as item delete {helm::%player%} delete {klata::%player%} delete {spodnie::%player%} delete {butki::%player%} else: send "&cSPRAWDZANIE &7Nikogo nie sprawdzasz!" to player if clicked slot is 8: send "&cSPRAWDZANIE &7Opcje gracza &6%{MdCMD::%player%}%" to player if inventory name of player's current inventory is "{@BhMenu}": cancel event if clicked slot is 10: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasCzity}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "CZITY" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6CZITY&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasCzity}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "CZITY" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6CZITY&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 12: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasBugi}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "BUGOWANIE" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6BUGOWANIE&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasBugi}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "BUGOWANIE" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6BUGOWANIE&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 14: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasSpam}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "SPAM" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6SPAM&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasSpam}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "SPAM" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6SPAM&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 16: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasBluzgi}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "BLUZGI" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6BLUZGI&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasBluzgi}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "BLUZGI" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6BLUZGI&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 20: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasFlood}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "FLOOD" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6FLOOD&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to now set {_CZAS} to "{@CzasFlood}" parsed as timespan add {_CZAS} to {BAN::%{BhCMD::%player%}%} set {POWOD::%{BhCMD::%player%}%} to "FLOOD" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6%{BAN::%{BhCMD::%player%}%}%" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6FLOOD&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 22: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to "PERM" set {POWOD::%{BhCMD::%player%}%} to "REKLAMA" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6NIGDY" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6REKLAME&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to "PERM" set {POWOD::%{BhCMD::%player%}%} to "REKLAMA" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cPowod: &6%{POWOD::%{BhCMD::%player%}%}% %nl%&cBan Wygasa: &6NIGDY" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany za &6REKLAME&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 24: if {BAN::%{BhCMD::%player%}%} is set: if {BAN::%{BhCMD::%player%}%} is smaller than now: set {BAN::%{BhCMD::%player%}%} to "PERM" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cBan Wygasa: &6NIGDY" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Ten gracz ma juz bana!" to player else: set {BAN::%{BhCMD::%player%}%} to "PERM" kick {BhCMD::%player%} due to "&cKonto jest zablokowane. %nl%&cBan Wygasa: &6NIGDY" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal zbanowany!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players if clicked slot is 28: if {BhCMD::%player%} is online: wait 2 ticks kick {BhCMD::%player%} due to "&cWyrzucono %nl%&cPowod: &6SPAM" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal wyrzucony za &6SPAM&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Gracza nie ma online!" to player if clicked slot is 30: if {BhCMD::%player%} is online: wait 2 ticks kick {BhCMD::%player%} due to "&cWyrzucono %nl%&cPowod: &6FLOOD" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal wyrzucony za &6FLOOD&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Gracza nie ma online!" to player if clicked slot is 32: if {BhCMD::%player%} is online: wait 2 ticks kick {BhCMD::%player%} due to "&cWyrzucono %nl%&cPowod: &6BLUZGI" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal wyrzucony za &6BLUZGI&c!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Gracza nie ma online!" to player if clicked slot is 34: if {BhCMD::%player%} is online: wait 2 ticks kick {BhCMD::%player%} due to "&cWyrzucono" if "%clicked type%" is "LEFT": send " " to all players send "&cGracz &6%{BhCMD::%player%}% &czostal wyrzucony!" to all players send "&cWSZYSCY SWIETUJEMY!" to all players send " " to all players else: send "&cSPRAWDZANIE &7Gracza nie ma online!" to player if clicked slot is 49: send "&cSPRAWDZANIE &7Opcje gracza &6%{BhCMD::%player%}%" to player