Çözüldü Sandık Satar Editlenmesi Lazım

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

SansarReisOfficial

Tasarımcı
Katılım
22 Şubat 2019
Mesajlar
1.063
Elmaslar
415
Puan
15.785
Yaş
27
Konum
Dünya
Minecraft
CrazySansar

Discord:

Corrsy#7006

Arkadaşlar Bende Sandık Satar Skripti Var Fakat Hiçbirşey Satılmıyıcak Sadece (Prizmarin Kristali - Tuğla - Mürekkep - gri boya - Bide &aUranyum yazan Gül Kırmızısı Eklenicek) Fiyatları Şöyle

Prizmarin Kristali = 50 TL
Tuğla = 125 TL
Mürekkep = 175 TL
Gri Boya = 225
&aUranyum Yazan Gül Kırmızısı = 300 TL

Skript=



command /satici:
permission: ss.satici
trigger:
give 1 golden shovel named "&aS&ba&cn&dd&eı&fk &2S&3a&6t&9a&4r &7(&eSag Tikla&7)" to player


on right click with golden shovel:
if name of player's tool is "&aS&ba&cn&dd&eı&fk &2S&3a&6t&9a&4r &7(&eSag Tikla&7)":
if clicked block is a chest:
if amount of iron block in clicked block is greater than 0:
add (amount of prismarine crystals in clicked block * 50) to player's money
send "&a&l%amount of prismarine crystals in clicked block% &c&lDemir Blok Satildi &f&lKazanc: &e&l%(amount of prismarine crystals in clicked block * 50)%" to player
remove every iron blocks from clicked block
else if amount of gold block in clicked block is greater than 0:
add (amount of gold block in clicked block * 6740) to player's money
send "&a&l%amount of gold block in clicked block% &c&lAltin Blok Satildi &f&lKazanc: &e&l%(amount of gold block in clicked block * 6740)%" to player
remove every gold blocks from clicked block
else if amount of emerald block in clicked block is greater than 0:
add (amount of emerald block in clicked block * 26000) to player's money
send "&a&l%amount of emerald block in clicked block% &c&lZumrut Blok Satildi &f&lKazanc: &e&l%(amount of emerald block in clicked block * 26000)%" to player
remove every emerald blocks from clicked block
else if amount of diamond block in clicked block is greater than 0:
add (amount of diamond block in clicked block * 13000) to player's money
send "&a&l%amount of diamond block in clicked block% &c&lElmas Blok Satildi &f&lKazanc: &e&l%(amount of diamond block in clicked block * 13000)%" to player
remove every diamond blocks from clicked block
 
Moderatör tarafından düzenlendi:
Kod:
command /satici:
    permission: ss.satici
    trigger:
        give 1 golden shovel named "&aS&ba&cn&dd&eı&fk &2S&3a&6t&9a&4r &7(&eSag Tikla&7)" to player


on right click with golden shovel:
    if name of player's tool is "&aS&ba&cn&dd&eı&fk &2S&3a&6t&9a&4r &7(&eSag Tikla&7)":
        if clicked block is a chest:
            if amount of Prismarine Crystals in clicked block is greater than 0:
                add (amount of Prismarine Crystals in clicked block * 50) to player's money
                send "&a&l%amount of Prismarine Crystals in clicked block% &c&lPrizmarin Kristali Satildi &f&lKazanc: &e&l%(amount of Prismarine Crystals in clicked block * 50)%" to player
                remove every Prismarine Crystals from clicked block              
            else if amount of Bricks in clicked block is greater than 0:
                add (amount of Bricks in clicked block * 125) to player's money
                send "&a&l%amount of Bricks in clicked block% &c&lTuğla Satildi &f&lKazanc: &e&l%(amount of Bricks in clicked block * 125)%" to player
                remove every Bricks from clicked block                          
            else if amount of Gray Dye in clicked block is greater than 0:
                add (amount of Gray Dye in clicked block * 225) to player's money
                send "&a&l%amount of Gray Dye in clicked block% &c&lGri Boya Satildi &f&lKazanc: &e&l%(amount of Gray Dye in clicked block * 225)%" to player
                remove every Gray Dyes from clicked block              
            else if amount of rose red in clicked block is greater than 0:
                add (amount of rose red in clicked block * 300) to player's money
                send "&a&l%amount of rose red in clicked block% &c&lUranyum Satildi &f&lKazanc: &e&l%(amount of rose red in clicked block * 300)%" to player
                remove every rose red from clicked block

şu şekilde ayarladım fakat mürekkep ekliyince satmadı o yüzden mürekkepi sildim
 
Üstteki skripti kullan sonra ip at geleyim para bugu yapayım kankam
 
2 satır skript okumaya üşenmeyip okusanız açıkca göreceksiniz hatayı, söylemek bana kalmaz, sizin sunucunuz.
 
....
Gönderi otomatik olarak birleştirildi:

Skript isim kontrolü yaptırmıyor yahu, içinde normal kırmızı boya koysam onuda satacak yani, görmek zor değil arkadaşlar
BELEŞE KONMAYIP ÖĞRENMEYE ÇALIŞIN LÜTFEN...
 
h
Kod:
command /satici:
    permission: ss.satici
    trigger:
        give 1 golden shovel named "&aS&ba&cn&dd&eı&fk &2S&3a&6t&9a&4r &7(&eSag Tikla&7)" to player


on right click with golden shovel:
    if name of player's tool is "&aS&ba&cn&dd&eı&fk &2S&3a&6t&9a&4r &7(&eSag Tikla&7)":
        if clicked block is a chest:
            if amount of Prismarine Crystals in clicked block is greater than 0:
                add (amount of Prismarine Crystals in clicked block * 50) to player's money
                send "&a&l%amount of Prismarine Crystals in clicked block% &c&lPrizmarin Kristali Satildi &f&lKazanc: &e&l%(amount of Prismarine Crystals in clicked block * 50)%" to player
                remove every Prismarine Crystals from clicked block             
            else if amount of Bricks in clicked block is greater than 0:
                add (amount of Bricks in clicked block * 125) to player's money
                send "&a&l%amount of Bricks in clicked block% &c&lTuğla Satildi &f&lKazanc: &e&l%(amount of Bricks in clicked block * 125)%" to player
                remove every Bricks from clicked block                         
            else if amount of Gray Dye in clicked block is greater than 0:
                add (amount of Gray Dye in clicked block * 225) to player's money
                send "&a&l%amount of Gray Dye in clicked block% &c&lGri Boya Satildi &f&lKazanc: &e&l%(amount of Gray Dye in clicked block * 225)%" to player
                remove every Gray Dyes from clicked block             
            else if amount of rose red in clicked block is greater than 0:
                add (amount of rose red in clicked block * 300) to player's money
                send "&a&l%amount of rose red in clicked block% &c&lUranyum Satildi &f&lKazanc: &e&l%(amount of rose red in clicked block * 300)%" to player
                remove every rose red from clicked block

şu şekilde ayarladım fakat mürekkep ekliyince satmadı o yüzden mürekkepi sildim
hiçbiri çalışmıyor
 
Zaten Skript hatalı. İtemleri satarken isim kontrolü yapmıyor, yani sen normal boyada koysan senin belirttiğin fiyata satıcak ve bug oluşucak.
 
Son düzenleme:
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