S
Silinen üye 79251
Ziyaretçi
Geçici olarak Skript halini kullanmanızı öneririm. ( Bana ait değildir. )
Kod:
#--==--===============-----------------===============--==--#
# ___________ ___________ #
# A U T H M E S K R I P T #
# #
# M A D E B Y F L O W S K R I P T #
# Version: 1.0 #
# #
#--==--===============-----------------===============--==--#
options:
p: &e&l&oAUTHME >
ilkgiris.mesaj: &eHosgeldiniz ! Kayit Olmak Icin&7: &c/kayit <sifre> <tekrar sifre>
kick.mesaj: &cUzun sifre girdiniz veya uzun sure beklediginiz icin atildiniz !
lobiyap.mesaj: &cLobi ayarlandi !&7: &c%{giris.lobi}%
kayitbolge.mesaj: &cZaten kayitlisin !
kayit.mesaj: &cBasariyla kayit oldun ! Sifren&7: %{login.%player%.mdp}%
hata.mesaj: &c&lError &cYetkin yok !
yanliskayit.mesaj: &cYanlis komut ! Dogru Kullanim: /kayit <sifre> <tekrar sifre>
sil.mesaj: &eParolayi sildigin kisi&7: %arg-2%
giris.mesaj: &eHosgeldiniz ! Giris Yapmak Icin&7: &c/giris <sifre>
giris.yap.mesaj: &eBasarili bir sekilde giris yaptin !
giris.hata.mesaj: &cGiris basarisiz !
zatengiris.yaptin.mesaj: &eZaten Giris Yaptin !
yanliskomut.giris.mesaj: &cYanlis Komut ! Dogru Kullanim: /giris <sifre>
kayit.mesajcmd: &cYanlis komut ! Dogru Kullanim: /kayit <sifre> <tekrar sifre>
sifdegis.mesaj: &cSifren basariyla degistirildi !
sifdegis.hata.mesaj: &cSifreni degistirirken bir hata oldu !
yanliskomut.sifdegis: &cYanlis Komut ! Dogru Kullanim: /sifredegis <sifre> <yeni sifre>
baglanma.mesaj: &cBasariyla baglandin !
permission: admin.authme
on join:
if {giris.auth.%player%} is not set:
send "{@p} {@ilkgiris.mesaj}"
teleport player to {giris.lobi}
set {conection.%player%} to true
apply slowness 100 to player for 9999999 seconds
loop 6 times:
send "{@p} {@ilkgiris.mesaj}"
wait 10 seconds
if {giris.auth.%player%} is not set:
wait 1 ticks
else if {giris.auth.%player%} is true:
stop
if {giris.auth.%player%} is not set:
kick player due to "{@p} {@kick.mesaj}"
if {giris.auth.%player%} is true:
send "{@p} {@giris.mesaj}"
set {conection.%player%} to true
set {location.%player%} to location of player
teleport player to {giris.lobi}
apply slowness 100 to player for 9999999 seconds
loop 6 times:
send "{@p} {@giris.mesaj}"
wait 10 seconds
if {conection.%player%} is not set:
stop
if {conection.%player%} is true:
kick player due to "{@p} {@kick.mesaj}"
command /giris [<text>]:
aliases: /g
trigger:
if {giris.auth.%player%} is true:
if {conection.%player%} is true:
set {authgiris.%player%} to arg 1
if {giris.%player%.auth} = {authgiris.%player%}:
remove slowness from player
send "{@p} {@giris.yap.mesaj}"
teleport player to {location.%player%}
clear {conection.%player%}
else:
send "{@p} {@giris.hata.mesaj}"
else:
send "{@p} {@zatengiris.yaptin.mesaj}"
if arg 1 is not set:
send "{@p} {@yanliskomut.giris.mesaj}"
command /kayit [<text>] [<text>]:
aliases: /k
trigger:
if {giris.auth.%player%} is not set:
if arg 1 is set:
if arg 2 is set:
set {auth1.%player%} to arg 1
set {auth2.%player%} to arg 2
if {auth1.%player%} = {auth2.%player%}:
set {giris.%player%.auth} to {auth1.%player%}
send "{@p} {@kayit.mesaj}"
remove slowness from player
set {giris.auth.%player%} to true
clear {conection.%player%}
else:
send "{@p} {@yanliskayit.mesaj}"
else if {giris.auth.%player%} is true:
send "{@p} {@kayitbolge.mesaj}"
if arg 1 is not set:
send "{@p} {@kayit.mesajcmd}"
if arg 2 is not set:
send "{@p} {@kayit.mesajcmd}"
command /sifredegis [<text>] [<text>]:
aliases: /sifdegis
trigger:
if arg 1 is set:
if arg 2 is set:
set {authdegis.%player%} to arg 2
set {auth.onayla.%player%} to arg 1
if {giris.%player%.auth} = {auth.onayla.%player%}:
set {giris.%player%.auth} to {authdegis.%player%}
send "{@p} {@sifdegis.mesaj}"
stop
else:
send "{@p} {@sifdegis.hata.mesaj}"
if arg 1 is not set:
send "{@p} {@yanliskomut.sifdegis}"
stop
if arg 1 is not set:
send "{@p} {@yanliskomut.sifdegis}"
stop
on command:
if {conection.%player%} is true:
if command is "g" or "giris" or "k" or "kayit":
stop
else:
cancel event
send "{@p} {@baglanma.mesaj}"
on place:
if {conection.%player%} is true:
cancel event
send "{@p} {@baglanma.mesaj}"
on break:
if {conection.%player%} is true:
cancel event
send "{@p} {@baglanma.mesaj}"
on drop:
if {conection.%player%} is true:
cancel event
send "{@p} {@baglanma.mesaj}"
on chat:
if {conection.%player%} is true:
cancel event
send "{@p} {@baglanma.mesaj}"
on pick up:
if {conection.%player%} is true:
cancel event
send "{@p} {@baglanma.mesaj}"
command /authmeadm [<text>] [<text>] [<text>] [<text>]:
permission: {@permission}
aliases: /authadm, /authadm
trigger:
if arg 1 is not set:
send "&8--==--=============------- &e&l&oAuthme Skript &8-------=============--==--"
send "&6> &c/authmeadm yenile&7: &6Skripti yeniler"
send "&6> &c/authmeadm set lobi&7: &6Lobi'yi ayarlar"
send "&6> &c/authmeadm sil <player>&7: &6Oyuncunun sifresini sifirlar"
send "&8--==--=============------- &e&l&oby FlowSkript &8-------=============--==--"
if arg 1 is "set":
if arg 2 is "lobi":
set {giris.lobi} to location of player
send "{@p} {@lobiyap.mesaj}"
if arg 1 is "sil" or "s":
if arg 2 is set:
clear {giris.auth.%arg-2%}
send "{@p} {@sil.mesaj}"
if arg 1 is "yenile" or "rl":
make player execute command "/sk reload %script name%"
send "{@p} &cYENILENDI"