Ev skripti İsteği!

Kovalski_Eyes

Kızıltaş Madencisi
Mesajlar
570
En iyi cevaplar
0
Beğeniler
939
Puanları
1,090
Ruh hali
sunucum için güzel bir fikrim varda
[automerge]1525010774[/automerge]
aslında basitmiş :D
Kod:
on place of log:
    if tool's display name is "&cEv":
        execute player command "schematic load özelev"
        execute player command "paste"
[automerge]1525010867[/automerge]
yaptım ancak sadece bir schematic için nasıl yetki verebilirim yani schematic.* versem bütün komutlara sahip olurlar benim istediğim bir komut vermek bunu nasıl yapıcam
execute server command diye bir şey vardı konsol giriyodu komutu oyuncunun yetkilerini umursamadan
 

Kovalski_Eyes

Kızıltaş Madencisi
Mesajlar
570
En iyi cevaplar
0
Beğeniler
939
Puanları
1,090
Ruh hali
aslında benim kafam başka yere gitti amacın bunu yetkiyle yaptırmaksa player has permission diye bir şey vardı kullanmıyorum uzun süredir unutmuşum kafam şeye gitti // komutlarını oyuncu kullanamaz ya onları servera yaptırmak
 

haglam123

Altın Madencisi
Mesajlar
375
En iyi cevaplar
0
Beğeniler
30
Puanları
230
Ruh hali
aslında benim kafam başka yere gitti amacın bunu yetkiyle yaptırmaksa player has permission diye bir şey vardı kullanmıyorum uzun süredir unutmuşum kafam şeye gitti // komutlarını oyuncu kullanamaz ya onları servera yaptırmak
if player has permission mu diyorsunuz?
ancak bunun anlamı farklı bunda yetki varsa anlamına geliyor
 

Kovalski_Eyes

Kızıltaş Madencisi
Mesajlar
570
En iyi cevaplar
0
Beğeniler
939
Puanları
1,090
Ruh hali
if player has permission mu diyorsunuz?
ancak bunun anlamı farklı bunda yetki varsa anlamına geliyor
pff yazdıklarımı dikkatli oku .s 2 tane sorunun var şu an ikisinide cevapladım ben
1. schematic komutlarını oyuncular nasıl kullanıcak?, cevabı execute player command yerine execute server command yaz
2. bunu hangi oyuncular kullanabilecek? player has permission: "kova"
 

Aerenn

Zombi Katili
Mesajlar
188
En iyi cevaplar
0
Beğeniler
103
Puanları
380
Uzun zamandır skript ile uğraşmadım ama
Kod:
run %player% (command|cmd) %text% as op
(WILDSKRIPT)
Kod:
(force|make) %player% run (cmd|command) %string% as op
(SKUTILITIES)
bu ikisinden biri ile yetki vermeden, yetkisi varmış gibi oyuncuya bir komut girdirebilirsin.

Oyuncunun blok koyduğu yerin kendisine ait bir claimde olup olmadığını kontrol etmek için şunlardan birisi işini görür her halde:
skUnity

Spawnda yapmaması için de "if player is in region "spawn"" gibi bir şey olması lazım, hatırlamıyorum.

Aslında schematic'i komutla yüklemek yerine
skUnity
buradaki effectlerden birisiyle yapabilirsin.

Sonuçta bu işlemi yapmak için bir sürü addon kurman gerekiyor. Bunun yerine WorldEdit'i, WorldGuard'ı ve GriefPrevention'ı dependencies'e ekleyerek tek bir plugin kodlaman daha sağlıklı olacaktır.
 

Eren_Kaya

Marangoz
Mesajlar
54
En iyi cevaplar
0
Beğeniler
18
Puanları
410
Bunu aklıma sokmayacaktınız... Kodlamaya başlıyorum. Şimdi onlar düşünsün... dklhdf
[automerge]1525715653[/automerge]
Kod:
on rightclick with nether_star:
    if name of tool is "Evyap":
        cancel event
        remove 1 nether_star named "Evyap" from player
        send "&6Ev yapımı başladı!" to player
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        wait 1 second
        add 2 to {locz.%player%}
        #(kapı) set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to spruce_door
        wait 0.2 seconds
        remove 1 from {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        remove 2 from {locx.%player%}
        add 1 to {locz.%player%}

        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to fence
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to fence
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        remove 2 from {locx.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
#-----------------------------------------------TAVAN---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        add 3 to {locy.%player%}
        remove 1 from {locx.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        add 1 to {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locy.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
#-----------------------------------------------ZEMİN---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        remove 1 from {locx.%player%}
        remove 1 from {locy.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
#-----------------------------------------------İÇ---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        add 1 to {locz.%player%}
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to chest
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to chest
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to crafting table
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to trapdoor
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to furnace
        add 1 to {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to furnace
Biraz küçük ama idare et :D Çok uğraştırıyor yapması.
 
Son düzenleme:

Kovalski_Eyes

Kızıltaş Madencisi
Mesajlar
570
En iyi cevaplar
0
Beğeniler
939
Puanları
1,090
Ruh hali
Bunu aklıma sokmayacaktınız... Kodlamaya başlıyorum. Şimdi onlar düşünsün... dklhdf
[automerge]1525715653[/automerge]
Kod:
on rightclick with nether_star:
    if name of tool is "Evyap":
        cancel event
        remove 1 nether_star named "Evyap" from player
        send "&6Ev yapımı başladı!" to player
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        wait 1 second
        add 2 to {locz.%player%}
        #(kapı) set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to spruce_door
        wait 0.2 seconds
        remove 1 from {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        remove 2 from {locx.%player%}
        add 1 to {locz.%player%}

        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to fence
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to fence
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        remove 2 from {locx.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
#-----------------------------------------------TAVAN---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        add 3 to {locy.%player%}
        remove 1 from {locx.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        add 1 to {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locy.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
#-----------------------------------------------ZEMİN---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        remove 1 from {locx.%player%}
        remove 1 from {locy.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
#-----------------------------------------------İÇ---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        add 1 to {locz.%player%}
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to chest
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to chest
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to crafting table
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to trapdoor
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to furnace
        add 1 to {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to furnace
Biraz küçük ama idare et :D Çok uğraştırıyor yapması.
aslında çok uğraştırmaz sadece zor yolu seçmişsin
 

Aerenn

Zombi Katili
Mesajlar
188
En iyi cevaplar
0
Beğeniler
103
Puanları
380
Bunu aklıma sokmayacaktınız... Kodlamaya başlıyorum. Şimdi onlar düşünsün... dklhdf
[automerge]1525715653[/automerge]
Kod:
on rightclick with nether_star:
    if name of tool is "Evyap":
        cancel event
        remove 1 nether_star named "Evyap" from player
        send "&6Ev yapımı başladı!" to player
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        wait 1 second
        add 2 to {locz.%player%}
        #(kapı) set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to spruce_door
        wait 0.2 seconds
        remove 1 from {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        remove 2 from {locx.%player%}
        add 1 to {locz.%player%}

        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to fence
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to fence
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locy.%player%}
        remove 2 from {locx.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 3 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
#-----------------------------------------------TAVAN---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        add 3 to {locy.%player%}
        remove 1 from {locx.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        add 1 to {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locy.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
#-----------------------------------------------ZEMİN---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        remove 1 from {locx.%player%}
        remove 1 from {locy.%player%}
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
        wait 0.2 seconds
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to oak_log
#-----------------------------------------------İÇ---------------------------------------
        set {locx.%player%} to the event-block's x-coordinate
        set {locy.%player%} to the event-block's y-coordinate
        set {locz.%player%} to the event-block's z-coordinate
        add 1 to {locy.%player%}
        add 1 to {locz.%player%}
        add 1 to {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to chest
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to chest
        remove 1 from {locz.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to crafting table
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to trapdoor
        remove 1 from {locx.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to furnace
        add 1 to {locy.%player%}
        set block at location at {locx.%player%}, {locy.%player%}, {locz.%player%} in world "world" to furnace
Biraz küçük ama idare et :D Çok uğraştırıyor yapması.
Schematic denilen bir şey var. Tek tek bütün koordinatları girmene gerek yok.
 

Üst