jeggread
Odunlara Vur Vur Vur!
- Katılım
- 3 Mart 2024
- Mesajlar
- 46
- Elmaslar
- 2
- Puan
- 120
- Yaş
- 25
- Konum
- istanbul
- Minecraft
- Jeggread
Discord:
jeggread
Market Scriptim Var ama çalışmıyor scriptin içini atıyorum buraya
Kodun devamı
on script load burasıKod:on script load: load yaml "plugins/korsancraft/market.yml" as "market" command market: trigger: if player has permission "%yaml value ""Genel.Perm"" from ""market""%": open virtual chest with size yaml value "Genel.Menü Boyut" from "market" named "%yaml value ""Genel.Menü Adı"" from ""market""%" to player set {_x} to yaml value "%player%.uuid" in "data" set {_a} to placeholder "gadgetsmenu_mystery_boxes" from player set {_b} to placeholder "coins_amount" from player set {_b} to "%{_b}%" parsed as number make gui slot 4 of player with ("%player%" parsed as offline player)'s skull named "&e%player%" with lore "||&7Coin: &6%{_b}% ⛁||&7Anahtar: &d%{_a}% ★||&7Kredi: &e0||&7Seviye: &a0" to nothing make gui slot 10 and 11 and 12 and 13 and 14 and 15 and 16 of player with gray stained glass pane named "&c" to nothing make gui slot 49 of player with ("MHF_ArrowLeft" parsed as offline player)'s skull named "&8←" to run: execute player command "/profil" play sound "entity.item.break" with volume 0.7 and pitch 1 at player loop yaml node keys "Kategoriler" from "market": set {_ad} to loop-value set {_isim} to yaml value "Kategoriler.%loop-value%.Menü Adı" from "market" set {_icon} to yaml value "Kategoriler.%loop-value%.Icon" from "market" set {_lore::*} to colored yaml list "Kategoriler.%loop-value%.Lore" from "market" make gui slot 4 of player with ("%player%" parsed as offline player)'s skull named "&e%player%" with lore "||&7Coin: &6%{_b}% ⛁||&7Anahtar: &d%{_a}% ★||&7Kredi: &e0||&7Seviye: &a0" to nothing make gui slot 10 and 11 and 12 and 13 and 14 and 15 and 16 of player with gray stained glass pane named "&c" to nothing make gui slot yaml value "Kategoriler.%loop-value%.Kategori Slotu" from "market" of player with {_icon} parsed as itemtype with no nbt named "%{_isim}%" with lore "||%join {_lore::*} with ""||""%" to run: play sound "ui.button.click" with volume 0.5 and pitch 1 at player set {_isim} to yaml value "Kategoriler.%{_ad}%.Kategori Adı" from "market" open virtual chest with size yaml value "Kategoriler.%{_ad}%.Menü Boyut" from "market" named "%{_isim}%" to player loop yaml node keys "Kategoriler.%{_ad}%.içindekiler" from "market": set {_ad 2} to loop-value-2 set {_isim} to yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.adı" from "market" set {_icon} to yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.icon" from "market" set {_lore::*} to colored yaml list "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.lore" from "market" set {_komutlar::*} to yaml list "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.komutlar" from "market" make gui slot 4 of player with ("%player%" parsed as offline player)'s skull named "&e%player%" with lore "||&7Coin: &6%{_b}% ⛁||&7Anahtar: &d%{_a}% ★||&7Kredi: &e0||&7Seviye: &a0" to nothing make gui slot 10 and 11 and 12 and 13 and 14 and 15 and 16 of player with gray stained glass pane named "&c" to nothing make gui slot 49 of player with sunflower named "&bBilgi" with lore "||&7Postacıdan düzenli olarak||&7ödüllerinizi alarak coin||&7kazanabilirsiniz.||||&7Mevcut coininiz: &6%{_b}% ⛁||||&fCoin satın almak için;||&dwww.kareblok.tc/market" to nothing make gui slot 48 of player with ("MHF_ArrowLeft" parsed as offline player)'s skull named "&8←" to run: execute player command "/market" play sound "entity.item.break" with volume 0.7 and pitch 1 at player if player has permission yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.perm" from "market": if {_ad} is "Havai Fişek" or "Giriş Mesajı": if {oyuncular::%player%::%{_ad}%} is {_isim}: make gui slot yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.slot" from "market" of player with shiny {_icon} parsed as itemtype with no nbt named "%{_isim}%" with lore "||&cBu ürün satın alınmış!||||&e► Şu anda bu seçili" to run: else: make gui slot yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.slot" from "market" of player with {_icon} parsed as itemtype with no nbt named "%{_isim}%" with lore "||&cBu ürün satın alınmış!||||&e► Seçmek için tıkla" to run: play sound "ENTITY_PLAYER_LEVELUP" with volume 0.5 and pitch 1 at player send "&e&lLOBI &8&l► %{_isim}% &7ürününü başarıyla seçtin." set {oyuncular::%player%::%{_ad}%} to {_isim} close player's inventory else: make gui slot yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.slot" from "market" of player with shiny {_icon} parsed as itemtype with no nbt named "%{_isim}%" with lore "||&cBu ürün satın alınmış!" to nothing else: make gui slot yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.slot" from "market" of player with {_icon} parsed as itemtype with no nbt named "%{_isim}%" with lore "||%join {_lore::*} with ""||""%" to run: if player has permission yaml value "Kategoriler.%{_ad}%.Perm" from "market": if {_b} >= yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.coin" from "market": #remove from {_b} set {_x} to yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.coin" from "market" execute console command "coins take %player% %{_x}%" play sound "ENTITY_PLAYER_LEVELUP" with volume 0.5 and pitch 1 at player send "&e&lLOBI &8&l► &c%{_ad 2}% &7ürününü başarıyla satın aldın." loop {_komutlar::*}: set {_komut} to loop-value-3 replace all "{player}" and "{PLAYER}" with "%player%" in {_komut} execute console command "%{_komut}%" close player's inventory else: set {_a} to (yaml value "Kategoriler.%{_ad}%.içindekiler.%{_ad 2}%.coin" from "market")-{_b} send "&e&lLOBI &8&l► &7Bunu satın almak için &c%{_a}% ⛁ &7coine ihtiyacın var." play sound "ENTITY_GENERIC_EXPLODE" with volume 0.5 and pitch 1 at player close player's inventory else: send yaml value "Kategoriler.%{_ad}%.Perm Mesaj" from "market" close player's inventory else: send yaml value "Genel.Perm Mesaj" from "market" # ------------- # HAVAİ FİŞEK # ------------- on join: if "%{oyuncular::%player%::Havai Fişek}%" contains "Küçük Top": if player has permission "kareblok.market.fişek.küçüktop": launch flickering ball firework colored red at player's location timed 0 else if "%{oyuncular::%player%::Havai Fişek}%" contains "Büyük Top": if player has permission "kareblok.market.fişek.büyüktop": launch trailing ball large coloured red, blue and green at player's location timed 1 else if "%{oyuncular::%player%::Havai Fişek}%" contains "Yıldız": if player has permission "kareblok.market.fişek.yıldız": launch trailing flickering star coloured purple and red fading to pink at player's location timed 1 else if "%{oyuncular::%player%::Havai Fişek}%" contains "Creeper": if player has permission "kareblok.market.fişek.creeper": launch flickering trailing creeper coloured green fading to red, black and green at player's location timed 1 else if "%{oyuncular::%player%::Havai Fişek}%" contains "Karışık": if player has permission "kareblok.market.fişek.karışık": launch flickering ball firework colored red at player's location timed 0 wait a second launch trailing ball large coloured red, blue and green at player's location timed 1 wait a second launch trailing flickering star coloured purple and red fading to pink at player's location timed 1 wait a second launch flickering trailing creeper coloured green fading to red, black and green at player's location timed 1 wait a second # -------------- # GİRİŞ MESAJI # -------------- on join: if "%{oyuncular::%player%::Giriş Mesajı}%" contains "Katıldı": if player has permission "kareblok.market.girişmesajı.katıldı": broadcast "&e&lLOBI &8&l► &c%player% &7sunucuya katıldı!" else if "%{oyuncular::%player%::Giriş Mesajı}%" contains "Bakıp": if player has permission "kareblok.market.girişmesajı.bakıp": broadcast "&e&lLOBI &8&l► &c%player% &7bir bakıp çıkacak!" else if "%{oyuncular::%player%::Giriş Mesajı}%" contains "Nikah": if player has permission "kareblok.market.girişmesajı.nikah": broadcast "&e&lLOBI &8&l► &c%player% &7nikah kıymaya geldi!"
Kodun devamı
Genel:
Menü Boyut: 6
Menü Adı: '&8&nProfil ► Market'
Perm: kareblok.market
Perm Mesaj: '&e&lLOBİ &8&l► &7Üzgünüm, yetkin yok.'
Yetersiz Coin: '&e&lLOBİ &8&l► &7Üzgünüm, coinin yok'
Kategoriler:
Yetki:
Menü Adı: '&bYetki'
Kategori Adı: '&8&nProfil ► Market ► Yetki'
Menü Boyut: 6
Kategori Slotu: 28
Icon: lava bucket
Lore:
- '&7Belirli özelliklere'
- '&7VIP olmadan da'
- '&7sahip olabilirsin.'
- ''
- '&e► Yetki menüsünü aç'
Perm: kareblok.market.yetki
Perm Mesaj: '&e&lLOBİ &8&l► &7Üzgünüm, yetkin yok.'
içindekiler:
'Sohbet':
adı: '&bSohbet'
slot: 31
icon: book and quill
perm: kareblok.market.yetki.sohbet
coin: 10000
komutlar:
- 'lp user {player} permission set kareblok.market.yetki.sohbet true'
lore:
- '&7VIP olmadan sohbette'
- '&7yazı yazabilirsiniz.'
- ''
- '&8▪ &7Fiyat: &c10.000 ⛁'
- ''
- '&e► Satın almak için tıkla'
Sandık:
Menü Adı: '&bGizemli Sandık'
Kategori Adı: '&8&nProfil ► Market ► Gizemli S.'
Menü Boyut: 6
Kategori Slotu: 30
Icon: ender chest
Lore:
- '&7Kasa açılış tarzını'
- '&7değiştirebilir veya kasa'
- '&7anahtarı satın alabilirsin.'
- ''
- '&e► Sandık menüsünü aç'
Perm: kareblok.market.sandık
Perm Mesaj: '&e&lLOBİ &8&l► &7Üzgünüm, yetkin yok.'
içindekiler:
'x1 Anahtar':
adı: '&bx1 Anahtar'
slot: 30
icon: tripwire hook
perm: kareblok.market.anahtar.x1anahtar
coin: 150
komutlar:
- 'gmysteryboxes give {player} 1'
lore:
- '&7&71 tane gizemli sandık'
- '&7kasası açabilirsiniz.'
- ''
- ' &8▪ &7Fiyat: &c150 ⛁'
- ''
- '&e► Satın almak için tıkla'
'x3 Anahtar':
adı: '&bx3 Anahtar'
slot: 31
icon: tripwire hook
perm: kareblok.market.anahtar.x3anahtar
coin: 400
komutlar:
- 'gmysteryboxes give {player} 3'
lore:
- '&7&73 tane gizemli sandık'
- '&7kasası açabilirsiniz.'
- ''
- ' &8▪ &7Fiyat: &c400 ⛁'
- ''
- '&e► Satın almak için tıkla'
'x5 Anahtar':
adı: '&bx5 Anahtar'
slot: 32
icon: tripwire hook
perm: kareblok.market.anahtar.x5anahtar
coin: 700
komutlar:
- 'gmysteryboxes give {player} 5'
lore:
- '&7&75 tane gizemli sandık'
- '&7kasası açabilirsiniz.'
- ''
- ' &8▪ &7Fiyat: &c700 ⛁'
- ''
- '&e► Satın almak için tıkla'
Havai Fişek:
Menü Adı: '&bHavai Fişek'
Kategori Adı: '&8&nProfil ► Market ► Havai F.'
Menü Boyut: 6
Kategori Slotu: 32
Icon: firework rocket
Lore:
- '&7Sunucuya girdiğiniz'
- '&7zaman etrafınızda'
- '&7havai fişekler patlar.'
- ''
- '&e► Havai Fişek menüsünü aç'
Perm: kareblok.market.havafişek
Perm Mesaj: '&e&lLOBİ &8&l► &7Üzgünüm, yetkin yok.'
içindekiler:
'Küçük Top':
adı: '&bKüçük Top'
slot: 29
icon: firework star
perm: kareblok.market.fişek.küçüktop
coin: 2500
komutlar:
- 'lp user {player} permission set kareblok.market.fişek.küçüktop true'
lore:
- '&7Sunucuya girdiğini'
- '&7herkese belli et!'
- ''
- '&8▪ &7Fiyat: &c2.500 ⛁'
- ''
- '&e► Satın almak için tıkla'
'Büyük Top':
adı: '&bBüyük Top'
slot: 30
icon: firework star
perm: kareblok.market.fişek.büyüktop
coin: 2500
komutlar:
- 'lp user {player} permission set kareblok.market.fişek.büyüktop true'
lore:
- '&7Sunucuya girdiğini'
- '&7herkese belli et!'
- ''
- '&8▪ &7Fiyat: &c2.500 ⛁'
- ''
- '&e► Satın almak için tıkla'
'Yıldız':
adı: '&bYıldız'
slot: 31
icon: firework star
perm: kareblok.market.fişek.yıldız
coin: 2500
komutlar:
- 'lp user {player} permission set kareblok.market.fişek.yıldız true'
lore:
- '&7Sunucuya girdiğini'
- '&7herkese belli et!'
- ''
- '&8▪ &7Fiyat: &c2.500 ⛁'
- ''
- '&e► Satın almak için tıkla'
'Creeper':
adı: '&bCreeper'
slot: 32
icon: firework star
perm: kareblok.market.fişek.creeper
coin: 2500
komutlar:
- 'lp user {player} permission set kareblok.market.fişek.creeper true'
lore:
- '&7Sunucuya girdiğini'
- '&7herkese belli et!'
- ''
- '&8▪ &7Fiyat: &c2.500 ⛁'
- ''
- '&e► Satın almak için tıkla'
'Karışık':
adı: '&bKarışık'
slot: 33
icon: firework star
perm: kareblok.market.fişek.karışık
coin: 2500
komutlar:
- 'lp user {player} permission set kareblok.market.fişek.karışık true'
lore:
- ' &8▪ &7Küçük Top'
- ' &8▪ &7Büyük Top'
- ' &8▪ &7Yıldız'
- ' &8▪ &7Creeper'
- ''
- '&7Hepsi sırayla patlar.'
- ''
- '&8▪ &7Fiyat: &c5.000 ⛁'
- ''
- '&e► Satın almak için tıkla'
Giriş Mesajı:
Menü Adı: '&bGiriş Mesajı'
Kategori Adı: '&8&nProfil ► Market ► Giriş M.'
Menü Boyut: 6
Kategori Slotu: 34
Icon: sign item
Lore:
- '&7Sunucuya girdiğiniz'
- '&7zaman herkesin sohbette'
- '&7katıldığın belli olacak.'
- ''
- '&e► Giriş Mesajı menüsünü aç'
Perm: kareblok.market.girişmesajı
Perm Mesaj: '&e&lLOBİ &8&l► &7Üzgünüm, yetkin yok.'
içindekiler:
'Katıldı':
adı: '&bKatıldı'
slot: 30
icon: paper
perm: kareblok.market.girişmesajı.katıldı
coin: 1000
komutlar:
- 'lp user {player} permission set kareblok.market.girişmesajı.katıldı true'
lore:
- '&7Bunu seçtiğiniz zaman'
- '&7sunucuya katılma'
- '&7mesajınız değişecektir.'
- ''
- '&cJeggread &7sunucuya katıldı!'
- ''
- '&8▪ &7Fiyat: &c1.000 ⛁'
- ''
- '&e► Satın almak için tıkla'
'Bakıp':
adı: '&bBakıp Çıkacak'
slot: 31
icon: paper
perm: kareblok.market.girişmesajı.bakıp
coin: 1000
komutlar:
- 'lp user {player} permission set kareblok.market.girişmesajı.bakıp true'
lore:
- '&7Bunu seçtiğiniz zaman'
- '&7sunucuya katılma'
- '&7mesajınız değişecektir.'
- ''
- '&cJeggread &7bir bakıp çıkacak!'
- ''
- '&8▪ &7Fiyat: &c1.000 ⛁'
- ''
- '&e► Satın almak için tıkla'
'Nikah':
adı: '&bNikah'
slot: 32
icon: paper
perm: kareblok.market.girişmesajı.nikah
coin: 1000
komutlar:
- 'lp user {player} permission set kareblok.market.girişmesajı.nikah true'
lore:
- '&7Bunu seçtiğiniz zaman'
- '&7sunucuya katılma'
- '&7mesajınız değişecektir.'
- ''
- '&cJeggread &7nikah kıymaya geldi!'
- ''
- '&8▪ &7Fiyat: &c1.000 ⛁'
- ''
- '&e► Satın almak için tıkla'