Istek Skripti Güvenlik kodu skripti

MügeDemirel

Play.GodOfCraft.biz
En iyi cevaplar
0
sw op kisiler girince hic birsey yapamasin kodu yazmadan ole bir skript lazim banada
 

Thraenkost

Lapis Toplayıcısı
En iyi cevaplar
1
PHP:
on join:
    if player has permission "op":
        if {guvenlik.%player%} is set:
            set {guvenli.%player%} to 1
            send "&aGüvenlik Kodunu Giriniz!"
            send "&a/guvenlik gir <şifre> <şifre onay>"

command /guvenlik [<text>] [<text>] [<text>]:
    permission: op
    trigger:
        uncancel event
        if arg 1 is "ekle":
            if arg 2 is set:
                if arg 3 is "%arg 2%":
                    if {guvenlik.%player%} is not set:
                        set {guvenlik.%player%} to "%arg 2%"
                        send "&a[%arg 2%] Güvenlik Kodunuz."
                    else:
                        send "&cGüvenlik Kodunuz Var!"
                else:
                    send "&cŞifreyi Onaylayın!"
        if arg 1 is "gir":
            if arg 2 is "%{guvenlik.%player%}%":
                if arg 3 is "%arg 2%":
                    send "&aDoğru Şifre!"
                    delete {guvenli.%player%}
            else:
                send "&cYanlış Şifre!"
                wait 1 second
                kick the player due to "Şifre Yanlış!"
        if arg 1 is "degis":
            if arg 2 is set:
                if arg 3 is "%{guvenlik.%player%}%"
                    send "&aŞifreniz [%arg 2%] Olarak Değiştirildi."
                    set {guvenlik.%player%} to "%arg 2%"
                else:
                    send "&cEski Şifre Giriniz!"

on damage:
    if player has permission "op":
        if {guvenli.%player%} is set:
            cancel event

on break of block:
    if player has permission "op":
        if {guvenli.%player%} is set:
            cancel event

on command:
    if player has permission "op":
        if {guvenli.%player%} is set:
            cancel event
 

MügeDemirel

Play.GodOfCraft.biz
En iyi cevaplar
0
Buda Varda Calismiyor :(
PHP:
options:
guvenlikkodu: NitradoTR #Güvenlik kodunu buradan değiştirin.
prefix: &a[&6NitradoTR-Güvenlik&a]

on join:
if player has permission "sk.guvenlik":
  set {komutengel::%player%} to 1
  wait 2 second
  loop 10 times:
   send "&4Güvenlik kodunu girmelisin. Yoksa hiçbir komut çalışmaz."

on command:
if player has permission "sk.guvenlik":
  if {komutengel::%player%} is set:
   if command is not "gkod" or "gkod " or "l" or "l " or "giris" or "giris " or "login" or "login " or "gir" or "gir ":
    cancel event
    send "{@prefix} &4Komut kullanabilmek için güvenlik kodunu girmelisin !"

on quit:
if player has permission "sk.guvenlik":
  delete {komutengel::%player%}

command /gkod [<text>]:
permission: sk.guvenlik
trigger:
  if arg is set:
   if {komutengel::%player%} is set:
    if arg is "{@guvenlikkodu}":
     delete {komutengel::%player%}
     send "{@prefix} &aKod doğru !"
     send "{@prefix} &aKomutlar açıldı."
    else:
     send "{@prefix} &4Güvenlik kodunu yanlış girdin."
   else:
    send "{@prefix} &bDaha önce zaten güvenlik kodunu girmişsin."  
   if arg is not set:
    send "{@prefix} &4Lütfen güvenlik kodunu girin."

on break:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Bir yeri kırmak için güvenlik kodunu girmelisin."
on place:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Block koymak için güvenlik kodunu girmelisin."
on drop:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Birşey atmak için güvenlik kodunu girmelisin."
on rightclick:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Güvenli kodunu girmelisin."

PHP:
on join:
    if player has permission "op":
        if {guvenlik.%player%} is set:
            set {guvenli.%player%} to 1
            send "&aGüvenlik Kodunu Giriniz!"
            send "&a/guvenlik gir <şifre> <şifre onay>"

command /guvenlik [<text>] [<text>] [<text>]:
    permission: op
    trigger:
        uncancel event
        if arg 1 is "ekle":
            if arg 2 is set:
                if arg 3 is "%arg 2%":
                    if {guvenlik.%player%} is not set:
                        set {guvenlik.%player%} to "%arg 2%"
                        send "&a[%arg 2%] Güvenlik Kodunuz."
                    else:
                        send "&cGüvenlik Kodunuz Var!"
                else:
                    send "&cŞifreyi Onaylayın!"
        if arg 1 is "gir":
            if arg 2 is "%{guvenlik.%player%}%":
                if arg 3 is "%arg 2%":
                    send "&aDoğru Şifre!"
                    delete {guvenli.%player%}
            else:
                send "&cYanlış Şifre!"
                wait 1 second
                kick the player due to "Şifre Yanlış!"
        if arg 1 is "degis":
            if arg 2 is set:
                if arg 3 is "%{guvenlik.%player%}%"
                    send "&aŞifreniz [%arg 2%] Olarak Değiştirildi."
                    set {guvenlik.%player%} to "%arg 2%"
                else:
                    send "&cEski Şifre Giriniz!"

on damage:
    if player has permission "op":
        if {guvenli.%player%} is set:
            cancel event

on break of block:
    if player has permission "op":
        if {guvenli.%player%} is set:
            cancel event

on command:
    if player has permission "op":
        if {guvenli.%player%} is set:
            cancel event
Sifreni Nasil Ayarliyoz ??
 
S

Switcher

Ziyaretçi
Kod:
options:
    kod: 123456789
on login:
    player is op:
        set {kod.%player%} to false
        loop 6 times:
            {kod.%player%} is false
            send "&c[Güvenlik Kodu] &bSohbet Penceresine kodu giriniz.." to player
            wait 2 second
        {kod.%player%} is false
        kick player due to "&cKodu girmediniz."
        stop
on quit:
    player is op:
        delete {kod.%player%}
on chat:
    {kod.%player%} is false
    cancel event
    "%message%" is "{@kod}":
        set {kod.%player%} to true
        send "&c[Güvenlik Kodu] &aBaşarıyla giriş yaptınız."
        stop       
    else:
        send "&c[Güvenlik Kodu] &4Yanlış Kod"
        stop
on command:
    {kod.%player%} is false
    cancel event
on break:
    {kod.%player%} is false
    cancel event
on place:
    {kod.%player%} is false
    cancel event
on drop:
    {kod.%player%} is false
    cancel event
on damage:
    {kod.%attacker%} is false
    cancel event
on inventory click:
    {kod.%player%} is false
    cancel event
 

iFakeGlobal

#TerörüLanetliyoruz...
En iyi cevaplar
0
Buda Varda Calismiyor :(
PHP:
options:
guvenlikkodu: NitradoTR #Güvenlik kodunu buradan değiştirin.
prefix: &a[&6NitradoTR-Güvenlik&a]

on join:
if player has permission "sk.guvenlik":
  set {komutengel::%player%} to 1
  wait 2 second
  loop 10 times:
   send "&4Güvenlik kodunu girmelisin. Yoksa hiçbir komut çalışmaz."

on command:
if player has permission "sk.guvenlik":
  if {komutengel::%player%} is set:
   if command is not "gkod" or "gkod " or "l" or "l " or "giris" or "giris " or "login" or "login " or "gir" or "gir ":
    cancel event
    send "{@prefix} &4Komut kullanabilmek için güvenlik kodunu girmelisin !"

on quit:
if player has permission "sk.guvenlik":
  delete {komutengel::%player%}

command /gkod [<text>]:
permission: sk.guvenlik
trigger:
  if arg is set:
   if {komutengel::%player%} is set:
    if arg is "{@guvenlikkodu}":
     delete {komutengel::%player%}
     send "{@prefix} &aKod doğru !"
     send "{@prefix} &aKomutlar açıldı."
    else:
     send "{@prefix} &4Güvenlik kodunu yanlış girdin."
   else:
    send "{@prefix} &bDaha önce zaten güvenlik kodunu girmişsin." 
   if arg is not set:
    send "{@prefix} &4Lütfen güvenlik kodunu girin."

on break:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Bir yeri kırmak için güvenlik kodunu girmelisin."
on place:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Block koymak için güvenlik kodunu girmelisin."
on drop:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Birşey atmak için güvenlik kodunu girmelisin."
on rightclick:
if {komutengel::%player%} is set:
  cancel event
  send "{@prefix} &4Güvenli kodunu girmelisin."


Sifreni Nasil Ayarliyoz ??
Nitrado nun Güvenlik Kodu Sorunsuz Çalışıyor :)
 
Üst