Çözüldü sk

  • Konuyu Başlatan Konuyu Başlatan Liewex_
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 110
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Liewex_

Koydum Çalışma Masasını
Katılım
4 Şubat 2026
Mesajlar
50
Elmaslar
2
Puan
170
Yaş
26
Konum
a
Minecraft
Liewex

Discord:

akisetup

Kod:
# %fast_crystal_status% değişkenini PAPI'ye kaydeder

on placeholderapi placeholder request for the prefix "fast":

    if the identifier is "%fast_crystal_status%":

        if {fc::%player's uuid%} is true:

            set the result to "&aAÇIK"

        else:

            set the result to "&cKAPALI"



# Aç-Kapat Komutu

command /fastercrystals:

    permission: fastercrystals.use

    permission message: &cBu komutu kullanmak için yetkin yok!

    trigger:

        if {fc::%player's uuid%} is not set:

            set {fc::%player's uuid%} to true

            send "&6[System] &fFaster Crystals: &aAçıldı!"

        else if {fc::%player's uuid%} is true:

            set {fc::%player's uuid%} to false

            send "&6[System] &fFaster Crystals: &cKapandı!"

        else:

            set {fc::%player's uuid%} to true

            send "&6[System] &fFaster Crystals: &aAçıldı!"



# Kristal Optimizasyon Mekaniği (1.21.1 Uyumlu)

on damage of end crystal:

    if {fc::%attacker's uuid%} is true:

        # Kristal hasar gecikmesini sıfırlar, böylece daha hızlı patlar

        set victim's invulnerability ticks to 0


bu skriptde deluxemnusde %fast_crystal_status% değişkeni kullanılınca özelliğin açık olup olmadığı gözükmeli ama gözükmüyor ve faster crystals özelliğide çalışmıyor
 
Kod:
# PlaceholderAPI kaydı
on placeholderapi placeholder request for the prefix "fast":
if the identifier is "crystal_status":
if {fc::%player's uuid%} is true:
set the result to "&aAÇIK"
else:
set the result to "&cKAPALI"

# Aç-Kapat Komutu
command /fastercrystals:
permission: fastercrystals.use
permission message: &cBu komutu kullanmak için yetkin yok!
trigger:
if {fc::%player's uuid%} is not set:
set {fc::%player's uuid%} to true
send "&6[System] &fFaster Crystals: &aAçıldı!"
else if {fc::%player's uuid%} is true:
set {fc::%player's uuid%} to false
send "&6[System] &fFaster Crystals: &cKapandı!"
else:
set {fc::%player's uuid%} to true
send "&6[System] &fFaster Crystals: &aAçıldı!"

# Kristal Optimizasyon Mekaniği
on damage of end crystal:
attacker is a player
{fc::%attacker's uuid%} is true
set victim's invulnerability ticks to 0


Değişiklikler:​


  1. PlaceholderAPI identifier: %fast_crystal_status% yerine sadece crystal_status kullanmalısınız. DeluxeMenu'de kullanırken %fast_crystal_status% şeklinde yazacaksınız.
  2. Damage event kontrolleri: Event'e attacker is a player kontrolü eklendi ve koşullar düzgün yapılandırıldı.

DeluxeMenu'de kullanım: display_name: 'Faster Crystals: %fast_crystal_status%'​




[COLOR=rgb(204, 123, 244)]display_name[/COLOR][COLOR=rgb(211, 215, 222)]:[/COLOR] [COLOR=rgb(155, 233, 99)]'Faster Crystals: %fast_crystal_status%'[/COLOR]

Test için:​


  1. Sunucuyu yeniden başlatın veya /sk reload <script-adı> yapın
  2. /papi parse me %fast_crystal_status% komutu ile placeholder'ı test edin
  3. /fastercrystals komutu ile açıp kapatın
 
hangi pluginler gerekli bide 22 eror verdi /sk reload scripts atınca
 
Kod:
# PlaceholderAPI Kaydı (Hata buradaydı: identifier içinde % kullanılmaz) Lonqon :)
on placeholderapi placeholder request for the prefix "fast":
    if the identifier is "crystal_status": # % işaretlerini kaldırdık
        if {fc::%player's uuid%} is true:
            set the result to "&aAÇIK"
        else:
            set the result to "&cKAPALI"

# Aç-Kapat Komutu
command /fastercrystals:
    permission: fastercrystals.use
    permission message: &cBu komutu kullanmak için yetkin yok!
    trigger:
        if {fc::%player's uuid%} is not true:
            set {fc::%player's uuid%} to true
            send "&6[System] &fFaster Crystals: &aAçıldı!"
        else:
            set {fc::%player's uuid%} to false
            send "&6[System] &fFaster Crystals: &cKapandı!"

# Kristal Mekaniği (1.18.2 ve 1.21.1 uyumlu)
on damage of end crystal:
    if {fc::%attacker's uuid%} is true:
        # Kristalin hasar almazlık süresini sıfırlar
        set victim's invulnerability ticks to 0

bunu denermisiniz ?
 
Selamlar verılen erorları ss olarak bana iletebilrimisiniz birde ekstra olarak taban surumunuzu paylaşırsanız sevınırım.
 
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