Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=======================# Licencja #=======================#
- #
- # [+] Możesz edytować skrypt
- # [+] Możesz wgrać go na swoj serwer
- # [-] Nie możesz usuwać informacji o autorze!
- # [-] Nie możesz publikować skryptu!
- # [-] Nie możesz podpisywać się jako autor skryptu!
- # [-] Nie możesz sprzedawać skryptu!
- # [-] Nie możesz kopiować kodu skryptu w celu swoich skryptów!
- #
- #===============================================================#
- #=======================# Informacje o autorze #=======================#
- #
- # Autor: XziomekX
- # WWW: http://ziomeks.cba.pl/
- # Email: [email protected]
- #
- #=======================================================================#
- #=======================# Informacje o skrypcie #=======================#
- #
- # Wersja: 4.0
- # Nazwa: WarnPro
- # Autor: XziomekX
- #=======================================================================#
- #=======================# Opcje #=======================#
- options:
- prefix: &7[&e&lWarnPro&7]
- nopermission: &4Nie masz uprawnien do uzycia tej komendy!
- variables:
- {warny} = 0
- #=====================# Komendy #=====================#
- command /warn [<text>] [<player>] [<text>]:
- description: Lista dostepnych komend skryptu
- trigger:
- if arg 1 is "help":
- message "&3&l=========== {@prefix} &3&l==========="
- message " "
- message "&a/warn help &8- &eLista komend"
- message "&a/warn add <nick> &8- &eDodaje ostrzezenie graczu"
- message "&a/warn del <nick> &8- &eUsuwa ostrzezenia graczu"
- message "&a/warn info &8- &eInformacje o ostrzezeniach na twoim koncie"
- message "&a/warn zglos <nick> <powod> &8- &eZglasza gracza"
- if arg 1 is not set:
- message "&3&l=========== {@prefix} &3&l==========="
- message " "
- message "&a/warn help &8- &eLista komend"
- message "&a/warn add <nick> &8- &eDodaje ostrzezenie graczu"
- message "&a/warn del <nick> &8- &eUsuwa ostrzezenia graczu"
- message "&a/warn info &8- &eInformacje o ostrzezeniach na twoim koncie"
- message "&a/warn zglos <nick> <powod> &8- &eZglasza gracza"
- if arg 1 is "add":
- has permission "warnpro.add":
- if arg 2 is set:
- message "{@prefix} &3&lGracz &e&l%arg 2% &3&ldostal ostrzezenie!"
- add 1 to {warny.%arg 2%}
- message "&3&lDostales ostrzezenie od admina &e&l%player%" to player
- if arg 2 is not set:
- message "{@prefix} &cNie podales nicku gracza"
- else:
- message "{@prefix} {@nopermission}"
- if arg 1 is "del":
- has permission "warnpro.del":
- if arg 2 is set:
- message "{@prefix} &3&lUsunoles ostrzezenia gracza &e&l%arg 2% &3&l!"
- set {warny.%arg 2%} to 0
- if arg 2 is not set:
- message "{@prefix} &cNie podales nicku gracza"
- else:
- message "{@prefix} {@nopermission}"
- if arg 1 is "info":
- has permission "warnpro.info":
- if arg 2 is set:
- message "{@prefix} &3&lGracz &e&l%arg 2% &3&lma &e&l%{warny.%arg 2%}% &3&lostrzezen!"
- if arg 2 is not set:
- message "{@prefix} &3&lNa swoim koncie masz &e&l%{warny.%player%}% &3&lze &e&l100"
- if arg 1 is "zglos":
- has permission "warnpro.zglos":
- if arg 2 is set:
- message " "
- if arg 2 is not set:
- message "{@prefix} &cNie podales nicku!"
- if arg 3 is not set:
- message "{@prefix} &cNie podales powodu!"
- if arg 3 is set:
- log "Gracz %player% zglasza gracza | %arg 2% | za | %arg 3%" to "Skargi_WarnPro"
- message "{@prefix} &e&lZglosiles gracza: &4&l%arg 2% &e&lza: &4&l%arg 3%"
- #=====================# To możesz włączyć usuwając '#' #=====================#
- #command /?:
- # description: Blokuje sprawdzanie listy pluginów
- # aliases: /plugins, /pl, /?, /craftbukkit, /lagg, /version
- # trigger:
- # send "&c&lNie możesz tego zobaczyć!"
- #=======================# Blokowanie przeklenstw #=======================#
- on chat:
- message contains "kurwa":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "kurwa" with "****" in the message
- message contains "huj":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "huj" with "****" in the message
- message contains "chuj":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "chuj" with "****" in the message
- message contains "pizda":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "pizda" with "****" in the message
- message contains "cipa":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "cipa" with "****" in the message
- message contains "perdal":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "pedal" with "****" in the message
- message contains "debil":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "debil" with "****" in the message
- message contains "ciota":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "ciota" with "****" in the message
- message contains "spierdalaj":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "spierdalaj" with "****" in the message
- message contains "pierdol":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "pierdol" with "****" in the message
- message contains "kutas":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "kutas" with "****" in the message
- message contains "pierdolony":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "pierdolony" with "****" in the message
- message contains "murzyn":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "murzyn" with "****" in the message
- message contains "cygan":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "cygan" with "****" in the message
- message contains "gej":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za przeklenstwo!"
- replace all "gej" with "****" in the message
- if {warny.%player%} is equal to 3 -1:
- execute console command "tempban %player% 30d {@prefix} &6&lZostales zbanowany na 30 dni za osiągnięcie maksymalnej ilości ostrzezen"
- #=======================# Blokada reklam #=======================#
- message contains "csrv":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame serwwera!"
- replace all "csrv" with "****" in the message
- message contains "hostmc":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame serwwera!"
- replace all "hostmc" with "****" in the message
- message contains "fcraft":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame serwwera!"
- replace all "fcraft" with "****" in the message
- message contains "mc":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame serwwera!"
- replace all "mc" with "****" in the message
- message contains "s1":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame serwwera!"
- replace all "s1" with "****" in the message
- message contains "pl":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "pl" with "****" in the message
- message contains "net":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "net" with "****" in the message
- message contains "org":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "org" with "****" in the message
- message contains "us":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "us" with "****" in the message
- message contains "cba":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "cba" with "****" in the message
- message contains "ugu":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "ugu" with "****" in the message
- message contains "com":
- execute console command "warn add %player%"
- message "{@prefix} &3&lDostales ostrzezenie za reklame strony!"
- replace all "com" with "****" in the message
- #=======================# Poprawa błędów #=======================#
- replace all "ktury" with "kt&4ó&fry" in the message
- replace all "muj" with "m&4ó&fj" in the message
- replace all "twuj" with "tw&4ó&fj" in the message
- replace all "hlep" with "&4ch&fle&4b&f" in the message
- # jak chcesz więcej to możesz sobie dodać :)
Advertisement
Add Comment
Please, Sign In to add comment