[İSTEK] Bir şeye Sağ Tıkladığımızda onu hayali bir cheste koymak ve o chestteki şeye basıncada....

blackone1991

Elmas Madencisi
En iyi cevaplar
0
Çok uğraşmak istemedim mantığı yazıyor.Oradan bakarsın istersen öğretici bir şekilde yazıyım ?
PHP:
command /çubuk [<text>] [<text>]:
    trigger:
        arg 1 is not set:
            send "&c/çubuk kaydet <Yazı> &7- Yazıyı kaydeder." to player
            send "&c/çubuk sil &7- Kayıtlı yazıyı siler." to player
            stop
        else if arg 1 is "kaydet":
            if arg 2 is not set:
                send "&cKullanım: /çubuk kaydet <Yazı>" to player
                stop
            if {cubuk.yazi} is not set:
                set {cubuk.yazi} to arg 2
                send "&aYazı kaydedildi." to player
                stop
        else if arg 1 is "sil":
            if {cubuk.yazi} is not set:
                send "&cHer hangi bir kayıtlı bir yazı bulunamadı!" to player
                stop
            else:
                delete {cubuk.yazi}
                send "&aYazı silindi!" to player
                stop
                
command /göster:
    trigger:
        open chest with 1 rows named "&aDeneme" to player
        wait 2 ticks
        {cubuk.yazi} is set:
            format slot 0 of player with stick named "%{cubuk.yazi}%" to close then run ""
        else:
            stop
 

blackone1991

Elmas Madencisi
En iyi cevaplar
0
Zaten işsizim 2 dakika yapıcağım şimdi ne istiyorsun ? her çubuk al yazınca stack mi artsın ?
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
ama şimdi bak anlamıyonuz :D
ben köylüden warp yapmıştım ya
o warpları bi cheste kaydetmek istiom :D
tüm warpların itemleri kafa olsun ama isimleri değişik olsun :D

bakın kod burda
Kod:
#HQES WARP SİSTEMİ
#Lutfen Beğenmeyi Ve Yorum Atmayı Unutmayın
on script stop:
    wait 3 second
    send " " to console
    send " " to console
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send "            &7]&8--&eBy: &5@&aHqes&8--&7[" to console
    send "&eGule Gule &c*_*" to console
    send "&b Acilma Tarihi: &e%{acilis}%" to console
    send "&b Kapanma Tarihi: &e%now%" to console
    send "           &b&k:: &eForum.minecraftturk.com &b&k::" to console
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send " " to console
    send " " to console

on load:
    wait 3 second
    send " " to console
    send " " to console
    set {acilis} to "%now%"
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send "            &7]&8--&eBy: &5@&aHqes&8--&7[" to console
    send "&eVersiyon: &c0.1" to console
    send "           &b&k:: &eForum.minecraftturk.com &b&k::" to console
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send " " to console
    send " " to console

command /warpbekcisi:   
    permission: admin
    trigger:   
        set {warp.bekci} to location of player
        spawn villager at {warp.bekci}
        set display name of spawned villager to "&e&lWarp Bekcisi"
        apply slowness 999 to spawned villager for 999 days
        send "&e&lWarp Bekcisi Konumlandi Ona Sag Tiklayabilirsiniz" to player

command /warpayarla [<text>]:
    permission: admin
    trigger:
        set {warp.%arg 1%} to location of player 
        add argument 1 to {warp.liste::*}
        spawn villager at {warp.%arg 1%}
        apply slowness 999 to spawned villager for 999 days
        set display name of spawned villager to "&e&l%arg 1%"
        send "&6Basariyla &c%arg 1% &6adli warpi Olusturdunuz" to player

command /warp [<text = "liste">]:
    trigger:
        if argument 1 is "liste":
            send "&eWarplar&c: &7%{warp.liste::*}%" to player
        if argument 1 is not "liste":
            if {warp.%arg 1%} is set:
                teleport player to {warp.%arg 1%}
                send "&c%arg 1% &6adli warpa isinlanıldi" to player
            else:
                send "&cBoyle Bir warp yok! " to player

command /warpsil [<text>]:
    permission: admin
    trigger:
        if {warp.%arg 1%} is set:
            delete {warp.%arg 1%}
            send "&c%arg 1% &6adli warp silindi" to player
            remove argument 1 from {warp.liste::*}
            loop villagers:
                if name of loop-entity is "&e&l%arg 1%":
                    delete loop-entity
        else:
            send "&cBoyle Bir Warp Yok" to player

on death:
    victim is villager
    clear drops

on rightclick on villager:   
    if name of clicked entity is "&e&lWarp Bekcisi":
        open chest with 8 rows named "&c&lWarplar" to player

on rightclick on head:   
    if tool's display name is "&e&l%arg 1%":   
        teleport player to {warp.%arg 1%}
[DOUBLEPOST=1434795773,1434795667][/DOUBLEPOST]burda köylüye sağ tıklıyon ismi warp bekçisiyse chest açıyor
işte o cheste
her warp için kafa eklemek istiyom
kafaların isimleride
/warp ayarla [<text>] teki arg 2 olsun
her /warpayarla yapınca 1 kafa eklensin :D
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
olm warp yapıyom bi değişiklik olsun[DOUBLEPOST=1434796665,1434796404][/DOUBLEPOST]@Minecraftplayerr kodu attım sen ona eklermisin ?
/warpayarla <text> teki arg 1 i

köylüye sağ tıkladığında açılan cheste eklermisin kafa olarak ?
 

MeapBoy

Kızıltaş Madencisi
En iyi cevaplar
0
Biraz Daha Açıklayıcı Anlatsana Beynim Yandı Buz İle Siliyorum ._.
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
Biraz Daha Açıklayıcı Anlatsana Beynim Yandı Buz İle Siliyorum ._.
bak şimdi
/warpayarla [<text>] varya
arg 2 ye ne yazarsam
bi cheste kafa koysun ve onun ismi arg 2 de yazanın ismi olsun
o chesti açmak içinde köylüye sağ tıklayacan
al bak sana kod
bu kodun üstüne eklersin
PHP:
#HQES WARP SİSTEMİ
#Lutfen Beğenmeyi Ve Yorum Atmayı Unutmayın
on script stop:
    wait 3 second
    send " " to console
    send " " to console
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send "            &7]&8--&eBy: &5@&aHqes&8--&7[" to console
    send "&eGule Gule &c*_*" to console
    send "&b Acilma Tarihi: &e%{acilis}%" to console
    send "&b Kapanma Tarihi: &e%now%" to console
    send "           &b&k:: &eForum.minecraftturk.com &b&k::" to console
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send " " to console
    send " " to console

on load:
    wait 3 second
    send " " to console
    send " " to console
    set {acilis} to "%now%"
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send "            &7]&8--&eBy: &5@&aHqes&8--&7[" to console
    send "&eVersiyon: &c0.1" to console
    send "           &b&k:: &eForum.minecraftturk.com &b&k::" to console
    send "&7]&8--------------&bKoyluden Warp&8--------------&7[" to console
    send " " to console
    send " " to console

command /warpbekcisi:
    permission: admin
    trigger:
        set {warp.bekci} to location of player
        spawn villager at {warp.bekci}
        set display name of spawned villager to "&e&lWarp Bekcisi"
        apply slowness 999 to spawned villager for 999 days
        send "&e&lWarp Bekcisi Konumlandi Ona Sag Tiklayabilirsiniz" to player

command /warpayarla [<text>]:
    permission: admin
    trigger:
        set {warp.%arg 1%} to location of player
        add argument 1 to {warp.liste::*}
        spawn villager at {warp.%arg 1%}
        apply slowness 999 to spawned villager for 999 days
        set display name of spawned villager to "&e&l%arg 1%"
        send "&6Basariyla &c%arg 1% &6adli warpi Olusturdunuz" to player

command /warp [<text = "liste">]:
    trigger:
        if argument 1 is "liste":
            send "&eWarplar&c: &7%{warp.liste::*}%" to player
        if argument 1 is not "liste":
            if {warp.%arg 1%} is set:
                teleport player to {warp.%arg 1%}
                send "&c%arg 1% &6adli warpa isinlanıldi" to player
            else:
                send "&cBoyle Bir warp yok! " to player

command /warpsil [<text>]:
    permission: admin
    trigger:
        if {warp.%arg 1%} is set:
            delete {warp.%arg 1%}
            send "&c%arg 1% &6adli warp silindi" to player
            remove argument 1 from {warp.liste::*}
            loop villagers:
                if name of loop-entity is "&e&l%arg 1%":
                    delete loop-entity
        else:
            send "&cBoyle Bir Warp Yok" to player
on damage:
    victim is villager
    cancel event

on death:
    victim is villager
    clear drops

on rightclick on villager:
    if name of clicked entity is "&e&lWarp Bekcisi":
        open chest with 8 rows named "&c&lWarplar" to player

on rightclick on head:
    if tool's display name is "&e&l%arg 1%":
        teleport player to {warp.%arg 1%}
 

MeapBoy

Kızıltaş Madencisi
En iyi cevaplar
0
If Player Right Click to {Köylü Türü}Villager
Open *x* (* Kaç carpı kaç) chest.
Put "bir şey" item to *x*th slot named "%arg2&

işte bunun gibi bir şey düşün senin istediğini.
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
ama şey işte istediğin slota değilde sıra sıra eklensin istiyom
bide /warpayarla
yazınca eklensin cheste[DOUBLEPOST=1434797523,1434797446][/DOUBLEPOST]/warpayarla yazınca cheste kafa ekleyecek kafanın ismi "&e&l%arg 1%" olacak
köylüye sağ tıklayıncada köylünün ismi warp bekçisi ise sandık açaçak ve kafa olcak kafaların ismi "&e&l%arg 1%" olcak yani /warpayarla asda yazarsam kafanın ismi "&e&lasda" olcak
 

blackone1991

Elmas Madencisi
En iyi cevaplar
0
Basket klubündeyim gelince yaparım basit bir şey.Kaç tane warp var ? Yada kaç tane olmasını isityorsun
 

HqeS

Lapis Toplayıcısı
En iyi cevaplar
0
her warp ekledikce 1 tane kafa ekleyecek ya zor bişeymi ?
ben yapamadım
normal 8 row luk bir chest olsun[DOUBLEPOST=1434800022,1434797931][/DOUBLEPOST]@blackone1991
geldinmi eve :D
 

blackone1991

Elmas Madencisi
En iyi cevaplar
0
Bir satırlık yaptım fazla vaktim yok.Warp eklediğinde kafa oluşur.Bu kadar :/
Başka bir sorun olursa Skype: nazire869 :)
PHP:
command /warpayarla [<text>]:
    permission: admin
    trigger:
        set {warp.%arg 1%} to location of player 
        add argument 1 to {warp.liste::*}
        spawn villager at {warp.%arg 1%}
        apply slowness 999 to spawned villager for 999 days
        set display name of spawned villager to "&e&l%arg 1%"
        send "&6Basariyla &c%arg 1% &6adli warpi Olusturdunuz" to player

command /warp [<text = "liste">]:
    trigger:
        if argument 1 is "liste":
            loop {warp.liste::*}:
                add 1 to {_sayi}
                wait 1 ticks
                set {warp.%{_sayi}%.isim} to loop-value
                wait 1 ticks
            wait 1 ticks
            open chest with 1 rows named "Warplar" to player
            wait 2 ticks
            if {warp.1.isim} is set:
                format slot 0 of player with player head named "&e&l%{warp.1.isim}%" with lore "&7Işınlanmak için tıkla!" to close then run ""
            if {warp.2.isim} is set:
                format slot 1 of player with player head named "&e&l%{warp.2.isim}%" with lore "&7Işınlanmak için tıkla!" to close then run ""
            if {warp.3.isim} is set:
                format slot 2 of player with player head named "&e&l%{warp.3.isim}%" with lore "&7Işınlanmak için tıkla!" to close then run ""
            if {warp.4.isim} is set:
                format slot 3 of player with player head named "&e&l%{warp.4.isim}%" with lore "&7Işınlanmak için tıkla!" to close then run ""
            if {warp.5.isim} is set:
                format slot 4 of player with player head named "&e&l%{warp.5.isim}%" with lore "&7Işınlanmak için tıkla!" to close then run ""
            if {warp.6.isim} is set:
                format slot 5 of player with player head named "&e&l%{warp.6.isim}%" with lore "&7Işınlanmak için tıkla!" to close then run ""
        else:
            if {warp.%arg 1%} is set:
                teleport player to {warp.%arg 1%}
                send "&c%arg 1% &6adli warpa isinlanıldi" to player
            else:
                send "&cBoyle Bir warp yok! " to player

command /warpsil [<text>]:
    permission: admin
    trigger:
        if {warp.%arg 1%} is set:
            delete {warp.%arg 1%}
            send "&c%arg 1% &6adli warp silindi" to player
            remove argument 1 from {warp.liste::*}
            loop villagers:
                if name of loop-entity is "&e&l%arg 1%":
                    delete loop-entity
        else:
            send "&cBoyle Bir Warp Yok" to player
 
Üst