21-08-2016, 06:58 PM
#====================================================================================================================
#Autor Skryptu:XxMichal10390xX
#Nazwa Skryptu: Anty-SpeedMine
#Wersja Skryptu: 1.0
#Funkcje:
# ●Blokada SpeedMine / FastBreak
# ●Zgloszenie Adminowi Gracza z SpeedMine
# ●Automatyczne Banowanie
# ●Lista Zgloszonych
#Do Zrobienia:
# ●Anty-SpeedMine na inne Bloki np. Wood
# ●Poprawa Działania Skryptu
#====================================================================================================================
variables:
{kopanie.%player%} = 0
{warn.%player%} = 0
on mine of stone:
if {kopanie.%player%} is 0:
set {kopanie.%player%} to 1
wait 4 tick
set {kopanie.%player%} to 0
if {kopanie.%player%} is 1:
cancel event
send "&7[&cSPEEDMINE&7]&aWykryto &6SpeedMine. &aKopanie Zostalo Zablokowane" to player
send "&7[&cSPEEDMINE&7]&aJesli Nie Uzywasz &6SpeedMine &aA to ci Wyskoczylo. &cZglos to Administracji"
send "&7[&cSPEEDMINE&7]&aGracz &6%player% &aJest Podejzany o SpeedMine" to op
add player to {ListaSM::*}
add 1 to {warn.%player%}
if {warn.%player%} is 5:
execute console command "ban %player%"
broadcast "&7[&cSPEEDMINE&7]&aGracz &6%player% &aZostal Zbanowany IP. &cUzywanie SPEEDMINE"
remove 5 from {warn.%player%}
command /sm [<text>]:
trigger:
if player has permissions "SpeedMine.*":
if arg 1 is not set:
send "&7[&cSPEEDMINE&7]&aPodejzani: &5%{ListaSM::*}%"
stop
if arg 1 is "czysc":
clear {ListaSM::*}
send "&7[&cSPEEDMINE&7]&aWyczysczono Liste"
else:
send "&4Nie masz Uprawnien"
#Autor Skryptu:XxMichal10390xX
#Nazwa Skryptu: Anty-SpeedMine
#Wersja Skryptu: 1.0
#Funkcje:
# ●Blokada SpeedMine / FastBreak
# ●Zgloszenie Adminowi Gracza z SpeedMine
# ●Automatyczne Banowanie
# ●Lista Zgloszonych
#Do Zrobienia:
# ●Anty-SpeedMine na inne Bloki np. Wood
# ●Poprawa Działania Skryptu
#====================================================================================================================
variables:
{kopanie.%player%} = 0
{warn.%player%} = 0
on mine of stone:
if {kopanie.%player%} is 0:
set {kopanie.%player%} to 1
wait 4 tick
set {kopanie.%player%} to 0
if {kopanie.%player%} is 1:
cancel event
send "&7[&cSPEEDMINE&7]&aWykryto &6SpeedMine. &aKopanie Zostalo Zablokowane" to player
send "&7[&cSPEEDMINE&7]&aJesli Nie Uzywasz &6SpeedMine &aA to ci Wyskoczylo. &cZglos to Administracji"
send "&7[&cSPEEDMINE&7]&aGracz &6%player% &aJest Podejzany o SpeedMine" to op
add player to {ListaSM::*}
add 1 to {warn.%player%}
if {warn.%player%} is 5:
execute console command "ban %player%"
broadcast "&7[&cSPEEDMINE&7]&aGracz &6%player% &aZostal Zbanowany IP. &cUzywanie SPEEDMINE"
remove 5 from {warn.%player%}
command /sm [<text>]:
trigger:
if player has permissions "SpeedMine.*":
if arg 1 is not set:
send "&7[&cSPEEDMINE&7]&aPodejzani: &5%{ListaSM::*}%"
stop
if arg 1 is "czysc":
clear {ListaSM::*}
send "&7[&cSPEEDMINE&7]&aWyczysczono Liste"
else:
send "&4Nie masz Uprawnien"
----------------------------------------------------------------------------------
Daj repkę jeśli pomogłem +1
Daj repkę jeśli pomogłem +1