F
Furkan Doğan
Ziyaretçi
Rica ederim, umarım bilen birileri konuyu görüp yardımcı olur.Yine çalışmadı. Yinede teşekkürler ilgilendiğiniz için.
Rica ederim, umarım bilen birileri konuyu görüp yardımcı olur.Yine çalışmadı. Yinede teşekkürler ilgilendiğiniz için.
on inventory click:Birde konsolda böyle bir hata alıyorum bunla alakalı olabilir mi.
In 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, Only if this inventory has an InventoryHolder may it be used in this state.
Hypuin#2793
Güzel ve kullanışlı bir skript başarılarının devamını dilerim :)Merhabalar, bu konuda sizlere yazmış olduğum Kağıt Para skriptini tanıtıyorum.
Skript benim gözümde biraz gereksiz kaldı, kodlamasını da pek beğenmedim ama
belki birilerinin işine yarayabilir diyerekten paylaşıyorum.
KOMUTLAR
/para | Para menüsünü açar, menüde hem cüzdan kısmı, hem de para dönüştürme kısmı bulunuyor.
/apara | Para Admin Menüsü'nü açar. Bu menüden istediğiniz kağıt parayı alabilirsiniz.
SİSTEMDEN GÖRSELLER
/para Yazılınca Açılan Menü:
Ekli dosyayı görüntüle 172806
Cüzdan Kısmı
Ekli dosyayı görüntüle 172807
Cüzdandaki Toplam Parayı Gösteren Kısım
Ekli dosyayı görüntüle 172808
Para Dönüştürme Kısmı
Ekli dosyayı görüntüle 172809
Menüyü Kapat Kısmı
Ekli dosyayı görüntüle 172810
/apara Yazınca Açılan Admin Menüsü
Ekli dosyayı görüntüle 172811
5 Türk Lirası Alma
Ekli dosyayı görüntüle 172812
Tıkladık Ve Aldık, Kanıt;
Ekli dosyayı görüntüle 172813
Sağ Tıkladık Ve Bozdurduk;
Ekli dosyayı görüntüle 172814
Sol Tıkladık Ve Cüzdana Koyduk;
Ekli dosyayı görüntüle 172815
Cüzdandaki Verilder Güncellendi;
Ekli dosyayı görüntüle 172816Ekli dosyayı görüntüle 172817
Tıkladık Ve 5 Türk Liramızı Çektik;
Ekli dosyayı görüntüle 172818
Cüzdanımda Hiç 5 Türk Lirası Yok;
Ekli dosyayı görüntüle 172822
/para Yazıp Dönüştürme kısmına Geldik;
Ekli dosyayı görüntüle 172824
5 Türk Lirasına Tıkladık;
Ekli dosyayı görüntüle 172827
SİSTEM
Kod:options: Prefix: &6&lPARA &8» variables: {cüzdandakipara.%player%} = 0 {menü5tl.%player%} = 0 {menü10tl.%player%} = 0 {menü20tl.%player%} = 0 {menü50tl.%player%} = 0 {menü100tl.%player%} = 0 {menü200tl.%player%} = 0 {5tl.%player%} = 0 {10tl.%player%} = 0 {20tl.%player%} = 0 {50tl.%player%} = 0 {100tl.%player%} = 0 {200tl.%player%} = 0 command /para: trigger: paraMenü(player) command /apara: trigger: if player is op: paraAdminMenü(player) else: send "{@Prefix} &7Yetkin Yok." to player function paraAdminMenü(p: player): open chest with 1 rows named "&cPara Admin Menüsü" to {_p} if inventory name of current inventory of {_p} is "&cPara Admin Menüsü": format slot 0 of {_p} with paper named "&a5 &7Türk Lirası" to close then run [execute {_p} command "paraadminal 5"] format slot 1 of {_p} with paper named "&a10 &7Türk Lirası" to close then run [execute {_p} command "paraadminal 10"] format slot 2 of {_p} with paper named "&a20 &7Türk Lirası" to close then run [execute {_p} command "paraadminal 20"] format slot 3 of {_p} with paper named "&a50 &7Türk Lirası" to close then run [execute {_p} command "paraadminal 50"] format slot 4 of {_p} with paper named "&a100 &7Türk Lirası" to close then run [execute {_p} command "paraadminal 100"] format slot 5 of {_p} with paper named "&a200 &7Türk Lirası" to close then run [execute {_p} command "paraadminal 200"] function paraMenü(p: player): open chest with 6 rows named "&2Cüzdan &a& &2Para Dönüştür" to {_p} if inventory name of current inventory of {_p} is "&2Cüzdan &a& &2Para Dönüştür": format slot 1 of {_p} with paper named "&a5 &7Türk Lirası" with lore "||&7Sahip Olduğun: &a%{menü5tl.%{_p}%}% &7/ &aKağıt Başı ||&eÇekmek Için Tıkla." to close then run [execute console command "paraal 5 %{_p}%"] format slot 10 of {_p} with paper named "&a10 &7Türk Lirası" with lore "||&7Sahip Olduğun: &a%{menü10tl.%{_p}%}% &7/ &aKağıt Başı ||&eÇekmek Için Tıkla." to close then run [execute console command "paraal 10 %{_p}%"] format slot 19 of {_p} with paper named "&a20 &7Türk Lirası" with lore "||&7Sahip Olduğun: &a%{menü20tl.%{_p}%}% &7/ &aKağıt Başı ||&eÇekmek Için Tıkla." to close then run [execute console command "paraal 20 %{_p}%"] format slot 28 of {_p} with paper named "&a50 &7Türk Lirası" with lore "||&7Sahip Olduğun: &a%{menü50tl.%{_p}%}% &7/ &aKağıt Başı ||&eÇekmek Için Tıkla." to close then run [execute console command "paraal 50 %{_p}%"] format slot 37 of {_p} with paper named "&a100 &7Türk Lirası" with lore "||&7Sahip Olduğun: &a%{menü100tl.%{_p}%}% &7/ &aKağıt Başı ||&eÇekmek Için Tıkla." to close then run [execute console command "paraal 100 %{_p}%"] format slot 46 of {_p} with paper named "&a200 &7Türk Lirası" with lore "||&7Sahip Olduğun: &a%{menü200tl.%{_p}%}% &7/ &aKağıt Başı ||&eÇekmek Için Tıkla." to close then run [execute console command "paraal 200 %{_p}%"] format slot 7 of {_p} with paper named "&a5 &7Türk Lirası" with lore "||&eDönüştürmek Için Tıkla." to close then run [execute {_p} command "parayap 5"] format slot 16 of {_p} with paper named "&a10 &7Türk Lirası" with lore "||&eDönüştürmek Için Tıkla." to close then run [execute {_p} command "parayap 10"] format slot 25 of {_p} with paper named "&a20 &7Türk Lirası" with lore "||&eDönüştürmek Için Tıkla." to close then run [execute {_p} command "parayap 20"] format slot 34 of {_p} with paper named "&a50 &7Türk Lirası" with lore "||&eDönüştürmek Için Tıkla." to close then run [execute {_p} command "parayap 50"] format slot 43 of {_p} with paper named "&a100 &7Türk Lirası" with lore "||&eDönüştürmek Için Tıkla." to close then run [execute {_p} command "parayap 100"] format slot 52 of {_p} with paper named "&a200 &7Türk Lirası" with lore "||&eDönüştürmek Için Tıkla." to close then run [execute {_p} command "parayap 200"] format slot 13 of {_p} with sunflower named "&aCüzdandaki Para" with lore "||&7Cüzdanındaki Toplam Para: &a%{cüzdandakipara.%{_p}%}% TL" to close then run [execute console command ""] format slot 40 of {_p} with arrow named "&4Menüyü Kapat" to close then run [execute console command ""] format slot 0 of {_p} with red glass pane named "&cCüzdan &4->" to close then run [execute console command ""] format slot 9 of {_p} with red glass pane named "&cCüzdan &4->" to close then run [execute console command ""] format slot 18 of {_p} with red glass pane named "&cCüzdan &4->" to close then run [execute console command ""] format slot 27 of {_p} with red glass pane named "&cCüzdan &4->" to close then run [execute console command ""] format slot 36 of {_p} with red glass pane named "&cCüzdan &4->" to close then run [execute console command ""] format slot 45 of {_p} with red glass pane named "&cCüzdan &4->" to close then run [execute console command ""] format slot 2 of {_p} with red glass pane named "&4<- &cCüzdan" to close then run [execute console command ""] format slot 11 of {_p} with red glass pane named "&4<- &cCüzdan" to close then run [execute console command ""] format slot 20 of {_p} with red glass pane named "&4<- &cCüzdan" to close then run [execute console command ""] format slot 29 of {_p} with red glass pane named "&4<- &cCüzdan" to close then run [execute console command ""] format slot 38 of {_p} with red glass pane named "&4<- &cCüzdan" to close then run [execute console command ""] format slot 47 of {_p} with red glass pane named "&4<- &cCüzdan" to close then run [execute console command ""] format slot 8 of {_p} with blue glass pane named "&3<- &bPara Dönüştür" to close then run [execute console command ""] format slot 17 of {_p} with blue glass pane named "&3<- &bPara Dönüştür" to close then run [execute console command ""] format slot 26 of {_p} with blue glass pane named "&3<- &bPara Dönüştür" to close then run [execute console command ""] format slot 35 of {_p} with blue glass pane named "&3<- &bPara Dönüştür" to close then run [execute console command ""] format slot 44 of {_p} with blue glass pane named "&3<- &bPara Dönüştür" to close then run [execute console command ""] format slot 53 of {_p} with blue glass pane named "&3<- &bPara Dönüştür" to close then run [execute console command ""] format slot 6 of {_p} with blue glass pane named "&bPara Dönüştür &3->" to close then run [execute console command ""] format slot 15 of {_p} with blue glass pane named "&bPara Dönüştür &3->" to close then run [execute console command ""] format slot 24 of {_p} with blue glass pane named "&bPara Dönüştür &3->" to close then run [execute console command ""] format slot 33 of {_p} with blue glass pane named "&bPara Dönüştür &3->" to close then run [execute console command ""] format slot 42 of {_p} with blue glass pane named "&bPara Dönüştür &3->" to close then run [execute console command ""] format slot 51 of {_p} with blue glass pane named "&bPara Dönüştür &3->" to close then run [execute console command ""] format slot 3 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 12 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 21 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 30 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 39 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 48 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 5 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 14 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 23 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 32 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 41 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 50 of {_p} with black glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 4 of {_p} with yellow glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 22 of {_p} with yellow glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 31 of {_p} with yellow glass pane named "&ePara Menüsü" to close then run [execute console command ""] format slot 49 of {_p} with yellow glass pane named "&ePara Menüsü" to close then run [execute console command ""] command /paraadminal <text>: permission: op permission message: {@Prefix} &7Yetkin Yok. trigger: if arg-1 is "5": give a paper named "&a5 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player if arg-1 is "10": give a paper named "&a10 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player if arg-1 is "20": give a paper named "&a20 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player if arg-1 is "50": give a paper named "&a50 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player if arg-1 is "100": give a paper named "&a100 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player if arg-1 is "200": give a paper named "&a200 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player on inventory click: if inventory name of current inventory of player is "&cPara Admin Menüsü": cancel event on inventory click: if inventory name of current inventory of player is "&2Cüzdan &a& &2Para Dönüştür": cancel event command /paraal <text> <player>: permission: op permission message: {@Prefix} &7Yetkin Yok. trigger: if arg-1 is "5": if {5tl.%arg-2%} is greater than {menü5tl.%arg-2%}: give a paper named "&a5 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to arg-2 add -5 to {cüzdandakipara.%arg-2%} add -1 to {menü5tl.%arg-2%} add -2 to {5tl.%arg-2%} else: send "{@Prefix} &7Cüzdanında &a5 Türk Lirası &7Kalmadı." to arg-2 if arg-1 is "10": if {10tl.%arg-2%} is greater than {menü10tl.%arg-2%}: give a paper named "&a10 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to arg-2 add -10 to {cüzdandakipara.%arg-2%} add -1 to {menü10tl.%arg-2%} add -2 to {10tl.%arg-2%} else: send "{@Prefix} &7Cüzdanında &a10 Türk Lirası &7Kalmadı." to arg-2 if arg-1 is "20": if {20tl.%arg-2%} is greater than {menü20tl.%arg-2%}: give a paper named "&a20 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to arg-2 add -20 to {cüzdandakipara.%arg-2%} add -1 to {menü20tl.%arg-2%} add -2 to {20tl.%arg-2%} else: send "{@Prefix} &7Cüzdanında &a20 Türk Lirası &7Kalmadı." to arg-2 if arg-1 is "50": if {50tl.%arg-2%} is greater than {menü50tl.%arg-2%}: give a paper named "&a50 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to arg-2 add -50 to {cüzdandakipara.%arg-2%} add -1 to {menü50tl.%arg-2%} add -2 to {50tl.%arg-2%} else: send "{@Prefix} &7Cüzdanında &a50 Türk Lirası &7Kalmadı." to arg-2 if arg-1 is "100": if {100tl.%arg-2%} is greater than {menü100tl.%arg-2%}: give a paper named "&a100 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to arg-2 add -100 to {cüzdandakipara.%arg-2%} add -1 to {menü100tl.%arg-2%} add -2 to {100tl.%arg-2%} else: send "{@Prefix} &7Cüzdanında &a100 Türk Lirası &7Kalmadı." to arg-2 if arg-1 is "200": if {200tl.%arg-2%} is greater than {menü200tl.%arg-2%}: give a paper named "&a200 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to arg-2 add -200 to {cüzdandakipara.%arg-2%} add -1 to {menü200tl.%arg-2%} add -2 to {200tl.%arg-2%} else: send "{@Prefix} &7Cüzdanında &a200 Türk Lirası &7Kalmadı." to arg-2 command /parayap <text>: trigger: if arg-1 is "5": if player's balance is greater than 4: remove 5 from player's balance give a paper named "&a5 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player send "{@Prefix} &7Hesabınızdaki &a5 Türk Lirası &7Kağıt Para Haline Getirildi." to player else: send "{@Prefix} &7Yeteri Kadar Paran Yok." to player if arg-1 is "10": if player's balance is greater than 9: remove 10 from player's balance give a paper named "&a10 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player send "{@Prefix} &7Hesabınızdaki &a10 Türk Lirası &7Kağıt Para Haline Getirildi." to player else: send "{@Prefix} &7Yeteri Kadar Paran Yok." to player if arg-1 is "20": if player's balance is greater than 19: remove 20 from player's balance give a paper named "&a20 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player send "{@Prefix} &7Hesabınızdaki &a20 Türk Lirası &7Kağıt Para Haline Getirildi." to player else: send "{@Prefix} &7Yeteri Kadar Paran Yok." to player if arg-1 is "50": if player's balance is greater than 49: remove 50 from player's balance give a paper named "&a50 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player send "{@Prefix} &7Hesabınızdaki &a50 Türk Lirası &7Kağıt Para Haline Getirildi." to player else: send "{@Prefix} &7Yeteri Kadar Paran Yok." to player if arg-1 is "100": if player's balance is greater than 99: remove 100 from player's balance give a paper named "&a100 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player send "{@Prefix} &7Hesabınızdaki &a100 Türk Lirası &7Kağıt Para Haline Getirildi." to player else: send "{@Prefix} &7Yeteri Kadar Paran Yok." to player if arg-1 is "200": if player's balance is greater than 199: remove 200 from player's balance give a paper named "&a200 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" to player send "{@Prefix} &7Hesabınızdaki &a200 Türk Lirası &7Kağıt Para Haline Getirildi." to player else: send "{@Prefix} &7Yeteri Kadar Paran Yok." to player on right click with paper: if tool's name is "&a5 &7Türk Lirası": add 5 to player's balance remove 1 paper named "&a5 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&45 &cTürk Lirası Bozduruldu." if tool's name is "&a10 &7Türk Lirası": add 10 to player's balance remove 1 paper named "&a10 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&410 &cTürk Lirası Bozduruldu." if tool's name is "&a20 &7Türk Lirası": add 20 to player's balance remove 1 paper named "&a20 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&420 &cTürk Lirası Bozduruldu." if tool's name is "&a50 &7Türk Lirası": add 50 to player's balance remove 1 paper named "&a50 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&450 &cTürk Lirası Bozduruldu." if tool's name is "&a100 &7Türk Lirası": add 100 to player's balance remove 1 paper named "&a100 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&4100 &cTürk Lirası Bozduruldu." if tool's name is "&a200 &7Türk Lirası": add 200 to player's balance remove 1 paper named "&a200 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&4200 &cTürk Lirası Bozduruldu." on left click with paper: if tool's name is "&a5 &7Türk Lirası": remove 1 paper named "&a5 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&45 &cTürk Lirası Cüzdana Koyuldu." add 1 to {menü5tl.%player%} add 5 to {cüzdandakipara.%player%} add 2 to {5tl.%player%} if tool's name is "&a10 &7Türk Lirası": remove 1 paper named "&a10 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&410 &cTürk Lirası Cüzdana Koyuldu." add 1 to {menü10tl.%player%} add 10 to {cüzdandakipara.%player%} add 2 to {10tl.%player%} if tool's name is "&a20 &7Türk Lirası": remove 1 paper named "&a20 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&420 &cTürk Lirası Cüzdana Koyuldu." add 1 to {menü20tl.%player%} add 20 to {cüzdandakipara.%player%} add 2 to {20tl.%player%} if tool's name is "&a50 &7Türk Lirası": remove 1 paper named "&a50 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&450 &cTürk Lirası Cüzdana Koyuldu." add 1 to {menü50tl.%player%} add 50 to {cüzdandakipara.%player%} add 2 to {50tl.%player%} if tool's name is "&a100 &7Türk Lirası": remove 1 paper named "&a100 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&4100 &cTürk Lirası Cüzdana Koyuldu." add 1 to {menü100tl.%player%} add 100 to {cüzdandakipara.%player%} add 2 to {100tl.%player%} if tool's name is "&a200 &7Türk Lirası": remove 1 paper named "&a200 &7Türk Lirası" with lore "||&eSağ Tık &7Bozdur ||&eSol Tık &7Cüzdana Koy" from player's inventory set action bar of player to "&4200 &cTürk Lirası Cüzdana Koyuldu." add 1 to {menü200tl.%player%} add 200 to {cüzdandakipara.%player%} add 2 to {200tl.%player%}
Tatlı yorumun için teşekkür ederim :)Güzel ve kullanışlı bir skript başarılarının devamını dilerim :)
Protocol#1087
Merhaba, sanırım skriptde tuske addonu kullanılmış. Tuske addonunun eski sürümünü yüklediyseniz çalışmıyor olalabilir. Tuske'nin PikachuPatch'ını kullanmanızı tavsiye ederim, bu konu hakkında çok fazla bilgiye sahip değilim skripttools sitesinden aldığım tuske linki:Birde konsolda böyle bir hata alıyorum bunla alakalı olabilir mi.
In 1.13+ you cannot get the title name of an inventory outside of an InventoryClickEvent, Only if this inventory has an InventoryHolder may it be used in this state.
Teşekkürler :)Başka skriptlerde de görmek isteriz seni!
Başarılar!
Teşekkürler :=)Elinize Sağlık Başarılı Bir Skript Olmuş Başarılarınızın Devamını Dilerim.
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!