Harun553
Zombi Geldi, Beni Yedi
- Katılım
- 3 Eylül 2014
- Mesajlar
- 260
- Elmaslar
- 97
- Puan
- 13.950
- Konum
- Ankara
- Minecraft
- HarunBulbull
Discord:
HarunBulbull#8233
Merhaba değerli forum üyeleri, bu gün sizlere yapmış olduğum Güvenlik Kodu skriptimi tanıtacağım. Skript'in asıl amacı Authme eklentisinde hesap çalmanın kolay olmasından dolayı bu hesap çalma olaylarını azaltmaktır. Oyuncular şifrelerini girdikten sonra gene hareket edemezler ve önceden belirledikleri güvenlik kodunu girmeleri gerekir, 40 saniye içinde girmez ise sunucudan atılır.
Peki kodu girmeden hesap soyulamaz mı?
Hayır, güvenlik kodunu girmeden oyuncu hareket, sohbet, komut (login vs. dışında), eşya atma, eşya alma, hasar alma, hasar verme gibi eylemleri gerçekleştiremez.
Not: Skript'in izinsiz paylaşılması yasaktır.
Dipnot: Kod belirlenirken boşluk ve / ifadeleri kullanılamaz.
Peki kodu girmeden hesap soyulamaz mı?
Hayır, güvenlik kodunu girmeden oyuncu hareket, sohbet, komut (login vs. dışında), eşya atma, eşya alma, hasar alma, hasar verme gibi eylemleri gerçekleştiremez.
Not: Skript'in izinsiz paylaşılması yasaktır.
Konuyla ilgili video:
Skript:
Skript:
Kod:
#Skript by Harunbulbull
variables:
{guvenlik.%player%} = false
{kod.%player%} = "yok"
on join:
set {lokasyon.%player%} to player's location
set {guvenlik.%player%} to true
wait 40 seconds
if {guvenlik.%player%} is true:
execute console command "kick %player% Doğrulamadan geçemediniz."
stop
on any movement:
if {guvenlik.%player%} is true:
teleport player to {lokasyon.%player%}
if {kod.%player%} isn't "yok":
send "&8[&aGüvenlik&8] » &fLütfen önceden belirlediğiniz &aGüvenlik Kodunu &fsohbete yazınız."
stop
if {kod.%player%} is "yok":
send "&8[&aGüvenlik&8] » &fLütfen hesabınız çalınması durumunda veri kaybınızın olmaması için bir güvenlik kodu belirleyin ve bunu sohbete yazınız. Oyuna her girişinizde güvenlik kodu istenecektir. Lütfen kodu sallamayın."
stop
on chat:
if {guvenlik.%player%} is true:
cancel event
if {kod.%player%} isn't "yok":
if message is {kod.%player%}:
set {guvenlik.%player%} to false
send "&8[&aGüvenlik&8] » &fGiriş kodu kabul edildi. İyi oyunlar."
stop
if message isn't {kod.%player%}:
set {guvenlik.%player%} to false
execute console command "kick %player% Yanlış güvenlik kodu!"
stop
if {kod.%player%} is "yok":
if message contains "/" or " ":
cancel event
send "&8[&aGüvenlik&8] » &fKodunuzun içerisinde &cboşluk &fve &c/ &folamaz."
stop
else:
set {kod.%player%} to message
set {guvenlik.%player%} to false
send "&8[&aGüvenlik&8] » &fGiriş kodunuz &a%message% &folarak belirlendi. Bunu oyuna her girişinde kullanacaksınız, lütfen not edin."
stop
on pickup:
if {guvenlik.%player%} is true:
cancel event
on drop:
if {guvenlik.%player%} is true:
cancel event
on damage:
if {guvenlik.%victim%} is true:
cancel event
stop
if {guvenlik.%attacker%} is true:
cancel event
stop
on command:
if {guvenlik.%player%} is true:
if command isn't "l" or "log" or "login" or "register" or "reg" or "giriş" or "gir" or "giris" or "kayıt" or "kayıtol" or "kayit" or "kayitol":
cancel event
if {kod.%player%} is "yok":
send "&8[&aGüvenlik&8] » &fLütfen hesabınız çalınması durumunda veri kaybınızın olmaması için bir güvenlik kodu belirleyin ve bunu sohbete yazınız. Oyuna her girişinizde güvenlik kodu istenecektir. Lütfen kodu sallamayın."
stop
if {kod.%player%} isn't "yok":
send "&8[&aGüvenlik&8] » &fLütfen önceden belirlediğiniz &aGüvenlik Kodunu &fsohbete yazınız."
stop
command /koddegistir [<text>]:
aliases: /koddeğiştir
trigger:
if arg-1 is set:
if arg-1 contains " " or "/":
send "&8[&aGüvenlik&8] » &fKodunuzun içerisinde &cboşluk &fve &c/ &folamaz."
stop
else:
send "&8[&aGüvenlik&8] » &fYeni güvenlik kodunuz &a%arg-1% &folarak belirlendi."
set {kod.%player%} to arg-1
stop
else:
send "&8[&aGüvenlik&8] » &fLütfen bir kod yazın."
command /kod [<text>]:
permission: sk.admin
permission message: &8[&aGüvenlik&8] » &fYetkiniz yok!
trigger:
if arg-1 is set:
send ""
send "&8[&aGüvenlik&8] » &a%arg-1% &fadlı oyuncunun güvenlik kodu:"
send "&a%{kod.%arg-1%}%"
send ""
else:
send "&8[&aGüvenlik&8] » &flütfen bir isim girin."
command /kodsil [<player>]:
permission: sk.admin
permission message: &8[&aGüvenlik&8] » &fYetkiniz yok!
trigger:
set {kod.%arg-1%} to "yok"
execute console command "kick %player% Lütfen tekrar giriş yapınız."
Dipnot: Kod belirlenirken boşluk ve / ifadeleri kullanılamaz.