Bulundu Meslek Skripti Yapabilecek Arkadaşlar Lütfen İçeri.!

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

LifeSlayer.

Somon Balığı Selam Vermeye Geldi
Katılım
12 Mayıs 2018
Mesajlar
20
Elmaslar
2
Puan
0
Yaş
26
Selam Arkadaşlar sizden 1 adet skript ricam var.
"/meslekler" yazıldığında bir menü açılsın. menü de 3 adet meslek olsun. oduncu,madenci,katil
oyuncu bu komutu yazdığında bir tanesini seçsin. örnek olarak oduncu mesleğini seçti. bu oyuncu odun kastığında %2 şans ile kredi kazansın. ama oduncu mesleğini seçenler maden kazınca veya adam öldürünce bu krediyi kazanmasın.
sonra /meslekler kısmına kredi market yeri eklensin. bu krediler ile bir kaç item alabilsinler.


biliyorum çok zor istek ama bunu yapabilecek arkadaşlarımız var aramızda.
yapan kişiye şimdiden teşekkür ederim.

Yardım Durumu: Bekleniyor...
 
Son düzenleme:
Dostum bunu chestcommands ile yapabilirsin. -/meslekler menüsünü.

ChestCommands kullanım: Tıkla ve Git!
 
Dostum bunu chestcommands ile yapabilirsin. -/meslekler menüsünü.

ChestCommands kullanım: Tıkla ve Git!

fakat oduncu mesleğini seçenler maden kırınca coin gelmesin veya adam öldürünce coin gelmesin bunu istiyorum. ve benim skript bilgim çok az o yüzden yardım istiyorum.
 
Son düzenleme:
fakat oduncu mesleğini seçenler maden kırınca coin gelmesin veya balık tutunca coin gelmesin bunu istiyorum. ve benim skript bilgim çok az o yüzden yardım istiyorum.
Dostum, sanırım yanlış anladın. Skript demiyorum chestcommands ile menüyü yapabilirsin. Ama skript ilede yapılır ben bi deniyim senin için.
 
Dostum, sanırım yanlış anladın. Skript demiyorum chestcommands ile menüyü yapabilirsin. Ama skript ilede yapılır ben bi deniyim senin için.
evet menüyü yapmayı bende biliyorum. fakat bu kodlamaları bilmediğim için yardım istedim.
yapabilirsen gerçekten çok güzel olur.
 
fakat oduncu mesleğini seçenler maden kırınca coin gelmesin veya balık tutunca coin gelmesin bunu istiyorum. ve benim skript bilgim çok az o yüzden yardım istiyorum.
Oduncu mesleğine girme ve madenci mesleğine girme kodunuz /jobs join oduncu, madenci mi? Yoksa farklı mı?
 
Oduncu mesleğine girme ve madenci mesleğine girme kodunuz /jobs join oduncu, madenci mi? Yoksa farklı mı.
/meslek katıl "meslek"
olursa güzel olur.
Gönderi otomatik olarak birleştirildi:

bir de balıkçı yerine katil yapabilirsen daha güzel olabilir.
 
Öncelikle aşağıdaki verdiğim kodu meslekler.sk diye kaydedip scripts klasörüne atın.

Kod:
options:

    p: &e[ &3Meslekler &e] &4- &f

command /meslek [<text>]:
    trigger:
        if arg 1 is not set:
            send ""
            send "{@p} Meslekler Komutlari - /meslek [Madenci,Oduncu,Komurcu,Demirci,Liste,Cikis] !"
            send ""
        if arg 1 is "Liste":
            send "{@p} - /meslek [Madenci,Oduncu,Komurcu,Demirci]"
        if arg 1 is "Madenci":
            if {madenci.%player%} is set:
                send "{@p} Sen Zaten Madencilik Meslegindesin !"
            else:
                set {madenci.%player%} to true
                send "{@p} Basariyla madenci meslegine girdiniz . Bilgi icin /madenci yaziniz !"
        if arg 1 is "Oduncu":
            if {oduncu.%player%} is set:
                send "{@p} Sen Zaten Odunculuk Meslegindesin !"
            else:
                set {oduncu.%player%} to true
                send "{@p} Basariyla oduncu meslegine girdiniz . Bilgi icin /oduncu yaziniz !"
        if arg 1 is "Komurcu":
            if {komurcu.%player%} is set:
                send "{@p} Sen Zaten Komurculuk Meslegindesin !"
            else:
                set {komurcu.%player%} to true
                send "{@p} Basariyla komurcu meslegine girdiniz . Bilgi icin /komurcu yaziniz !"
        if arg 1 is "Demirci":
            if {demirci.%player%} is set:
                send "{@p} Sen Zaten Demircilik Meslegindesin !"
            else:
                set {demirci.%player%} to true
                send "{@p} Basariyla demirci meslegine girdiniz . Bilgi icin /demirci yaziniz !"
        if arg 1 is "cikis":
            if {madenci.%player%} is set:
                send "{@p} Basariyla Madencilikten Ciktin !"
                set {madenci.%player%} to false
            if {oduncu.%player%} is set:
                send "{@p} Basariyla Odunculuktan Ciktin !"
                set {oduncu.%player%} to false
            if {komurcu.%player%} is set:
                send "{@p} Basariyla Komurculuktan Ciktin !"
                set {komurcu.%player%} to false
            if {demirci.%player%} is set:
                send "{@p} Basariyla Demircilikten Ciktin !"
                set {demirci.%player%} to false
                
command /meslegimne:
    trigger:
        if {madenci.%player%} is set:
            send "{@p} Madenci meslegindesin !"
        if {oduncu.%player%} is set:
            send "{@p} Oduncu meslegindesin !"
        if {komurcu.%player%} is set:
            send "{@p} Komurcu meslegindesin !"
        if {demirci.%player%} is set:
            send "{@p} Demirci meslegindesin !"
            
command /madenci:
    trigger:
        if {madenci.%player%} is set:
            send "Madenci : Madenci nin isi tas kazmaktir . Tas kazarak kazmanin levelini yukseltirsin ve para kazanirsin ."
        else:
            send "{@p} Sen madenci degilsin . Madenci olmak icin /meslek madenci komutunu kullaniniz ."
    
command /oduncu:
    trigger:
        if {oduncu.%player%} is set:
            send "Oduncu : Oduncu nun isi odun kırmaktir . Odun kırarak para kazınırsın ve odul kazanirsin ."
        else:
            send "{@p} Sen oduncu degilsin . Oduncu olmak icin /meslek oduncu komutunu kullaniniz ."
            
command /komurcu:
    trigger:
        if {komurcu.%player%} is set:
            send "Komurcu : Komurcu nun isi madenlerde buldugu komurleri kazarak para ve cesitli oduller kazanmaktir ."
        else:
            send "{@p} Sen Komurcu degilsin . Komurcu olmak icin /meslek komurcu komutunu kullaniniz ."
            
command /demirci:
    trigger:
        if {demirci.%player%} is set:
            send "Demirci : Demirci nin isi madenlerde buldugu demirleri kazarak para ve cesitli oduller kazanmaktir ."
        else:
            send "{@p} Sen Demirci degilsin . Demirci olmak icin /meslek demirci komutunu kullaniniz ."
            
on break of stone or cobblestone:
    if {madenci.%player%} is set:
        add 1 to {madencisayisi.%player%}
        
on break of coal ore:
    if {komurcu.%player%} is set:
        add 1 to {komurcusayisi.%player%}
        
on break of log:
    if {oduncu.%player%} is set:
        add 1 to {oduncusayisi.%player%}
        
on break of iron ore:
    if {demirci.%player%} is set:
        add 1 to {demircisayisi.%player%}
        
command /taskazmasayisi:
    aliases: /tks
    trigger:
        if {madenci.%player%} is set:
            send "{@p} %{madencisayisi.%player%}%"
        else:
            send "{@p} Sen madenci degilsin . Madenci olmak icin /meslek madenci komutunu kullaniniz ."
            
command /komurkazmasayisi:
    aliases: /kks
    trigger:
        if {komurcu.%player%} is set:
            send "{@p} %{komurcusayisi.%player%}%"
        else:
            send "{@p} Sen Komurcu degilsin . Komurcu olmak icin /meslek komurcu komutunu kullaniniz ."
    
command /odunkırmasayisi:
    aliases: /oks
    trigger:
        if {oduncu.%player%} is set:
            send "{@p} %{oduncusayisi.%player%}%"
        else:
            send "{@p} Sen oduncu degilsin . Oduncu olmak icin /meslek oduncu komutunu kullaniniz ."
            
command /demirkazmasayisi:
    aliases: /dks
    trigger:
        if {demirci.%player%} is set:
            send "{@p} %{demircisayisi.%player%}%"
        else:
            send "{@p} Sen Demirci degilsin . Demirci olmak icin /meslek demirci komutunu kullaniniz ."
            
on break of stone or cobblestone:
    if {madenci.%player%} is set:
        if {madencisayisi.%player%} is "1000":
            give 1 diamond pickaxe of efficiency 6, fortune 3, unbreaking 5 named "&f[ &eOzel &2Madenci &eKazmasi &f]" to player
            send "{@p} 1000 Tas kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {madencisayisi.%player%} to 0
        if {madencisayisi.%player%} is "2500":
            execute console command "/eco give %player% 3000000"
            send "{@p} 2500 Tane Tas Kirdigin icin "3M" Para Kazandiniz !"
            
on break of coal ore:
    if {komurcu.%player%} is set:
        if {komurcusayisi.%player%} is "700":
            give 1 diamond pickaxe of efficiency 5, fortune 5, unbreaking 5 named "&f[ &eOzel &0Komurcu &eKazmasi &f]" to player
            send "{@p} 700 Komur kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {komurcusayisi.%player%} to 0
        if {komurcusayisi.%player%} is "2400":
            execute console command "/eco give %player% 5000000"
            send "{@p} 2400 Tane Komur Kirdigin icin "5M" Par Kazandiniz !"
            
on break of log:
    if {oduncu.%player%} is set:
        if {oduncusayisi.%player%} is "1000":
            give 1 diamond axe of efficiency 4, unbreaking 8 named "&f[ &eOduncu Baltasi &f]" to player
            send "{@p} 1000 Odun kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {oduncusayisi.%player%} to 0
        if {oduncusayisi.%player%} is "2500":
            execute console command "/eco give %player% 3000000"
            send "{@p} 2500 Tane Odun Kirdigin icin "3M" Para Kazandiniz !"
    
on break of iron ore:
    if {demirci.%player%} is set:
        if {demircisayisi.%player%} is "600":
            give 1 diamond pickaxe of efficiency 8, fortune 5, unbreaking 8 named "&f[ &eOzel &cDemirci &eKazmasi &f]" to player
            send "{@p} 600 Demir kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {demircisayisi.%player%} to 0
        if {demircisayisi.%player%} is "5000":
            execute console command "/eco give %player% 10000000"
            send "{@p} 5000 Tane Demir Kirdigin icin "10M" Para Kazandiniz !"
 
Öncelikle aşağıdaki verdiğim kodu meslekler.sk diye kaydedip scripts klasörüne atın.

Kod:
options:

    p: &e[ &3Meslekler &e] &4- &f

command /meslek [<text>]:
    trigger:
        if arg 1 is not set:
            send ""
            send "{@p} Meslekler Komutlari - /meslek [Madenci,Oduncu,Komurcu,Demirci,Liste,Cikis] !"
            send ""
        if arg 1 is "Liste":
            send "{@p} - /meslek [Madenci,Oduncu,Komurcu,Demirci]"
        if arg 1 is "Madenci":
            if {madenci.%player%} is set:
                send "{@p} Sen Zaten Madencilik Meslegindesin !"
            else:
                set {madenci.%player%} to true
                send "{@p} Basariyla madenci meslegine girdiniz . Bilgi icin /madenci yaziniz !"
        if arg 1 is "Oduncu":
            if {oduncu.%player%} is set:
                send "{@p} Sen Zaten Odunculuk Meslegindesin !"
            else:
                set {oduncu.%player%} to true
                send "{@p} Basariyla oduncu meslegine girdiniz . Bilgi icin /oduncu yaziniz !"
        if arg 1 is "Komurcu":
            if {komurcu.%player%} is set:
                send "{@p} Sen Zaten Komurculuk Meslegindesin !"
            else:
                set {komurcu.%player%} to true
                send "{@p} Basariyla komurcu meslegine girdiniz . Bilgi icin /komurcu yaziniz !"
        if arg 1 is "Demirci":
            if {demirci.%player%} is set:
                send "{@p} Sen Zaten Demircilik Meslegindesin !"
            else:
                set {demirci.%player%} to true
                send "{@p} Basariyla demirci meslegine girdiniz . Bilgi icin /demirci yaziniz !"
        if arg 1 is "cikis":
            if {madenci.%player%} is set:
                send "{@p} Basariyla Madencilikten Ciktin !"
                set {madenci.%player%} to false
            if {oduncu.%player%} is set:
                send "{@p} Basariyla Odunculuktan Ciktin !"
                set {oduncu.%player%} to false
            if {komurcu.%player%} is set:
                send "{@p} Basariyla Komurculuktan Ciktin !"
                set {komurcu.%player%} to false
            if {demirci.%player%} is set:
                send "{@p} Basariyla Demircilikten Ciktin !"
                set {demirci.%player%} to false
               
command /meslegimne:
    trigger:
        if {madenci.%player%} is set:
            send "{@p} Madenci meslegindesin !"
        if {oduncu.%player%} is set:
            send "{@p} Oduncu meslegindesin !"
        if {komurcu.%player%} is set:
            send "{@p} Komurcu meslegindesin !"
        if {demirci.%player%} is set:
            send "{@p} Demirci meslegindesin !"
           
command /madenci:
    trigger:
        if {madenci.%player%} is set:
            send "Madenci : Madenci nin isi tas kazmaktir . Tas kazarak kazmanin levelini yukseltirsin ve para kazanirsin ."
        else:
            send "{@p} Sen madenci degilsin . Madenci olmak icin /meslek madenci komutunu kullaniniz ."
   
command /oduncu:
    trigger:
        if {oduncu.%player%} is set:
            send "Oduncu : Oduncu nun isi odun kırmaktir . Odun kırarak para kazınırsın ve odul kazanirsin ."
        else:
            send "{@p} Sen oduncu degilsin . Oduncu olmak icin /meslek oduncu komutunu kullaniniz ."
           
command /komurcu:
    trigger:
        if {komurcu.%player%} is set:
            send "Komurcu : Komurcu nun isi madenlerde buldugu komurleri kazarak para ve cesitli oduller kazanmaktir ."
        else:
            send "{@p} Sen Komurcu degilsin . Komurcu olmak icin /meslek komurcu komutunu kullaniniz ."
           
command /demirci:
    trigger:
        if {demirci.%player%} is set:
            send "Demirci : Demirci nin isi madenlerde buldugu demirleri kazarak para ve cesitli oduller kazanmaktir ."
        else:
            send "{@p} Sen Demirci degilsin . Demirci olmak icin /meslek demirci komutunu kullaniniz ."
           
on break of stone or cobblestone:
    if {madenci.%player%} is set:
        add 1 to {madencisayisi.%player%}
       
on break of coal ore:
    if {komurcu.%player%} is set:
        add 1 to {komurcusayisi.%player%}
       
on break of log:
    if {oduncu.%player%} is set:
        add 1 to {oduncusayisi.%player%}
       
on break of iron ore:
    if {demirci.%player%} is set:
        add 1 to {demircisayisi.%player%}
       
command /taskazmasayisi:
    aliases: /tks
    trigger:
        if {madenci.%player%} is set:
            send "{@p} %{madencisayisi.%player%}%"
        else:
            send "{@p} Sen madenci degilsin . Madenci olmak icin /meslek madenci komutunu kullaniniz ."
           
command /komurkazmasayisi:
    aliases: /kks
    trigger:
        if {komurcu.%player%} is set:
            send "{@p} %{komurcusayisi.%player%}%"
        else:
            send "{@p} Sen Komurcu degilsin . Komurcu olmak icin /meslek komurcu komutunu kullaniniz ."
   
command /odunkırmasayisi:
    aliases: /oks
    trigger:
        if {oduncu.%player%} is set:
            send "{@p} %{oduncusayisi.%player%}%"
        else:
            send "{@p} Sen oduncu degilsin . Oduncu olmak icin /meslek oduncu komutunu kullaniniz ."
           
command /demirkazmasayisi:
    aliases: /dks
    trigger:
        if {demirci.%player%} is set:
            send "{@p} %{demircisayisi.%player%}%"
        else:
            send "{@p} Sen Demirci degilsin . Demirci olmak icin /meslek demirci komutunu kullaniniz ."
           
on break of stone or cobblestone:
    if {madenci.%player%} is set:
        if {madencisayisi.%player%} is "1000":
            give 1 diamond pickaxe of efficiency 6, fortune 3, unbreaking 5 named "&f[ &eOzel &2Madenci &eKazmasi &f]" to player
            send "{@p} 1000 Tas kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {madencisayisi.%player%} to 0
        if {madencisayisi.%player%} is "2500":
            execute console command "/eco give %player% 3000000"
            send "{@p} 2500 Tane Tas Kirdigin icin "3M" Para Kazandiniz !"
           
on break of coal ore:
    if {komurcu.%player%} is set:
        if {komurcusayisi.%player%} is "700":
            give 1 diamond pickaxe of efficiency 5, fortune 5, unbreaking 5 named "&f[ &eOzel &0Komurcu &eKazmasi &f]" to player
            send "{@p} 700 Komur kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {komurcusayisi.%player%} to 0
        if {komurcusayisi.%player%} is "2400":
            execute console command "/eco give %player% 5000000"
            send "{@p} 2400 Tane Komur Kirdigin icin "5M" Par Kazandiniz !"
           
on break of log:
    if {oduncu.%player%} is set:
        if {oduncusayisi.%player%} is "1000":
            give 1 diamond axe of efficiency 4, unbreaking 8 named "&f[ &eOduncu Baltasi &f]" to player
            send "{@p} 1000 Odun kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {oduncusayisi.%player%} to 0
        if {oduncusayisi.%player%} is "2500":
            execute console command "/eco give %player% 3000000"
            send "{@p} 2500 Tane Odun Kirdigin icin "3M" Para Kazandiniz !"
   
on break of iron ore:
    if {demirci.%player%} is set:
        if {demircisayisi.%player%} is "600":
            give 1 diamond pickaxe of efficiency 8, fortune 5, unbreaking 8 named "&f[ &eOzel &cDemirci &eKazmasi &f]" to player
            send "{@p} 600 Demir kirmissin bu konuda cok basarilisin . Odulu Hakettin !"
            set {demircisayisi.%player%} to 0
        if {demircisayisi.%player%} is "5000":
            execute console command "/eco give %player% 10000000"
            send "{@p} 5000 Tane Demir Kirdigin icin "10M" Para Kazandiniz !"

evet çok güzel yapmışsın. bunu menülü bir şekilde yapabilirsen çok sevinirim. ve 500 tane kırınca 5m vermesin. mesleğindeki şeyi kırınca %2 şans ile kredi verssin ve menü deki market kısmından kredi karşılığında itemler alabilsinler.
 
evet çok güzel yapmışsın. bunu menülü bir şekilde yapabilirsen çok sevinirim. ve 500 tane kırınca 5m vermesin. mesleğindeki şeyi kırınca %2 şans ile kredi verssin ve menü deki market kısmından kredi karşılığında itemler alabilsinler.
Skripti ben yapmadım. Onu kendine göre ayarla kaç m vediğini. Bunu kaydet skripte ekle.
 
Tam İstediğim Gibi Değil Bu maalesef.
yapabilen arkadaşlar var ise yardımlarınızı bekliyorum.
 
Kod:
options:
    p: &8[&3Meslek&8]
variables:
    {meslek::%player%} = "mesleksiz"
    {kredi::%player%} = 0
command /meslekler [<text>]:
    trigger:
        arg-1 isn't set:
            open virtual chest inventory with size 2 named "&2Meslekler" to player
            wait 2 tick
            make gui slot 0 of player with oak wood named "&aOduncu" with lore "&8» &3Tıklayarak oduncu mesleğine katıl" to close then run player command "meslekler oduncu"
            make gui slot 4 of player with diamond pickaxe named "&aMadenci" with lore "&8» &3Tıklayarak madenci mesleğine katıl" to close then run player command "meslekler madenci"
            make gui slot 8 of player with stone sword named "&aKatil" with lore "&8» &3Tıklayarak katil mesleğine katıl" to close then run player command "meslekler katil"
            make gui slot 12 of player with gold ingot named "&eKredin" with lore "&8» &3%{kredi::%player%}%" to nothing
            make gui slot 14 of player with diamond named "&aKredi Market" with lore "&8» &3Tıklayarak marketi görüntüle" to close then run player command "meslekler market"
            {meslek::%player%} is "oduncu":
                make gui slot 13 of player with redstone named "&aŞu anki mesleğin" with lore "&8» &3Oduncu" to nothing
            else if {meslek::%player%} is "madenci":
                make gui slot 13 of player with redstone named "&aŞu anki mesleğin" with lore "&8» &3Madenci" to nothing
            else if {meslek::%player%} is "katil":
                make gui slot 13 of player with oak wood named "&aŞu anki mesleğin" with lore "&8» &3Katil" to nothing
            else if {meslek::%player%} is "mesleksiz":
                make gui slot 13 of player with oak wood named "&aŞu anki mesleğin" with lore "&8» &3Meslek yok" to nothing
        arg-1 is "oduncu":
            {meslek::%player%} isn't "oduncu":
                set {meslek::%player%} to "oduncu"
                send "{@p} &ABaşarıyla oduncu mesleğine katıldın"
            else:
                send "{@p} &cZaten bu meslektesin"
        arg-1 is "madenci":
            {meslek::%player%} isn'T "madenci":
                set {meslek::%player%} to "madenci"
                send "{@p} &ABaşarıyla madenci mesleğine katıldın"
            else:
                send "{@p} &cZaten bu meslektesin"
        arg-1 is "katil":
            {meslek::%player%} isn't "katil":
                set {meslek::%player%} to "katil"
                send "{@p} &ABaşarıyla katil mesleğine katıldın"
            else:
                send "{@p} &cZaten bu meslektesin"
        arg-1 is "market":
            open virtual chest inventory with size 1 named "&2Kredi Market" to player
            wait 2 tick
            make gui slot 0 of player with oak wood named "&aItem1" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item1"
            make gui slot 1 of player with diamond pickaxe named "&aItem2" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item2"
            make gui slot 2 of player with stone sword named "&aItem3" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item3"
            make gui slot 3 of player with gold ingot named "&eItem4" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item4"
            make gui slot 4 of player with diamond named "&aItem5" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item5"
        arg-1 is "item1":
            {kredi::%player%} >= 50:
                give 1 diamond named "&bItem1" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 50 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 50 kredi"
        arg-1 is "item2":
            {kredi::%player%} >= 30:
                give 1 diamond named "&bItem2" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 30 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 30 kredi"
        arg-1 is "item3":
            {kredi::%player%} >= 70:
                give 1 diamond named "&bItem3" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 70 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 70 kredi"
        arg-1 is "item4":
            {kredi::%player%} >= 100:
                give 1 diamond named "&bItem4" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 100 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 100 kredi"
        arg-1 is "item5":
            {kredi::%player%} >= 10:
                give 1 diamond named "&bItem5" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 10 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 10 kredi"
                        
on break:
    event-block is oak wood:
        {meslek::%player%} is "oduncu":
            chance of 2%:
                add 1 to {kredi::%Player%}
                send "{@p} &a+1 Kredi"
    event-block is stone or gold ore or iron ore or diamond ore or redstone ore or lapis ore or coal ore or emerald ore:
        {meslek::%player%} is "madenci":
            chance of 2%:
                add 1 to {kredi::%Player%}
                send "{@p} &a+1 Kredi"
death of player:
    {meslek::%player%} is "katil":
        chance of 2%:
            add 1 to {kredi::%attacker%}
            send "{@p} &a+1 Kredi"
Tuske gerektirir.
 
Kod:
options:
    p: &8[&3Meslek&8]
variables:
    {meslek::%player%} = "mesleksiz"
    {kredi::%player%} = 0
command /meslekler [<text>]:
    trigger:
        arg-1 isn't set:
            open virtual chest inventory with size 2 named "&2Meslekler" to player
            wait 2 tick
            make gui slot 0 of player with oak wood named "&aOduncu" with lore "&8» &3Tıklayarak oduncu mesleğine katıl" to close then run player command "meslekler oduncu"
            make gui slot 4 of player with diamond pickaxe named "&aMadenci" with lore "&8» &3Tıklayarak madenci mesleğine katıl" to close then run player command "meslekler madenci"
            make gui slot 8 of player with stone sword named "&aKatil" with lore "&8» &3Tıklayarak katil mesleğine katıl" to close then run player command "meslekler katil"
            make gui slot 12 of player with gold ingot named "&eKredin" with lore "&8» &3%{kredi::%player%}%" to nothing
            make gui slot 14 of player with diamond named "&aKredi Market" with lore "&8» &3Tıklayarak marketi görüntüle" to close then run player command "meslekler market"
            {meslek::%player%} is "oduncu":
                make gui slot 13 of player with redstone named "&aŞu anki mesleğin" with lore "&8» &3Oduncu" to nothing
            else if {meslek::%player%} is "madenci":
                make gui slot 13 of player with redstone named "&aŞu anki mesleğin" with lore "&8» &3Madenci" to nothing
            else if {meslek::%player%} is "katil":
                make gui slot 13 of player with oak wood named "&aŞu anki mesleğin" with lore "&8» &3Katil" to nothing
            else if {meslek::%player%} is "mesleksiz":
                make gui slot 13 of player with oak wood named "&aŞu anki mesleğin" with lore "&8» &3Meslek yok" to nothing
        arg-1 is "oduncu":
            {meslek::%player%} isn't "oduncu":
                set {meslek::%player%} to "oduncu"
                send "{@p} &ABaşarıyla oduncu mesleğine katıldın"
            else:
                send "{@p} &cZaten bu meslektesin"
        arg-1 is "madenci":
            {meslek::%player%} isn'T "madenci":
                set {meslek::%player%} to "madenci"
                send "{@p} &ABaşarıyla madenci mesleğine katıldın"
            else:
                send "{@p} &cZaten bu meslektesin"
        arg-1 is "katil":
            {meslek::%player%} isn't "katil":
                set {meslek::%player%} to "katil"
                send "{@p} &ABaşarıyla katil mesleğine katıldın"
            else:
                send "{@p} &cZaten bu meslektesin"
        arg-1 is "market":
            open virtual chest inventory with size 1 named "&2Kredi Market" to player
            wait 2 tick
            make gui slot 0 of player with oak wood named "&aItem1" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item1"
            make gui slot 1 of player with diamond pickaxe named "&aItem2" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item2"
            make gui slot 2 of player with stone sword named "&aItem3" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item3"
            make gui slot 3 of player with gold ingot named "&eItem4" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item4"
            make gui slot 4 of player with diamond named "&aItem5" with lore "&8» &3Tıklayarak satın al" to close then run player command "meslekler item5"
        arg-1 is "item1":
            {kredi::%player%} >= 50:
                give 1 diamond named "&bItem1" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 50 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 50 kredi"
        arg-1 is "item2":
            {kredi::%player%} >= 30:
                give 1 diamond named "&bItem2" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 30 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 30 kredi"
        arg-1 is "item3":
            {kredi::%player%} >= 70:
                give 1 diamond named "&bItem3" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 70 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 70 kredi"
        arg-1 is "item4":
            {kredi::%player%} >= 100:
                give 1 diamond named "&bItem4" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 100 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 100 kredi"
        arg-1 is "item5":
            {kredi::%player%} >= 10:
                give 1 diamond named "&bItem5" to player
                send "{@p} &3Satın alma başarılı,iyi oyunlar"
                remove 10 from {kredi::%Player%}
            else:
                send "{@p} &cYetersiz kredi,gereken 10 kredi"
                       
on break:
    event-block is oak wood:
        {meslek::%player%} is "oduncu":
            chance of 2%:
                add 1 to {kredi::%Player%}
                send "{@p} &a+1 Kredi"
    event-block is stone or gold ore or iron ore or diamond ore or redstone ore or lapis ore or coal ore or emerald ore:
        {meslek::%player%} is "madenci":
            chance of 2%:
                add 1 to {kredi::%Player%}
                send "{@p} &a+1 Kredi"
death of player:
    {meslek::%player%} is "katil":
        chance of 2%:
            add 1 to {kredi::%attacker%}
            send "{@p} &a+1 Kredi"
Tuske gerektirir.
tuske ? maalesef tuske nedir bilmiyorum. link atarmısın ?
 
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