Tek İp ile Kayıt Olma Skripti

Sqyad

YASAKLANDI
Mesajlar
7
En iyi cevaplar
0
Beğeniler
1
Puanları
0
Buyrun, kolay gelsin. (Bahsettiğin şey, authme ile yapılır.) Bu aynı ip'den 2 girişi engellemek içindir.

Kod:
on login:
    if {ips.banned::*} contains "%player's IP address%":
        kick the player due to "&4Ayni IP'den 2 Hesapla girilemez"
        add player's IP address to {ips.banned::*}
    else:
        add player's IP address to {ips.banned::*}

on quit:
    loop {ips.banned::*}:
        if loop-value is player's IP address:
            remove loop-value from {ips.banned::*}
 

Üst