Çözüldü Sandıksatar skript eklenecek materyaller var yardım edin lütfen

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

SaltanatNetwork

Bir Kömür Göründü Kaptanım!
Katılım
16 Temmuz 2019
Mesajlar
123
Elmaslar
32
Puan
2.370
Yaş
26
Minecraft
Synca

Discord:

Barış yıldız#2523

İyi forumlar herkese internetten bir sandıksatar skripti buldum kendi sunucuma göre fiyatlarını ayarladım 3 materyal daha eklemek istiyorum ama bi türlü beceremedim kodu buraya bırakıyorum eklenecek materyaller süt kovası tavuk yumurtası (çağırma değil bildiğimiz yumurta egg atılabilen dümdüz egg) kurabiye. Bu 3 itemi ekleyip bana yardımcı olur musunuz lütfen hatta fiyatlarını da yazayım kolaylık açısından

süt kovası: 75
yumurta: 7
kurabiye: 150

Kod:
options:
    p: &eSATIS > #Mesaj başlarındaki prefix
    cubukismi: &aSatma Çubuğu #Sandıktaki itemleri satmak için tıklanılacak çubuğun ismi
    1demirfiyati: 300 #1 demirin satma fiyatı
    1altinfiyati: 900 #1 altının satma fiyatı
    1elmasfiyati: 1667 #1 elmasın satma fiyatı
    1zumrutfiyati: 2960 #1 zümrütün satma fiyatı
    1demirblock: 2700 #1 demir bloğunun satma fiyatı
    1goldblock: 8100 #1 altın bloğunun satma fiyatı
    1diablock: 15003 #1 elmas bloğunun satma fiyatı
    1zumrutblock: 26640 #1 zümrüt bloğunun satma fiyatı

command /çubuk:
    trigger:
        give 1 stick named "{@cubukismi}" to player
on leftclick on chest with stick:
    if name of player's tool is "{@cubukismi}":
        if {chests::%player%::*} contains location of clicked chest:
            if clicked chest contains iron ingot:
                set {_itemcounti} to number of all iron ingots in clicked chest
                remove {_itemcounti} of iron ingots from clicked chest's inventory
                add {@1demirfiyati} * {_itemcounti} to the player's money
                send "{@p} &a%{_itemcounti}% demir satıldı. Kazanılan para: &c%{@1demirfiyati} * {_itemcounti}%"
            if clicked chest contains gold ingot:
                set {_itemcountg} to number of all gold ingots in clicked chest
                remove {_itemcountg} of gold ingots from clicked chest's inventory
                add {@1altinfiyati} * {_itemcountg} to the player's money
                send "{@p} &a%{_itemcountg}% altın satıldı. Kazanılan para: &c%{@1altinfiyati} * {_itemcountg}%"
            if clicked chest contains diamond:
                set {_itemcountd} to number of all diamonds in clicked chest
                remove {_itemcountd} of diamonds from clicked chest's inventory
                add {@1elmasfiyati} * {_itemcountd} to the player's money
                send "{@p} &a%{_itemcountd}% elmas satıldı. Kazanılan para: &c%{@1elmasfiyati} * {_itemcountd}%"
            if clicked chest contains emerald:
                set {_itemcounte} to number of all emeralds in clicked chest
                remove {_itemcounte} of emeralds from clicked chest's inventory
                add {@1zumrutfiyati} * {_itemcounte} to the player's money
                send "{@p} &a%{_itemcounte}% zümrüt satıldı. Kazanılan para: &c%{@1zumrutfiyati} * {_itemcounte}%"
            if clicked chest contains iron block:
                set {_itemcountib} to number of all iron blocks in clicked chest
                remove {_itemcountib} of iron blocks from clicked chest's inventory
                add {@1demirblock} * {_itemcountib} to the player's money
                send "{@p} &a%{_itemcountib}% demir blok satıldı. Kazanılan para: &c%{@1demirblock} * {_itemcountib}%"
            if clicked chest contains gold block:
                set {_itemcountgb} to number of all gold blocks in clicked chest
                remove {_itemcountgb} of gold blocks from clicked chest's inventory
                add {@1goldblock} * {_itemcountgb} to the player's money
                send "{@p} &a%{_itemcountgb}% altın blok satıldı. Kazanılan para: &c%{@1goldblock} * {_itemcountgb}%"
            if clicked chest contains diamond block:
                set {_itemcountdb} to number of all diamond blocks in clicked chest
                remove {_itemcountdb} of diamond blocks from clicked chest's inventory
                add {@1diablock} * {_itemcountdb} to the player's money
                send "{@p} &a%{_itemcountdb}% elmas blok satıldı. Kazanılan para: &c%{@1diablock} * {_itemcountdb}%"
            if clicked chest contains emerald block:
                set {_itemcounteb} to number of all emerald blocks in clicked chest
                remove {_itemcounteb} of emerald blocks from clicked chest's inventory
                add {@1zumrutblock} * {_itemcounteb} to the player's money
                send "{@p} &a%{_itemcounteb}% zümrüt blok satıldı. Kazanılan para: &c%{@1zumrutblock} * {_itemcounteb}%"
        else:
            send "{@p} &aSadece kendi sandığındaki madenleri satabilirsin."
  
on place of chest:
    add event-block's location to {chests::%player%::*}
on break of chest:
    if {chests::%player%::*} contains event-block's location:
        remove event-block's location from {chests::%player%::*}
 
Son düzenleme:
1zumrutblock altına aynı formatta ekleyeceğin eşyayı mesela 1tavuktuyu: 26640 şeklinde ekle ondan sonrada aşağıdan
if clicked chest contains diamond: yazısından send e kadar kopyala ve herşeyini tavuğa göre değiştir.
 
1zumrutblock altına aynı formatta ekleyeceğin eşyayı mesela 1tavuktuyu: 26640 şeklinde ekle ondan sonrada aşağıdan
if clicked chest contains diamond: yazısından send e kadar kopyala ve herşeyini tavuğa göre değiştir.
olmadı brom yapamadım sanırım
 
bu entry yi kapatabilir misiniz skripti isteklerine yazıcağım
 
Kod:
options:
    p: &eSATIS > #Mesaj başlarındaki prefix
    cubukismi: &aSatma Çubuğu #Sandıktaki itemleri satmak için tıklanılacak çubuğun ismi
    1demirfiyati: 300 #1 demirin satma fiyatı
    1altinfiyati: 900 #1 altının satma fiyatı
    1elmasfiyati: 1667 #1 elmasın satma fiyatı
    1zumrutfiyati: 2960 #1 zümrütün satma fiyatı
    1demirblock: 2700 #1 demir bloğunun satma fiyatı
    1goldblock: 8100 #1 altın bloğunun satma fiyatı
    1diablock: 15003 #1 elmas bloğunun satma fiyatı
    1zumrutblock: 26640 #1 zümrüt bloğunun satma fiyatı
    1sutkovasi: 75 #1 süt kovasının satma fiyatı
    1yumurta: 7 #1 yumurtanın satma fiyatı
    1mantar: 150 #1 mantarın satma fiyatı

command /çubuk:
    trigger:
        give 1 stick named "{@cubukismi}" to player
on leftclick on chest with stick:
    if name of player's tool is "{@cubukismi}":
        if {chests::%player%::*} contains location of clicked chest:
            if clicked chest contains iron ingot:
                set {_itemcounti} to number of all iron ingots in clicked chest
                remove {_itemcounti} of iron ingots from clicked chest's inventory
                add {@1demirfiyati} * {_itemcounti} to the player's money
                send "{@p} &a%{_itemcounti}% demir satıldı. Kazanılan para: &c%{@1demirfiyati} * {_itemcounti}%"
            if clicked chest contains gold ingot:
                set {_itemcountg} to number of all gold ingots in clicked chest
                remove {_itemcountg} of gold ingots from clicked chest's inventory
                add {@1altinfiyati} * {_itemcountg} to the player's money
                send "{@p} &a%{_itemcountg}% altın satıldı. Kazanılan para: &c%{@1altinfiyati} * {_itemcountg}%"
            if clicked chest contains diamond:
                set {_itemcountd} to number of all diamonds in clicked chest
                remove {_itemcountd} of diamonds from clicked chest's inventory
                add {@1elmasfiyati} * {_itemcountd} to the player's money
                send "{@p} &a%{_itemcountd}% elmas satıldı. Kazanılan para: &c%{@1elmasfiyati} * {_itemcountd}%"
            if clicked chest contains emerald:
                set {_itemcounte} to number of all emeralds in clicked chest
                remove {_itemcounte} of emeralds from clicked chest's inventory
                add {@1zumrutfiyati} * {_itemcounte} to the player's money
                send "{@p} &a%{_itemcounte}% zümrüt satıldı. Kazanılan para: &c%{@1zumrutfiyati} * {_itemcounte}%"
            if clicked chest contains iron block:
                set {_itemcountib} to number of all iron blocks in clicked chest
                remove {_itemcountib} of iron blocks from clicked chest's inventory
                add {@1demirblock} * {_itemcountib} to the player's money
                send "{@p} &a%{_itemcountib}% demir blok satıldı. Kazanılan para: &c%{@1demirblock} * {_itemcountib}%"
            if clicked chest contains gold block:
                set {_itemcountgb} to number of all gold blocks in clicked chest
                remove {_itemcountgb} of gold blocks from clicked chest's inventory
                add {@1goldblock} * {_itemcountgb} to the player's money
                send "{@p} &a%{_itemcountgb}% altın blok satıldı. Kazanılan para: &c%{@1goldblock} * {_itemcountgb}%"
            if clicked chest contains diamond block:
                set {_itemcountdb} to number of all diamond blocks in clicked chest
                remove {_itemcountdb} of diamond blocks from clicked chest's inventory
                add {@1diablock} * {_itemcountdb} to the player's money
                send "{@p} &a%{_itemcountdb}% elmas blok satıldı. Kazanılan para: &c%{@1diablock} * {_itemcountdb}%"
            if clicked chest contains emerald block:
                set {_itemcounteb} to number of all emerald blocks in clicked chest
                remove {_itemcounteb} of emerald blocks from clicked chest's inventory
                add {@1zumrutblock} * {_itemcounteb} to the player's money
                send "{@p} &a%{_itemcounteb}% zümrüt blok satıldı. Kazanılan para: &c%{@1zumrutblock} * {_itemcounteb}%"
            if clicked chest contains milk bucket:
                set {_itemcountd} to number of all milk buckets in clicked chest
                remove {_itemcountd} of milk buckets from clicked chest's inventory
                add {@1sutkovasi} * {_itemcountd} to the player's money
                send "{@p} &a%{_itemcountd}% süt kovası satıldı. Kazanılan para: &c%{@1sutkovasi} * {_itemcountd}%"
            if clicked chest contains egg:
                set {_itemcountd} to number of all eggs in clicked chest
                remove {_itemcountd} of eggs from clicked chest's inventory
                add {@1yumurta} * {_itemcountd} to the player's money
                send "{@p} &a%{_itemcountd}% yumurta satıldı. Kazanılan para: &c%{@1yumurta} * {_itemcountd}%"
            if clicked chest contains mushrooms:
                set {_itemcountd} to number of all mushrooms in clicked chest
                remove {_itemcountd} of mushrooms from clicked chest's inventory
                add {@1mantar} * {_itemcountd} to the player's money
                send "{@p} &a%{_itemcountd}% mantar satıldı. Kazanılan para: &c%{@1mantar} * {_itemcountd}%"
        else:
            send "{@p} &aSadece kendi sandığındaki madenleri satabilirsin."
  
on place of chest:
    add event-block's location to {chests::%player%::*}
on break of chest:
    if {chests::%player%::*} contains event-block's location:
        remove event-block's location from {chests::%player%::*}
 
çok teşekkür ederim <3
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst