Sol Reklam

Irk Sistemi

Durum
Mesaj gönderimine kapalı.

UmutcanTR123

Zombi Geldi, Beni Yedi
Katılım
12 Kasım 2016
Mesajlar
236
Elmaslar
14
Puanlar
13.420
Arkadaşlar Şöyle Bir Şey İstiyorum
/irksecmemenu
kısaltma /ismenu
bu komut bir sayfa açıcak orada ırklar olucak ırklar
Okcu: Birisine Yay İle Ok Attığında Karşısındaki Rakipten Ekstradan Can Alıcak Ve Vurduğu Kişiye Yavaşlık Gelicek
Şempanze: xd Hız Ve Kılıç İle Vurduğunda Ekstradan Hasar Ve Vurduğu Kişiye Körlük
Lord: Ekstra Zırh (Koruma (Effekt) ) Ve Ekstra Can Götürme
Hades: Ateşten Güçlenme Ve Ateşten Hasar Almama (Yanarsa Özellikleri: Güç Zırh(Effekt) Ateşten Hasar Görmeme(Effekt)
Kral/Kraliçe: Altın Kılıçla Hasar Verdiğinde Öldürdüğü Kişiden 1 Elmas Kazanıcak (Serverde Olduğu İçin Esktradan Olarak Geçicek (Yani Serverde Combo Var O Yüzdne 2 Elması Olucak ) )
İnsan: Sadece Vurunca Güçlenme
Kurt: Hız Vurduğu Kişiden Can Emme
-----------------------------
Biraz Fazla Kod Gerekicek :D
Liste Ekleyemezsenizde Komutları Atın Ben Pluginini İndirdim Serverime Yaparım :)
Sadece 1 kere alınabilicek sıfırlama sadece yetkililer yapabilicek
 
ALINTIDIR
Deniyebilirsiniz.
Kod:
on first login:
    set {irk.%player%} to 0
    delete {irksecildi.%player%}
    delete {goblinozellik.%player%}
    set {irkinsan.%player%} to 0
    set {irkelf.%player%} to 0
    set {irkgoblin.%player%} to 0
    set {irkork.%player%} to 0
    wait 2 ticks
    set {irk.%player%} to 1
    apply potion of slowness 1000 to player for 999 days
  
on login:
    if {irksecildi.%player%} is not set:
        apply potion of slowness 1000 to player for 999 days
        send "" to player
        send " " to player
        send "&6[&dIrk &bSistemi&6] &cIrk Secmelisiniz : &f'&e/irksec&f'" to player
        wait 2 second
        send "&6[&dIrk &bSistemi&6] &cIrk Secmelisiniz : &f'&e/irksec&f'" to player
        wait 2 second
        send "&6[&dIrk &bSistemi&6] &cIrk Secmelisiniz : &f'&e/irksec&f'" to player
        send " " to player
        send " " to player
        stop
#--------------------------------------------------------------------------------------------
command /irksec:
    description: Irk secmek icin kullanılır.
    executable by : players
    aliases: /isec /is
    trigger:
        if {irk.%player%} is 1:
            wait 1 ticks
            open chest with 1 row named "&cIRK &6Menüsü" to player
            format slot 0 of player with red wool named "&2Orklar" with lore "&6-&4Ekstra Can&6-" to close then run "komutoynat %player% ork"
            format slot 1 of player with yellow wool named "&cGoblinler" with lore "&6-&4Ekstra Sinsilik &6-" to close then run "komutoynat %player% goblin"
            format slot 2 of player with green wool named "&5Elfler" with lore "&6-&4Ekstra Ok Gücü&6-" to close then run "komutoynat %player% elf"
            format slot 3 of player with purple wool named "&7Insanlar" with lore "&6-&4Ekstra Hız+Zıplama&6-" to close then run "komutoynat %player% insan"
            format slot 8 of player with nether star named "&6[&4Geri Dön&6]" to close
        else:
            send "&6[&dIrk &bSistemi&6] &cZaten &4IRK &csectin !" to player
#--------------------------------------------------------------------------------------------
command /ork:
    executable by: player
    permission: irksec.ork
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set the maximum health of the player to 12
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkork.%player%} to 1
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cOrk " to player
command /goblin:
    executable by: player
    permission: irksec.goblin
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkgoblin.%player%} to 1
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cGoblin " to player
command /elf:
    executable by: player
    permission: irksec.elf
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkelf.%player%} to 1
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cElf " to player
command /insan:
    executable by: player
    permission: irksec.insan
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkinsan.%player%} to 1
        apply potion of swiftness 2 to player for 999 days
        apply potion of jump boost 2 to player for 999 days
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cInsan " to player  
#--------------------------------------------------------------------------------------------      
command /irksifirla <player>:
    executable by: console
    trigger:
        delete {irksecildi.%arg 1%}
        set {irk.%arg 1%} to 1
        set {irkork.%arg 1%} to 0
        set {irkgoblin.%arg 1%} to 0
        set {irkelf.%arg 1%} to 0
        set {irkinsan.%arg 1%} to 0
        remove swiftness from arg 1
        remove jump boost from arg 1
        delete {goblinozellik.%arg 1%}
        set the maximum health of the arg 1 to 10
        send "&6[&dIrk &bSistemi&6] &4Irk'ın Sıfırlandı !" to arg 1
        send "&6[&dIrk &bSistemi&6] &4Irk Sıfırlama &ebasarili !" to player
          
command /komutoynat <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
#--------------------------------------------------------------------------------------------
on death:
    if {irkork.%player%} is 1:
        if victim is player:
            send "&6[&dIrk &bSistemi&6] &4 Özellikleriniz &610 saniye içerisinde geri gelicek ! " to player
            wait 8 second
            set the maximum health of the victim to 12
#--------------------------------------------------------------------------------------------
on damage:
    victim is player
    if {irkgoblin.%victim%} is 1:
        if {goblinozellik.%victim%} is not set:
            apply potion of invisibility 1 to victim for 10 second
            send "&6[&dIrk &bSistemi&6] &4Özellikleriniz &e10 &4saniye için &caktifleştirildi !" to victim
            set {goblinozellik.%victim%} to 1
            wait 5 second
            delete {goblinozellik.%victim%}
        else:
            send "&6[&dIrk &bSistemi&6] &4Özellik &e5 &4Saniye Sonra Tekrar Devreye Giricek"
#--------------------------------------------------------------------------------------------
on damage:
    if attacker's tool is bow:
        if {irkelf.%attacker%} is 1:
            damage victim by 1.5 hearts      
#--------------------------------------------------------------------------------------------
on death:
    if {irkinsan.%player%} is 1:
        if victim is player:
            send "&6[&dIrk &bSistemi&6] &4 Özellikleriniz '&610' saniye içerisinde geri gelicek ! " to player
            wait 8 second
            apply potion of swiftness to player for 999 days
            apply potion of jump boost to player for 999 days
#--------------------------------------------------------------------------------------------
[DOUBLEPOST=1509551423,1509551362][/DOUBLEPOST]SkQuery ve skRayFall bulunması daha iyi olur
 
serverim 1.7.2 :/
ALINTIDIR
Deniyebilirsiniz.
Kod:
on first login:
    set {irk.%player%} to 0
    delete {irksecildi.%player%}
    delete {goblinozellik.%player%}
    set {irkinsan.%player%} to 0
    set {irkelf.%player%} to 0
    set {irkgoblin.%player%} to 0
    set {irkork.%player%} to 0
    wait 2 ticks
    set {irk.%player%} to 1
    apply potion of slowness 1000 to player for 999 days
  
on login:
    if {irksecildi.%player%} is not set:
        apply potion of slowness 1000 to player for 999 days
        send "" to player
        send " " to player
        send "&6[&dIrk &bSistemi&6] &cIrk Secmelisiniz : &f'&e/irksec&f'" to player
        wait 2 second
        send "&6[&dIrk &bSistemi&6] &cIrk Secmelisiniz : &f'&e/irksec&f'" to player
        wait 2 second
        send "&6[&dIrk &bSistemi&6] &cIrk Secmelisiniz : &f'&e/irksec&f'" to player
        send " " to player
        send " " to player
        stop
#--------------------------------------------------------------------------------------------
command /irksec:
    description: Irk secmek icin kullanılır.
    executable by : players
    aliases: /isec /is
    trigger:
        if {irk.%player%} is 1:
            wait 1 ticks
            open chest with 1 row named "&cIRK &6Menüsü" to player
            format slot 0 of player with red wool named "&2Orklar" with lore "&6-&4Ekstra Can&6-" to close then run "komutoynat %player% ork"
            format slot 1 of player with yellow wool named "&cGoblinler" with lore "&6-&4Ekstra Sinsilik &6-" to close then run "komutoynat %player% goblin"
            format slot 2 of player with green wool named "&5Elfler" with lore "&6-&4Ekstra Ok Gücü&6-" to close then run "komutoynat %player% elf"
            format slot 3 of player with purple wool named "&7Insanlar" with lore "&6-&4Ekstra Hız+Zıplama&6-" to close then run "komutoynat %player% insan"
            format slot 8 of player with nether star named "&6[&4Geri Dön&6]" to close
        else:
            send "&6[&dIrk &bSistemi&6] &cZaten &4IRK &csectin !" to player
#--------------------------------------------------------------------------------------------
command /ork:
    executable by: player
    permission: irksec.ork
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set the maximum health of the player to 12
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkork.%player%} to 1
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cOrk " to player
command /goblin:
    executable by: player
    permission: irksec.goblin
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkgoblin.%player%} to 1
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cGoblin " to player
command /elf:
    executable by: player
    permission: irksec.elf
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkelf.%player%} to 1
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cElf " to player
command /insan:
    executable by: player
    permission: irksec.insan
    permission message: &cBu komutu kullanmaya iznin yok !
    trigger:
        wait 2 tick
        remove slowness from player
        set {irk.%player%} to 0
        set {irksecildi.%player%} to 1
        set {irkinsan.%player%} to 1
        apply potion of swiftness 2 to player for 999 days
        apply potion of jump boost 2 to player for 999 days
        send "&6[&dIrk &bSistemi&6] &4Irkını başariyla seçtin ! &6IRK: &cInsan " to player  
#--------------------------------------------------------------------------------------------      
command /irksifirla <player>:
    executable by: console
    trigger:
        delete {irksecildi.%arg 1%}
        set {irk.%arg 1%} to 1
        set {irkork.%arg 1%} to 0
        set {irkgoblin.%arg 1%} to 0
        set {irkelf.%arg 1%} to 0
        set {irkinsan.%arg 1%} to 0
        remove swiftness from arg 1
        remove jump boost from arg 1
        delete {goblinozellik.%arg 1%}
        set the maximum health of the arg 1 to 10
        send "&6[&dIrk &bSistemi&6] &4Irk'ın Sıfırlandı !" to arg 1
        send "&6[&dIrk &bSistemi&6] &4Irk Sıfırlama &ebasarili !" to player
          
command /komutoynat <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
#--------------------------------------------------------------------------------------------
on death:
    if {irkork.%player%} is 1:
        if victim is player:
            send "&6[&dIrk &bSistemi&6] &4 Özellikleriniz &610 saniye içerisinde geri gelicek ! " to player
            wait 8 second
            set the maximum health of the victim to 12
#--------------------------------------------------------------------------------------------
on damage:
    victim is player
    if {irkgoblin.%victim%} is 1:
        if {goblinozellik.%victim%} is not set:
            apply potion of invisibility 1 to victim for 10 second
            send "&6[&dIrk &bSistemi&6] &4Özellikleriniz &e10 &4saniye için &caktifleştirildi !" to victim
            set {goblinozellik.%victim%} to 1
            wait 5 second
            delete {goblinozellik.%victim%}
        else:
            send "&6[&dIrk &bSistemi&6] &4Özellik &e5 &4Saniye Sonra Tekrar Devreye Giricek"
#--------------------------------------------------------------------------------------------
on damage:
    if attacker's tool is bow:
        if {irkelf.%attacker%} is 1:
            damage victim by 1.5 hearts      
#--------------------------------------------------------------------------------------------
on death:
    if {irkinsan.%player%} is 1:
        if victim is player:
            send "&6[&dIrk &bSistemi&6] &4 Özellikleriniz '&610' saniye içerisinde geri gelicek ! " to player
            wait 8 second
            apply potion of swiftness to player for 999 days
            apply potion of jump boost to player for 999 days
#--------------------------------------------------------------------------------------------
[DOUBLEPOST=1509551423,1509551362][/DOUBLEPOST]SkQuery ve skRayFall bulunması daha iyi olur
daha önceden denedim bunu bunda hata vardı sonradan değiştirilmiş ben yeni şeylerde eklemek istiyorum skript bilgim 0 birazcık biliyorum oda block kırınca eline gelmesi bir tek onu çözebildim :/
 
Durum
Mesaj gönderimine kapalı.
Yukarı