Bulundu Minecraft Market Skripti

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

T5N4

Fırında Isıttığım İlk Taş
Katılım
17 Eylül 2019
Mesajlar
83
Elmaslar
26
Puan
0
Yaş
20
Minecraftta bir market skripti istiyorum.Teşekkürler.

(ChestShop'um da hata çıktı)
 
Merhaba bu skripti isteğinze göre düzenleyin.
Kod:
on sign change:
    line 4 is "al":
        player is op:
            set line 1 to "&6&lMarket"
            set line 2 to "%Line 2%"
            set line 4 to "&2Alim Fiyati"
            if {fiyat.%line 2%} is set:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
            else:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
    line 4 is "sat":
        player is op:
            set line 1 to "&6&lMarket"
            set line 2 to "%Line 2%"
            set line 4 to "&4Satis Fiyati"
            if {fiyat.%line 2%} is set:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
                set {satisfiyat.%line 2%} to line 3
            else:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
                set {satisfiyat.%line 2%} to line 3


on rightclick on a sign:
    line 4 of clicked block is "&2Alim Fiyati":
        open chest with 1 rows named "&2Alim Menusu" to player
        wait 1 tick
        {muhur.%player%} isn't set:
            format slot 4 of player with emerald named "&6Market Muhru" with lore "&fMarket muhrun yok! 10k ya almak icin tikla!" to close then run [make player execute command "muhur"]
        else:       
            format slot 0 of player with 64 paper named "&4%line 2 of clicked block%" with lore "&664 Tane al! ({alimfiyat.%line 2 of clicked block%} * 64)" to close then run [make player execute command "alitem %line 2 of clicked block% 64"]
            format slot 2 of player with 32 paper named "&4%line 2 of clicked block%" with lore "&632 Tane al! [{alimfiyat.%line 2 of clicked block%} * 32]" to close then run [make player execute command "alitem %line 2 of clicked block% 32"]
            format slot 4 of player with 16 paper named "&4%line 2 of clicked block%" with lore "&616 Tane al! [{alimfiyat.%line 2 of clicked block%} * 16]" to close then run [make player execute command "alitem %line 2 of clicked block% 16"]
            format slot 6 of player with 8 paper named "&4%line 2 of clicked block%" with lore "&68 Tane al! [{alimfiyat.%line 2 of clicked block%} * 8]" to close then run [make player execute command "alitem %line 2 of clicked block% 8"]
            format slot 8 of player with 4 paper named "&4%line 2 of clicked block%" with lore "&64 Tane al! [{alimfiyat.%line 2 of clicked block%} * 4]" to close then run [make player execute command "alitem %line 2 of clicked block% 4"]

on rightclick on a sign:
    line 4 of clicked block is "&4Satis Fiyati":
        open chest with 1 rows named "&4Satis Menusu" to player
        wait 1 tick
        {muhur.%player%} isn't set:
            format slot 4 of player with emerald named "&6Market Muhru" with lore "&fMarket muhrun yok! 10k ya almak icin tikla!" to close then run "msg %player% /muhur komutuyla alabilirsin!"
        else:       
            format slot 0 of player with 64 paper named "&4%line 2 of clicked block%" with lore "&664 Tane sat! ({satisfiyat.%line 2 of clicked block%} * 64)" to close then run [make player execute command "satitem %line 2 of clicked block% 64"]
            format slot 2 of player with 32 paper named "&4%line 2 of clicked block%" with lore "&632 Tane al! [{satisfiyat.%line 2 of clicked block%} * 32]" to close then run [make player execute command "satitem %line 2 of clicked block% 32"]
            format slot 4 of player with 16 paper named "&4%line 2 of clicked block%" with lore "&616 Tane al! [{satisfiyat.%line 2 of clicked block%} * 16]" to close then run [make player execute command "satitem %line 2 of clicked block% 16"]
            format slot 6 of player with 8 paper named "&4%line 2 of clicked block%" with lore "&68 Tane al! [{satisfiyat.%line 2 of clicked block%} * 8]" to close then run [make player execute command "satitem %line 2 of clicked block% 8"]
            format slot 8 of player with 4 paper named "&4%line 2 of clicked block%" with lore "&64 Tane sat! [{satisfiyat.%line 2 of clicked block%} * 4]" to close then run [make player execute command "satitem %line 2 of clicked block% 4"]



command /muhur [<text>] [<text>]:
    trigger:
        if arg 1 is not set:
            if player's balance is greater than or equal to 10000:
                set  {muhur.%player%} to true
                send "&2Basariyla muhrunu aldin. Artik marketi kullanabilirsin!"
            else:
                send "&2Yeterli paran yok!"
        if arg 1 is "sil":
            if arg 2 is not set:
                send "/marketmuhru sil oyuncu"
            else:
                clear {muhur.%arg 2%}
                send "&4Kullanici kimligi basariyla silindi!"

command /alitem <text> <int>:
    trigger:
        if {alimfiyat.%arg 1%} is not set:
            send "&6Bu urune bir fiyat bicilmemis."
        else:
            if player's balance is greater than or equal to {alimfiyat.%arg 1%}:
                execute console command "/give %player% %arg 1% %arg 2%"
                execute console command "/money take %player% [{alimfiyat.%arg 1%} * %arg 2%]"

command /satitem <text> <int>:
    trigger:
        if {satisfiyat.%arg 1%} is not set:
            send "&6Bu urune bir fiyat bicilmemis."
        else:
            remove arg-2 arg-1 from player's inventory
            execute console command "/eco give %player% [{satisfiyat.%arg 1%} * %arg 2%]"
 
Merhaba bu skripti isteğinze göre düzenleyin.
Kod:
on sign change:
    line 4 is "al":
        player is op:
            set line 1 to "&6&lMarket"
            set line 2 to "%Line 2%"
            set line 4 to "&2Alim Fiyati"
            if {fiyat.%line 2%} is set:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
            else:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
    line 4 is "sat":
        player is op:
            set line 1 to "&6&lMarket"
            set line 2 to "%Line 2%"
            set line 4 to "&4Satis Fiyati"
            if {fiyat.%line 2%} is set:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
                set {satisfiyat.%line 2%} to line 3
            else:
                set {fiyat.%line 2%} to line 3
                set {%line 2%} to line 2
                set {satisfiyat.%line 2%} to line 3


on rightclick on a sign:
    line 4 of clicked block is "&2Alim Fiyati":
        open chest with 1 rows named "&2Alim Menusu" to player
        wait 1 tick
        {muhur.%player%} isn't set:
            format slot 4 of player with emerald named "&6Market Muhru" with lore "&fMarket muhrun yok! 10k ya almak icin tikla!" to close then run [make player execute command "muhur"]
        else:      
            format slot 0 of player with 64 paper named "&4%line 2 of clicked block%" with lore "&664 Tane al! ({alimfiyat.%line 2 of clicked block%} * 64)" to close then run [make player execute command "alitem %line 2 of clicked block% 64"]
            format slot 2 of player with 32 paper named "&4%line 2 of clicked block%" with lore "&632 Tane al! [{alimfiyat.%line 2 of clicked block%} * 32]" to close then run [make player execute command "alitem %line 2 of clicked block% 32"]
            format slot 4 of player with 16 paper named "&4%line 2 of clicked block%" with lore "&616 Tane al! [{alimfiyat.%line 2 of clicked block%} * 16]" to close then run [make player execute command "alitem %line 2 of clicked block% 16"]
            format slot 6 of player with 8 paper named "&4%line 2 of clicked block%" with lore "&68 Tane al! [{alimfiyat.%line 2 of clicked block%} * 8]" to close then run [make player execute command "alitem %line 2 of clicked block% 8"]
            format slot 8 of player with 4 paper named "&4%line 2 of clicked block%" with lore "&64 Tane al! [{alimfiyat.%line 2 of clicked block%} * 4]" to close then run [make player execute command "alitem %line 2 of clicked block% 4"]

on rightclick on a sign:
    line 4 of clicked block is "&4Satis Fiyati":
        open chest with 1 rows named "&4Satis Menusu" to player
        wait 1 tick
        {muhur.%player%} isn't set:
            format slot 4 of player with emerald named "&6Market Muhru" with lore "&fMarket muhrun yok! 10k ya almak icin tikla!" to close then run "msg %player% /muhur komutuyla alabilirsin!"
        else:      
            format slot 0 of player with 64 paper named "&4%line 2 of clicked block%" with lore "&664 Tane sat! ({satisfiyat.%line 2 of clicked block%} * 64)" to close then run [make player execute command "satitem %line 2 of clicked block% 64"]
            format slot 2 of player with 32 paper named "&4%line 2 of clicked block%" with lore "&632 Tane al! [{satisfiyat.%line 2 of clicked block%} * 32]" to close then run [make player execute command "satitem %line 2 of clicked block% 32"]
            format slot 4 of player with 16 paper named "&4%line 2 of clicked block%" with lore "&616 Tane al! [{satisfiyat.%line 2 of clicked block%} * 16]" to close then run [make player execute command "satitem %line 2 of clicked block% 16"]
            format slot 6 of player with 8 paper named "&4%line 2 of clicked block%" with lore "&68 Tane al! [{satisfiyat.%line 2 of clicked block%} * 8]" to close then run [make player execute command "satitem %line 2 of clicked block% 8"]
            format slot 8 of player with 4 paper named "&4%line 2 of clicked block%" with lore "&64 Tane sat! [{satisfiyat.%line 2 of clicked block%} * 4]" to close then run [make player execute command "satitem %line 2 of clicked block% 4"]



command /muhur [<text>] [<text>]:
    trigger:
        if arg 1 is not set:
            if player's balance is greater than or equal to 10000:
                set  {muhur.%player%} to true
                send "&2Basariyla muhrunu aldin. Artik marketi kullanabilirsin!"
            else:
                send "&2Yeterli paran yok!"
        if arg 1 is "sil":
            if arg 2 is not set:
                send "/marketmuhru sil oyuncu"
            else:
                clear {muhur.%arg 2%}
                send "&4Kullanici kimligi basariyla silindi!"

command /alitem <text> <int>:
    trigger:
        if {alimfiyat.%arg 1%} is not set:
            send "&6Bu urune bir fiyat bicilmemis."
        else:
            if player's balance is greater than or equal to {alimfiyat.%arg 1%}:
                execute console command "/give %player% %arg 1% %arg 2%"
                execute console command "/money take %player% [{alimfiyat.%arg 1%} * %arg 2%]"

command /satitem <text> <int>:
    trigger:
        if {satisfiyat.%arg 1%} is not set:
            send "&6Bu urune bir fiyat bicilmemis."
        else:
            remove arg-2 arg-1 from player's inventory
            execute console command "/eco give %player% [{satisfiyat.%arg 1%} * %arg 2%]"
Title managerde Paran:(oyuncunu parası)
Şeklinde göstermem için hangi değişkeni kullanmalıyım?
 
QuickShop kullan.
 
iConomy Kullanabilirsin.
 
@xBuhariPvP o emojiyi atacak ne buldunuz acaba mesajda? Daha oyuncuları nasıl alacağını bilmeyen bir desteksiniz gelip zorlasanız bile yapamayacağınız scripte o emojiyi atmak kıskançlık mı denir ne denir?
Ne yazık ki aternos kullanıyorum
 
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