Dylex
Bir Kömür Göründü Kaptanım!
- Katılım
- 16 Mart 2023
- Mesajlar
- 119
- Elmaslar
- 17
- Puan
- 2.155
- Yaş
- 23
- Konum
- United States
- Minecraft
- TheDylex
Discord:
Dylex#6666
minecraft sürüm 1.21.1
deluxemenus kullanarak dinamik bir market yapacağım fiyatlar sürekli değişecek.
deluxemenus kodum aşağıda
#
# Elmas Satın Alma Menüsü
# Dinamik Fiyatlı Sürüm
#
menu_title: 'Elmas Satın Alma Menüsü'
open_command: paracek
size: 9
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.shop
deny_commands:
- '[message] &cBu menüyü açmak için yetkiniz yok!'
items:
#
# Elmas Satın Alma Öğesi
#
'diamond':
material: DIAMOND
slot: 0
lore:
- '&7Paranızı kullanarak elmas satın alın!'
- ''
- '&7- Sol tık: &b1 tane &7al &a%elmas_fiyatı%'
- '&7- Shift + Sol tık: &b64 tane &7al &a%elmas_fiyatı_x64%'
# 1 elmas satın almak için sol tıklama gereksinimleri
left_click_requirement:
requirements:
has_money:
type: has money
placeholder: '%elmas_fiyatı%' # Placeholder kullanıyoruz
deny_commands:
- '[message] &cBu işlem için yeterli paranız yok!'
# 1 elmas satın almak için sol tıklama komutları
left_click_commands:
- '[console] give %player_name% minecraft:diamond 1'
- '[takemoney] %elmas_fiyatı%' # Dinamik fiyat placeholder'ı
- '[message] &a1 &bELMAS &aaldınız! Toplam maliyet: %elmas_fiyatı%'
- '[console] elmasfiyatguncelle' # Fiyatı güncelle
# 64 elmas satın almak için Shift + sol tıklama gereksinimleri
shift_left_click_requirement:
requirements:
has_money:
type: has money
placeholder: '%elmas_fiyatı_x64%' # 64 elmas için placeholder
# 64 elmas satın almak için Shift + sol tıklama komutları
shift_left_click_commands:
- '[console] give %player_name% minecraft:diamond 64'
- '[takemoney] %elmas_fiyatı_x64%' # 64x dinamik fiyat placeholder'ı
- '[message] &a64 &bELMAS &aaldınız! Toplam maliyet: %elmas_fiyatı_x64%'
- '[console] elmasfiyatguncelle' # Fiyatı güncelle
sk dosyam aşağıda
variables:
{elmas_fiyatı} = 500 # Başlangıç fiyatı
# Elmas fiyatını güncelleyen komut
command /elmasfiyatguncelle:
trigger:
set {elmas_fiyatı} to {elmas_fiyatı} - 1 # Fiyatı her satın alımda 1 azalt
if {elmas_fiyatı} < 100: # Minimum fiyat kontrolü
set {elmas_fiyatı} to 100
send "&aElmas fiyatı güncellendi: &b{elmas_fiyatı}$"
# PlaceholderAPI'den fiyat döndürme
on placeholderapi placeholder request for the prefix "elmas":
if the identifier is "fiyat":
set the result to "%{elmas_fiyatı}%" # Tek elmas fiyatı
if the identifier is "fiyat_x64":
set {elmas_fiyatı_x64} to {elmas_fiyatı} * 64 # 64 elmasın fiyatı
set the result to "%{elmas_fiyatı_x64}%"
skript için aldığım hata aşağıda
[00:16:50 INFO]: Can't understand this structure: on placeholderapi placeholder request for the prefix "elmas"
[00:16:50 INFO]: Line: on placeholderapi placeholder request for the prefix "elmas":
!!!!!
BU LİNKTEN İNDİRDİĞİM JAR'ı EXPENSİONS KISMINA ATTIM ESKİDEN /PAPİ ECLOUD DOWNLOAD SKRİPT GİBİ DÜŞÜNEBİLİRSİNİZ !!!!! BUNU YAPTIM GENE BAŞARAMADIM.
BU LİNKTEN İNDİRİP GRADLE İLE DERLEDİM , PLUGINS KLASÖRÜNE ATTIM YİNE KENDİ ÖZEL DEĞİŞKENİMİ PLACEHOLDER'A TANIMLAYAMADIM NE YAPMALIYIM ?
SERVER LOG
00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: skript [1.0.0] BUNU
BU LİNKTEN İNDİRDİM HANGİSİNİ KULLANMALIYIM ? Skript-placeholder MI YOKSA BU MU ?
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
[00:27:37 INFO]: 5 placeholder hook(s) registered!
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered ınternal expansion: img [1.0.1]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered ınternal expansion: iaplayerstat [1.0.1]
[00:31:41 INFO]: TheDylex issued server command: /PARACEK
[00:31:43 INFO]: [Essentials] CONSOLE issued server command: /give TheDylex minecraft:diamond 1
[00:31:43 INFO]: 1 eşyasından diamond adet TheDylex isimli oyuncuya veriliyor.
[00:31:43 WARN]: [DeluxeMenus] Amount for take money action: %elmas_fiyatı%, is not a valid number!
[00:31:43 INFO]: Elmas fiyatı güncellendi: {elmas_fiyatı}$
deluxemenus kullanarak dinamik bir market yapacağım fiyatlar sürekli değişecek.
deluxemenus kodum aşağıda
#
# Elmas Satın Alma Menüsü
# Dinamik Fiyatlı Sürüm
#
menu_title: 'Elmas Satın Alma Menüsü'
open_command: paracek
size: 9
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.shop
deny_commands:
- '[message] &cBu menüyü açmak için yetkiniz yok!'
items:
#
# Elmas Satın Alma Öğesi
#
'diamond':
material: DIAMOND
slot: 0
lore:
- '&7Paranızı kullanarak elmas satın alın!'
- ''
- '&7- Sol tık: &b1 tane &7al &a%elmas_fiyatı%'
- '&7- Shift + Sol tık: &b64 tane &7al &a%elmas_fiyatı_x64%'
# 1 elmas satın almak için sol tıklama gereksinimleri
left_click_requirement:
requirements:
has_money:
type: has money
placeholder: '%elmas_fiyatı%' # Placeholder kullanıyoruz
deny_commands:
- '[message] &cBu işlem için yeterli paranız yok!'
# 1 elmas satın almak için sol tıklama komutları
left_click_commands:
- '[console] give %player_name% minecraft:diamond 1'
- '[takemoney] %elmas_fiyatı%' # Dinamik fiyat placeholder'ı
- '[message] &a1 &bELMAS &aaldınız! Toplam maliyet: %elmas_fiyatı%'
- '[console] elmasfiyatguncelle' # Fiyatı güncelle
# 64 elmas satın almak için Shift + sol tıklama gereksinimleri
shift_left_click_requirement:
requirements:
has_money:
type: has money
placeholder: '%elmas_fiyatı_x64%' # 64 elmas için placeholder
# 64 elmas satın almak için Shift + sol tıklama komutları
shift_left_click_commands:
- '[console] give %player_name% minecraft:diamond 64'
- '[takemoney] %elmas_fiyatı_x64%' # 64x dinamik fiyat placeholder'ı
- '[message] &a64 &bELMAS &aaldınız! Toplam maliyet: %elmas_fiyatı_x64%'
- '[console] elmasfiyatguncelle' # Fiyatı güncelle
sk dosyam aşağıda
variables:
{elmas_fiyatı} = 500 # Başlangıç fiyatı
# Elmas fiyatını güncelleyen komut
command /elmasfiyatguncelle:
trigger:
set {elmas_fiyatı} to {elmas_fiyatı} - 1 # Fiyatı her satın alımda 1 azalt
if {elmas_fiyatı} < 100: # Minimum fiyat kontrolü
set {elmas_fiyatı} to 100
send "&aElmas fiyatı güncellendi: &b{elmas_fiyatı}$"
# PlaceholderAPI'den fiyat döndürme
on placeholderapi placeholder request for the prefix "elmas":
if the identifier is "fiyat":
set the result to "%{elmas_fiyatı}%" # Tek elmas fiyatı
if the identifier is "fiyat_x64":
set {elmas_fiyatı_x64} to {elmas_fiyatı} * 64 # 64 elmasın fiyatı
set the result to "%{elmas_fiyatı_x64}%"
skript için aldığım hata aşağıda
[00:16:50 INFO]: Can't understand this structure: on placeholderapi placeholder request for the prefix "elmas"
[00:16:50 INFO]: Line: on placeholderapi placeholder request for the prefix "elmas":
!!!!!
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
SERVER LOG
00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: skript [1.0.0] BUNU
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
[00:27:37 INFO]: 5 placeholder hook(s) registered!
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered ınternal expansion: img [1.0.1]
[00:27:37 INFO]: [PlaceholderAPI] Successfully registered ınternal expansion: iaplayerstat [1.0.1]
[00:31:41 INFO]: TheDylex issued server command: /PARACEK
[00:31:43 INFO]: [Essentials] CONSOLE issued server command: /give TheDylex minecraft:diamond 1
[00:31:43 INFO]: 1 eşyasından diamond adet TheDylex isimli oyuncuya veriliyor.
[00:31:43 WARN]: [DeluxeMenus] Amount for take money action: %elmas_fiyatı%, is not a valid number!
[00:31:43 INFO]: Elmas fiyatı güncellendi: {elmas_fiyatı}$
