Çözüldü ölümlog skriptim çalışmıyor

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
eyi unuttunuz." to player
YAML:
[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 26: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     an inventory cannot be saved, i.e. the contents of the variable {death::%{_uuid}%::%{_deathnum}%::inventory::*} will be lost when the server stops.

[19:40:54] [Server thread/INFO]:     Line: set {death::%{_uuid}%::%{_deathnum}%::inventory::*} to victim's inventory

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 38: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[19:40:54] [Server thread/INFO]:     Line: set {_compass} to compass named "&4Íl³m#%{_deathnum}%"

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 39: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     List is missing 'and' or 'or', defaulting to 'and': "&7Tarih: %{death::%{_uuid}%::%{_deathnum}%::time}%", "&7Katil: %{_killer}%", "&7Konum: %{death::%{_uuid}%::%{_deathnum}%::location}%", "", "&eT²kla: I■²nlan"

[19:40:54] [Server thread/INFO]:     Line: set lore of {_compass} to "&7Tarih: %{death::%{_uuid}%::%{_deathnum}%::time}%", "&7Katil: %{_killer}%", "&7Konum: %{death::%{_uuid}%::%{_deathnum}%::location}%", "", "&eT²kla: I■²nlan"

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 42: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[19:40:54] [Server thread/INFO]:     Line: send action bar "&cÍl³m kaydedildi! (#%{_deathnum}%)" to victim

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 43: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     Use 'attacker' and/or 'victim' in damage/death events

[19:40:54] [Server thread/INFO]:     Line: send "&a[DeathLog] %{_name}% oyuncusunun %{_deathnum}%. ÷l³m³ kaydedildi!" to all players where [player has permission "op"]

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 60: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     Can't understand this condition: '{_deathnum} < 1 or {_deathnum} > {deathcount::%{_uuid}%}'

[19:40:54] [Server thread/INFO]:     Line: if {_deathnum} < 1 or {_deathnum} > {deathcount::%{_uuid}%}:

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 67: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[19:40:54] [Server thread/INFO]:     Line: create a gui with virtual chest inventory with 6 rows named "&6%{_target}% - Íl³m#%{_deathnum}%":

[19:40:54] [Server thread/INFO]:

[19:40:54] [Server thread/INFO]: [Skript] Line 108: (olumlog.sk)

[19:40:54] [Server thread/INFO]:     Can't understand this condition/effect: open last created gui to player

[19:40:54] [Server thread/INFO]:     Line: open last created gui to player

[19:40:54] [Server thread/INFO]:

[19:40:55] [Server thread/INFO]: [Skript] Line 121: (olumlog.sk)

[19:40:55] [Server thread/INFO]:     Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket.

[19:40:55] [Server thread/INFO]:     Line: send "&6=== %{_target}% Íl³m Listesi (%{deathcount::%{_uuid}%} kay²t) ===" to player

[19:40:55] [Server thread/INFO]:

[19:40:55] [Server thread/INFO]: [Skript] Line 124: (olumlog.sk)

[19:40:55] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[19:40:55] [Server thread/INFO]:     Line: send "&7#%{_num}% &8| &7%{death::%{_uuid}%::%{_num}%::time}% &8| &cKatil: %{death::%{_uuid}%::%{_num}%::killer}%" to player

[19:40:55] [Server thread/INFO]:

[19:40:55] [Server thread/INFO]: [Skript] Line 142: (olumlog.sk)

[19:40:55] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[19:40:55] [Server thread/INFO]:     Line: if name of player's tool contains "&4Íl³m#":

[19:40:55] [Server thread/INFO]:

[19:40:55] [Server thread/INFO]: [DeathLog] Sistem y³klendi!

[19:40:55] [Server thread/INFO]: [Skript] Loaded 4 scripts with a total of 26 triggers and 11 commands in 1.35 seconds

[19:40:55] [Server thread/INFO]: [Skript] Finished loading.
Kod:
options:
    version: 2.6

on load:
    delete {death::*}
    delete {deathcount::*}
    delete {lastdeath::*}
    send "[DeathLog] Sistem yüklendi!" to console

on death of player:
    set {_uuid} to victim's uuid
    set {_name} to victim's name
    set {_killer} to "Doğal Sebepler"
  
    if attacker is a player:
        set {_killer} to attacker's name
    else if attacker is set:
        set {_killer} to "%attacker%"
  
    # Ölüm sayacını güncelle
    add 1 to {deathcount::%{_uuid}%}
    set {_deathnum} to {deathcount::%{_uuid}%}
    set {lastdeath::%{_uuid}%} to {_deathnum}
  
    # Envanter verilerini kaydet
    set {death::%{_uuid}%::%{_deathnum}%::inventory::*} to victim's inventory
    set {death::%{_uuid}%::%{_deathnum}%::helmet} to victim's helmet
    set {death::%{_uuid}%::%{_deathnum}%::chestplate} to victim's chestplate
    set {death::%{_uuid}%::%{_deathnum}%::leggings} to victim's leggings
    set {death::%{_uuid}%::%{_deathnum}%::boots} to victim's boots
    set {death::%{_uuid}%::%{_deathnum}%::offhand} to victim's tool
    set {death::%{_uuid}%::%{_deathnum}%::location} to victim's location
    set {death::%{_uuid}%::%{_deathnum}%::time} to now formatted as "dd/MM/yyyy HH:mm:ss"
    set {death::%{_uuid}%::%{_deathnum}%::killer} to {_killer}
    set {death::%{_uuid}%::name} to {_name}
  
    # Bilgi pusulası oluştur
    set {_compass} to compass named "&4Ölüm #%{_deathnum}%"
    set lore of {_compass} to "&7Tarih: %{death::%{_uuid}%::%{_deathnum}%::time}%", "&7Katil: %{_killer}%", "&7Konum: %{death::%{_uuid}%::%{_deathnum}%::location}%", "", "&eTıkla: Işınlan"
    give {_compass} to victim
  
    send action bar "&cÖlüm kaydedildi! (#%{_deathnum}%)" to victim
    send "&a[DeathLog] %{_name}% oyuncusunun %{_deathnum}%. ölümü kaydedildi!" to all players where [player has permission "op"]

command /ölümlog <player> <integer>:
    permission: op
    executable by: players
    trigger:
        set {_target} to arg-1
        set {_uuid} to uuid of {_target}
        set {_deathnum} to arg-2
      
        send "&7Kontroller yapılıyor..." to player
      
        # Kontroller
        if {deathcount::%{_uuid}%} is not set:
            send "&c%{_target}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop
      
        if {_deathnum} < 1 or {_deathnum} > {deathcount::%{_uuid}%}:
            send "&cGeçersiz numara! (1-%{deathcount::%{_uuid}%}% arasında olmalı)" to player
            stop
      
        send "&aEnvanter açılıyor..." to player
      
        # GUI oluştur
        create a gui with virtual chest inventory with 6 rows named "&6%{_target}% - Ölüm #%{_deathnum}%":
            # Ana envanter (0-35 slotları)
            loop 36 times:
                set {_slot} to loop-number - 1
                set {_item} to {death::%{_uuid}%::%{_deathnum}%::inventory::%{_slot}%}
                if {_item} is set:
                    make gui slot {_slot} run:
                        # Tıklama engellendi
                        pass
                    format gui slot {_slot} with {_item}
          
            # Zırh slotları (alt sıra)
            if {death::%{_uuid}%::%{_deathnum}%::helmet} is set:
                format gui slot 45 with {death::%{_uuid}%::%{_deathnum}%::helmet} named "&eKask"
            if {death::%{_uuid}%::%{_deathnum}%::chestplate} is set:
                format gui slot 46 with {death::%{_uuid}%::%{_deathnum}%::chestplate} named "&eGöğüslük"
            if {death::%{_uuid}%::%{_deathnum}%::leggings} is set:
                format gui slot 47 with {death::%{_uuid}%::%{_deathnum}%::leggings} named "&ePantolon"
            if {death::%{_uuid}%::%{_deathnum}%::boots} is set:
                format gui slot 48 with {death::%{_uuid}%::%{_deathnum}%::boots} named "&eBot"
            if {death::%{_uuid}%::%{_deathnum}%::offhand} is set:
                format gui slot 49 with {death::%{_uuid}%::%{_deathnum}%::offhand} named "&eSol El"
          
            # Bilgi butonu
            set {_info} to paper named "&6Ölüm Bilgileri"
            set lore of {_info} to "&7Tarih: &f%{death::%{_uuid}%::%{_deathnum}%::time}%", "&7Katil: &f%{death::%{_uuid}%::%{_deathnum}%::killer}%", "&7Konum: &f%{death::%{_uuid}%::%{_deathnum}%::location}%"
            make gui slot 52 run:
                # Sadece bilgi gösterimi
                pass
            format gui slot 52 with {_info}
          
            # Işınlanma butonu
            set {_tp} to ender pearl named "&aIşınlan"
            set lore of {_tp} to "&7Tıkla: Ölüm noktasına git"
            make gui slot 53 run:
                close player's inventory
                teleport player to {death::%{_uuid}%::%{_deathnum}%::location}
                send "&aÖlüm noktasına ışınlandınız!" to player
            format gui slot 53 with {_tp}
      
        # GUI'yi aç
        open last created gui to player

command /ölümlogliste [<player>]:
    permission: op
    executable by: players
    trigger:
        set {_target} to arg-1 if arg-1 is set else player
        set {_uuid} to uuid of {_target}
      
        if {deathcount::%{_uuid}%} is not set:
            send "&c%{_target}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop
          
        send "&6=== %{_target}% Ölüm Listesi (%{deathcount::%{_uuid}%} kayıt) ===" to player
        loop {deathcount::%{_uuid}%} times:
            set {_num} to loop-number
            send "&7#%{_num}% &8| &7%{death::%{_uuid}%::%{_num}%::time}% &8| &cKatil: %{death::%{_uuid}%::%{_num}%::killer}%" to player
        send "&6Detay için: &e/ölümlog %{_target}% <numara>" to player

command /sonölüm [<player>]:
    permission: op
    executable by: players
    trigger:
        set {_target} to arg-1 if arg-1 is set else player
        set {_uuid} to uuid of {_target}
      
        if {lastdeath::%{_uuid}%} is not set:
            send "&c%{_target}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop
          
        execute player command "/ölümlog %{_target}% %{lastdeath::%{_uuid}%}%"

# Pusula tıklama eventi
on rightclick with compass:
    if name of player's tool contains "&4Ölüm #":
        set {_deathnum} to last integer in name of player's tool
        set {_uuid} to player's uuid
      
        if {death::%{_uuid}%::%{_deathnum}%::location} is set:
            teleport player to {death::%{_uuid}%::%{_deathnum}%::location}
            send "&aÖlüm noktasına ışınlandınız!" to player
        else:
            send "&cBu ölüm kaydı bulunamadı!" to player

# Debug komutu
command /ölümtest:
    permission: op
    trigger:
        set {_uuid} to player's uuid
        send "&6Debug Bilgileri:" to player
        send "&7UUID: %{_uuid}%" to player
        send "&7Ölüm Sayısı: %{deathcount::%{_uuid}%}%" to player
        send "&7Son Ölüm: %{lastdeath::%{_uuid}%}%" to player
        if {deathcount::%{_uuid}%} > 0:
            send "&7İlk Ölüm Kaydı: %{death::%{_uuid}%::1::time}%" to player

Tuske - Skript-Reflect ve Skbee addonslarını yükleyerek tekrar dener misiniz ?
durmadan bu hatayı alıyorum yine olmadı verdiğiniz pluginde
 
Moderatör tarafından düzenlendi:
Kontroller yapılıyor diyor envanter açılıyor diyor ama gui envanterr gelmiyor çalışmaya başladı ama bir plugin sorun çıkartıyor galiba
 
Kontroller yapılıyor diyor envanter açılıyor diyor ama gui envanterr gelmiyor çalışmaya başladı ama bir plugin sorun çıkartıyor galiba
Kod:
options:
    version: 2.6

on load:
    delete {death::*}
    delete {deathcount::*}
    delete {lastdeath::*}
    send "[DeathLog] Sistem yüklendi!" to console

on death of player:
    set {_uuid} to victim's uuid
    set {_victimName} to victim's name
    set {_killer} to "Doğal Sebepler"

    if attacker is a player:
        set {_killer} to attacker's name
    else if attacker is set:
        if attacker has a custom name:
            set {_killer} to attacker's custom name
        else:
            set {_killer} to type of attacker # Varlığın türünü alır (örn: Zombi)

    # Ölüm sayacını güncelle
    add 1 to {deathcount::%{_uuid}%}
    set {_deathNum} to {deathcount::%{_uuid}%}
    set {lastdeath::%{_uuid}%} to {_deathNum}

    # Envanter verilerini kaydet
    # UYARI: Skript'in varsayılan değişken sistemi karmaşık eşya verilerini (büyüler, NBT) kalıcı olarak düzgün saklayamayabilir.
    loop slots 0 to 35 in victim's inventory: # Ana envanter
        if loop-item is set:
            set {death::%{_uuid}%::%{_deathNum}%::inventory::%loop-slot%} to loop-item
    set {death::%{_uuid}%::%{_deathNum}%::helmet} to victim's helmet
    set {death::%{_uuid}%::%{_deathNum}%::chestplate} to victim's chestplate
    set {death::%{_uuid}%::%{_deathNum}%::leggings} to victim's leggings
    set {death::%{_uuid}%::%{_deathNum}%::boots} to victim's boots
    set {death::%{_uuid}%::%{_deathNum}%::offhand} to victim's offhand item

    # Diğer bilgileri kaydet
    set {death::%{_uuid}%::%{_deathNum}%::location} to victim's location
    set {death::%{_uuid}%::%{_deathNum}%::time} to now formatted as "dd/MM/yyyy HH:mm:ss"
    set {death::%{_uuid}%::%{_deathNum}%::killer} to {_killer}
    set {death::%{_uuid}%::%{_deathNum}%::victim_name} to {_victimName} # Ölüm anındaki oyuncu adını kaydet

    # Bilgi pusulası oluştur ve ver
    set {_compass} to compass named "&4Ölüm #%{_deathNum}%"
    set lore of {_compass} to ("&7Tarih: %{death::%{_uuid}%::%{_deathNum}%::time}%" and "&7Katil: %{_killer}%" and "&7Konum: %world of victim's location%, %x-coordinate of victim's location rounded to 0 decimal places%, %y-coordinate of victim's location rounded to 0 decimal places%, %z-coordinate of victim's location rounded to 0 decimal places%" and "" and "&eSağ Tıkla: Işınlan")
    give {_compass} to victim

    send action bar "&cÖlüm kaydedildi! (#%{_deathNum}%)" to victim
    broadcast "&a[DeathLog] &e%{_victimName}% &aoyuncusunun &c#%{_deathNum}% &anumaralı ölümü kaydedildi!" to all players where [input has permission "deathlog.notify"]

command /ölümlog <text> <integer>:
    aliases: /deathlog, /dlog
    permission: deathlog.admin.view
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1
        set {_deathNumArg} to arg-2
        set {_targetPlayer} to offline player {_targetName}

        send "&7Kontroller yapılıyor..." to player

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        if {_deathNumArg} < 1 or {_deathNumArg} > {deathcount::%{_uuid}%}:
            send "&cGeçersiz ölüm numarası! (1 ile %{deathcount::%{_uuid}%}% arasında olmalı)" to player
            stop

        send "&a%{_targetName}% adlı oyuncunun %{_deathNumArg}%. ölüm envanteri açılıyor..." to player

        set {_guiTitle} to "&8[ÖLÜM #%{_deathNumArg}%] &0%{_targetName}%"
        create a gui with virtual chest inventory with 6 rows named {_guiTitle}:
            # Ana envanter (0-35 slotları)
            loop 36 times:
                set {_slot} to loop-number - 1
                set {_item} to {death::%{_uuid}%::%{_deathNumArg}%::inventory::%{_slot}%}
                if {_item} is set:
                    make gui slot {_slot} with {_item} to be unstealable
                else:
                    make gui slot {_slot} with gray stained glass pane named "&7Boş Slot" to be unstealable

            # Zırh slotları ve offhand
            set {_helmet} to {death::%{_uuid}%::%{_deathNumArg}%::helmet}
            set {_chestplate} to {death::%{_uuid}%::%{_deathNumArg}%::chestplate}
            set {_leggings} to {death::%{_uuid}%::%{_deathNumArg}%::leggings}
            set {_boots} to {death::%{_uuid}%::%{_deathNumArg}%::boots}
            set {_offhand} to {death::%{_uuid}%::%{_deathNumArg}%::offhand}

            make gui slot 45 with {_helmet} if {_helmet} is set else with barrier named "&cKask Yok" to be unstealable
            make gui slot 46 with {_chestplate} if {_chestplate} is set else with barrier named "&cGöğüslük Yok" to be unstealable
            make gui slot 47 with {_leggings} if {_leggings} is set else with barrier named "&cPantolon Yok" to be unstealable
            make gui slot 48 with {_boots} if {_boots} is set else with barrier named "&cBot Yok" to be unstealable
            make gui slot 49 with {_offhand} if {_offhand} is set else with barrier named "&cSol El Boş" to be unstealable

            # Bilgi Paneli - Slot 52
            set {_deathTime} to {death::%{_uuid}%::%{_deathNumArg}%::time}
            set {_killerInfo} to {death::%{_uuid}%::%{_deathNumArg}%::killer}
            set {_deathLocation} to {death::%{_uuid}%::%{_deathNumArg}%::location}
            set {_victimActualName} to {death::%{_uuid}%::%{_deathNumArg}%::victim_name} ? "%{death::%{_uuid}%::%{_deathNumArg}%::victim_name}%" # Eğer kayıtlıysa kullan, yoksa hedef adı

            set {_infoItem} to paper named "&6Ölüm Bilgileri (#%{_deathNumArg}%)"
            set lore of {_infoItem} to ("&7Oyuncu: &f%{_victimActualName}%" and "&7Tarih: &f%{_deathTime}%" and "&7Katil: &f%{_killerInfo}%" and "&7Konum: &f%world of {_deathLocation}%, %x-coordinate of {_deathLocation} rounded to 0 decimal places%, %y-coordinate of {_deathLocation} rounded to 0 decimal places%, %z-coordinate of {_deathLocation} rounded to 0 decimal places%")
            make gui slot 52 with {_infoItem} to be unstealable

            # Işınlanma Butonu - Slot 53
            set {_tpItem} to ender pearl named "&aÖlüm Noktasına Işınlan"
            set lore of {_tpItem} to ("&7Tıkla: %{_victimActualName}% adlı oyuncunun" and "&7%{_deathNumArg}%. ölüm noktasına ışınlan.")
            make gui slot 53 with {_tpItem} to run function teleport_to_location(player, {_deathLocation}, "&a%{_victimActualName}% adlı oyuncunun ölüm noktasına ışınlandınız!")

        open last created gui to player

command /ölümlogliste [<text>]:
    aliases: /deathloglist, /dlist
    permission: deathlog.admin.list
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        set {_targetPlayer} to offline player {_targetName}

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        send "&6=== %{_targetName}% Adlı Oyuncunun Ölüm Listesi (%{deathcount::%{_uuid}%} kayıt) ===" to player
        loop {deathcount::%{_uuid}%} times:
            set {_num} to loop-number
            set {_time} to {death::%{_uuid}%::%{_num}%::time}
            set {_killer} to {death::%{_uuid}%::%{_num}%::killer}
            send json "&7#%{_num}% &8| &f%{_time}% &8| &cKatil: &e%{_killer}% &7[&aDetaylar İçin Tıkla&7]" tooltip "&e%{_targetName}% adlı oyuncunun %{_num}%. ölümü%nl%&7Tarih: &f%{_time}%%nl%&7Katil: &f%{_killer}%" run command "/ölümlog %{_targetName}% %{_num}%" to player
        send "&6Detaylı envanter ve ışınlanma için yukarıdaki kayıtlara tıklayın veya &e/ölümlog %{_targetName}% <numara> &6komutunu kullanın." to player

command /sonölüm [<text>]:
    aliases: /lastdeath, /ld
    permission: deathlog.admin.last
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        set {_targetPlayer} to offline player {_targetName}

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        if {lastdeath::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0: # deathcount kontrolü de eklendi
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        execute player command "ölümlog %{_targetName}% %{lastdeath::%{_uuid}%}%"

on rightclick with compass:
    if name of player's tool contains "&4Ölüm #":
        set {_rawName} to uncolored name of player's tool # Renk kodlarını temizle
        replace "Ölüm #" with "" in {_rawName} # "Ölüm #" metnini kaldır
        set {_deathNum} to {_rawName} parsed as integer

        if {_deathNum} is not set:
            send "&cBu pusulada geçerli bir ölüm numarası bulunamadı." to player
            stop

        set {_uuid} to player's uuid
        if {death::%{_uuid}%::%{_deathNum}%::location} is set:
            set {_targetLocation} to {death::%{_uuid}%::%{_deathNum}%::location}
            run function teleport_to_location(player, {_targetLocation}, "&aKendi ölüm noktanıza ışınlandınız!")
        else:
            send "&cBu ölüm kaydı (%{_deathNum}%) bulunamadı veya konumu hatalı!" to player

# Debug komutu
command /ölümtest [<text>]:
    permission: deathlog.admin.debug
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        set {_targetPlayer} to offline player {_targetName}
        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        send "&6Debug Bilgileri (%{_targetName}% - %{_uuid}%):" to player
        send "&7Ölüm Sayısı Değişkeni: &e{deathcount::%{_uuid}%} &7(Değer: %{deathcount::%{_uuid}%}%)"
        send "&7Son Ölüm Numarası Değişkeni: &e{lastdeath::%{_uuid}%} &7(Değer: %{lastdeath::%{_uuid}%}%)"
        if {deathcount::%{_uuid}%} is set and {deathcount::%{_uuid}%} > 0:
            send "&bİlk Ölüm Kaydı (1. ölüm):"
            send "&7  Kurban Adı: &f%{death::%{_uuid}%::1::victim_name}%"
            send "&7  Zaman: &f%{death::%{_uuid}%::1::time}%"
            send "&7  Katil: &f%{death::%{_uuid}%::1::killer}%"
            send "&7  Konum: &f%{death::%{_uuid}%::1::location}%"
            if {deathcount::%{_uuid}%} > 1:
                set {_last} to {deathcount::%{_uuid}%}
                send "&bSon Ölüm Kaydı (%{_last}%. ölüm):"
                send "&7  Kurban Adı: &f%{death::%{_uuid}%::%{_last}%::victim_name}%"
                send "&7  Zaman: &f%{death::%{_uuid}%::%{_last}%::time}%"
                send "&7  Katil: &f%{death::%{_uuid}%::%{_last}%::killer}%"
                send "&7  Konum: &f%{death::%{_uuid}%::%{_last}%::location}%"
        else:
            send "&7Bu oyuncu için hiç ölüm kaydı bulunmuyor."
        send "&7Tüm ölüm verileri için: &e{death::%{_uuid}%::*}" to player

# Yardımcı Fonksiyonlar
function teleport_to_location(p: player, loc: location, successMessage: text):
    if {_loc} is set:
        # GUI açıksa kapat (isteğe bağlı, teleport zaten kapatır genelde)
        # close {_p}'s inventory
        teleport {_p} to {_loc}
        send {_successMessage} to {_p}
    else:
        send "&cIşınlanacak konum bulunamadı veya geçersiz." to {_p}

bu şekilde bir dener misin
 
Kod:
options:
    version: 2.6

on load:
    delete {death::*}
    delete {deathcount::*}
    delete {lastdeath::*}
    send "[DeathLog] Sistem yüklendi!" to console

on death of player:
    set {_uuid} to victim's uuid
    set {_victimName} to victim's name
    set {_killer} to "Doğal Sebepler"

    if attacker is a player:
        set {_killer} to attacker's name
    else if attacker is set:
        if attacker has a custom name:
            set {_killer} to attacker's custom name
        else:
            set {_killer} to type of attacker # Varlığın türünü alır (örn: Zombi)

    # Ölüm sayacını güncelle
    add 1 to {deathcount::%{_uuid}%}
    set {_deathNum} to {deathcount::%{_uuid}%}
    set {lastdeath::%{_uuid}%} to {_deathNum}

    # Envanter verilerini kaydet
    # UYARI: Skript'in varsayılan değişken sistemi karmaşık eşya verilerini (büyüler, NBT) kalıcı olarak düzgün saklayamayabilir.
    loop slots 0 to 35 in victim's inventory: # Ana envanter
        if loop-item is set:
            set {death::%{_uuid}%::%{_deathNum}%::inventory::%loop-slot%} to loop-item
    set {death::%{_uuid}%::%{_deathNum}%::helmet} to victim's helmet
    set {death::%{_uuid}%::%{_deathNum}%::chestplate} to victim's chestplate
    set {death::%{_uuid}%::%{_deathNum}%::leggings} to victim's leggings
    set {death::%{_uuid}%::%{_deathNum}%::boots} to victim's boots
    set {death::%{_uuid}%::%{_deathNum}%::offhand} to victim's offhand item

    # Diğer bilgileri kaydet
    set {death::%{_uuid}%::%{_deathNum}%::location} to victim's location
    set {death::%{_uuid}%::%{_deathNum}%::time} to now formatted as "dd/MM/yyyy HH:mm:ss"
    set {death::%{_uuid}%::%{_deathNum}%::killer} to {_killer}
    set {death::%{_uuid}%::%{_deathNum}%::victim_name} to {_victimName} # Ölüm anındaki oyuncu adını kaydet

    # Bilgi pusulası oluştur ve ver
    set {_compass} to compass named "&4Ölüm #%{_deathNum}%"
    set lore of {_compass} to ("&7Tarih: %{death::%{_uuid}%::%{_deathNum}%::time}%" and "&7Katil: %{_killer}%" and "&7Konum: %world of victim's location%, %x-coordinate of victim's location rounded to 0 decimal places%, %y-coordinate of victim's location rounded to 0 decimal places%, %z-coordinate of victim's location rounded to 0 decimal places%" and "" and "&eSağ Tıkla: Işınlan")
    give {_compass} to victim

    send action bar "&cÖlüm kaydedildi! (#%{_deathNum}%)" to victim
    broadcast "&a[DeathLog] &e%{_victimName}% &aoyuncusunun &c#%{_deathNum}% &anumaralı ölümü kaydedildi!" to all players where [input has permission "deathlog.notify"]

command /ölümlog <text> <integer>:
    aliases: /deathlog, /dlog
    permission: deathlog.admin.view
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1
        set {_deathNumArg} to arg-2
        set {_targetPlayer} to offline player {_targetName}

        send "&7Kontroller yapılıyor..." to player

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        if {_deathNumArg} < 1 or {_deathNumArg} > {deathcount::%{_uuid}%}:
            send "&cGeçersiz ölüm numarası! (1 ile %{deathcount::%{_uuid}%}% arasında olmalı)" to player
            stop

        send "&a%{_targetName}% adlı oyuncunun %{_deathNumArg}%. ölüm envanteri açılıyor..." to player

        set {_guiTitle} to "&8[ÖLÜM #%{_deathNumArg}%] &0%{_targetName}%"
        create a gui with virtual chest inventory with 6 rows named {_guiTitle}:
            # Ana envanter (0-35 slotları)
            loop 36 times:
                set {_slot} to loop-number - 1
                set {_item} to {death::%{_uuid}%::%{_deathNumArg}%::inventory::%{_slot}%}
                if {_item} is set:
                    make gui slot {_slot} with {_item} to be unstealable
                else:
                    make gui slot {_slot} with gray stained glass pane named "&7Boş Slot" to be unstealable

            # Zırh slotları ve offhand
            set {_helmet} to {death::%{_uuid}%::%{_deathNumArg}%::helmet}
            set {_chestplate} to {death::%{_uuid}%::%{_deathNumArg}%::chestplate}
            set {_leggings} to {death::%{_uuid}%::%{_deathNumArg}%::leggings}
            set {_boots} to {death::%{_uuid}%::%{_deathNumArg}%::boots}
            set {_offhand} to {death::%{_uuid}%::%{_deathNumArg}%::offhand}

            make gui slot 45 with {_helmet} if {_helmet} is set else with barrier named "&cKask Yok" to be unstealable
            make gui slot 46 with {_chestplate} if {_chestplate} is set else with barrier named "&cGöğüslük Yok" to be unstealable
            make gui slot 47 with {_leggings} if {_leggings} is set else with barrier named "&cPantolon Yok" to be unstealable
            make gui slot 48 with {_boots} if {_boots} is set else with barrier named "&cBot Yok" to be unstealable
            make gui slot 49 with {_offhand} if {_offhand} is set else with barrier named "&cSol El Boş" to be unstealable

            # Bilgi Paneli - Slot 52
            set {_deathTime} to {death::%{_uuid}%::%{_deathNumArg}%::time}
            set {_killerInfo} to {death::%{_uuid}%::%{_deathNumArg}%::killer}
            set {_deathLocation} to {death::%{_uuid}%::%{_deathNumArg}%::location}
            set {_victimActualName} to {death::%{_uuid}%::%{_deathNumArg}%::victim_name} ? "%{death::%{_uuid}%::%{_deathNumArg}%::victim_name}%" # Eğer kayıtlıysa kullan, yoksa hedef adı

            set {_infoItem} to paper named "&6Ölüm Bilgileri (#%{_deathNumArg}%)"
            set lore of {_infoItem} to ("&7Oyuncu: &f%{_victimActualName}%" and "&7Tarih: &f%{_deathTime}%" and "&7Katil: &f%{_killerInfo}%" and "&7Konum: &f%world of {_deathLocation}%, %x-coordinate of {_deathLocation} rounded to 0 decimal places%, %y-coordinate of {_deathLocation} rounded to 0 decimal places%, %z-coordinate of {_deathLocation} rounded to 0 decimal places%")
            make gui slot 52 with {_infoItem} to be unstealable

            # Işınlanma Butonu - Slot 53
            set {_tpItem} to ender pearl named "&aÖlüm Noktasına Işınlan"
            set lore of {_tpItem} to ("&7Tıkla: %{_victimActualName}% adlı oyuncunun" and "&7%{_deathNumArg}%. ölüm noktasına ışınlan.")
            make gui slot 53 with {_tpItem} to run function teleport_to_location(player, {_deathLocation}, "&a%{_victimActualName}% adlı oyuncunun ölüm noktasına ışınlandınız!")

        open last created gui to player

command /ölümlogliste [<text>]:
    aliases: /deathloglist, /dlist
    permission: deathlog.admin.list
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        set {_targetPlayer} to offline player {_targetName}

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        send "&6=== %{_targetName}% Adlı Oyuncunun Ölüm Listesi (%{deathcount::%{_uuid}%} kayıt) ===" to player
        loop {deathcount::%{_uuid}%} times:
            set {_num} to loop-number
            set {_time} to {death::%{_uuid}%::%{_num}%::time}
            set {_killer} to {death::%{_uuid}%::%{_num}%::killer}
            send json "&7#%{_num}% &8| &f%{_time}% &8| &cKatil: &e%{_killer}% &7[&aDetaylar İçin Tıkla&7]" tooltip "&e%{_targetName}% adlı oyuncunun %{_num}%. ölümü%nl%&7Tarih: &f%{_time}%%nl%&7Katil: &f%{_killer}%" run command "/ölümlog %{_targetName}% %{_num}%" to player
        send "&6Detaylı envanter ve ışınlanma için yukarıdaki kayıtlara tıklayın veya &e/ölümlog %{_targetName}% <numara> &6komutunu kullanın." to player

command /sonölüm [<text>]:
    aliases: /lastdeath, /ld
    permission: deathlog.admin.last
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        set {_targetPlayer} to offline player {_targetName}

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        if {lastdeath::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0: # deathcount kontrolü de eklendi
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        execute player command "ölümlog %{_targetName}% %{lastdeath::%{_uuid}%}%"

on rightclick with compass:
    if name of player's tool contains "&4Ölüm #":
        set {_rawName} to uncolored name of player's tool # Renk kodlarını temizle
        replace "Ölüm #" with "" in {_rawName} # "Ölüm #" metnini kaldır
        set {_deathNum} to {_rawName} parsed as integer

        if {_deathNum} is not set:
            send "&cBu pusulada geçerli bir ölüm numarası bulunamadı." to player
            stop

        set {_uuid} to player's uuid
        if {death::%{_uuid}%::%{_deathNum}%::location} is set:
            set {_targetLocation} to {death::%{_uuid}%::%{_deathNum}%::location}
            run function teleport_to_location(player, {_targetLocation}, "&aKendi ölüm noktanıza ışınlandınız!")
        else:
            send "&cBu ölüm kaydı (%{_deathNum}%) bulunamadı veya konumu hatalı!" to player

# Debug komutu
command /ölümtest [<text>]:
    permission: deathlog.admin.debug
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        set {_targetPlayer} to offline player {_targetName}
        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        send "&6Debug Bilgileri (%{_targetName}% - %{_uuid}%):" to player
        send "&7Ölüm Sayısı Değişkeni: &e{deathcount::%{_uuid}%} &7(Değer: %{deathcount::%{_uuid}%}%)"
        send "&7Son Ölüm Numarası Değişkeni: &e{lastdeath::%{_uuid}%} &7(Değer: %{lastdeath::%{_uuid}%}%)"
        if {deathcount::%{_uuid}%} is set and {deathcount::%{_uuid}%} > 0:
            send "&bİlk Ölüm Kaydı (1. ölüm):"
            send "&7  Kurban Adı: &f%{death::%{_uuid}%::1::victim_name}%"
            send "&7  Zaman: &f%{death::%{_uuid}%::1::time}%"
            send "&7  Katil: &f%{death::%{_uuid}%::1::killer}%"
            send "&7  Konum: &f%{death::%{_uuid}%::1::location}%"
            if {deathcount::%{_uuid}%} > 1:
                set {_last} to {deathcount::%{_uuid}%}
                send "&bSon Ölüm Kaydı (%{_last}%. ölüm):"
                send "&7  Kurban Adı: &f%{death::%{_uuid}%::%{_last}%::victim_name}%"
                send "&7  Zaman: &f%{death::%{_uuid}%::%{_last}%::time}%"
                send "&7  Katil: &f%{death::%{_uuid}%::%{_last}%::killer}%"
                send "&7  Konum: &f%{death::%{_uuid}%::%{_last}%::location}%"
        else:
            send "&7Bu oyuncu için hiç ölüm kaydı bulunmuyor."
        send "&7Tüm ölüm verileri için: &e{death::%{_uuid}%::*}" to player

# Yardımcı Fonksiyonlar
function teleport_to_location(p: player, loc: location, successMessage: text):
    if {_loc} is set:
        # GUI açıksa kapat (isteğe bağlı, teleport zaten kapatır genelde)
        # close {_p}'s inventory
        teleport {_p} to {_loc}
        send {_successMessage} to {_p}
    else:
        send "&cIşınlanacak konum bulunamadı veya geçersiz." to {_p}

bu şekilde bir dener misin
YAML:
[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 18: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this condition: 'attacker has a custom name'

[20:25:52] [Server thread/INFO]:     Line: if attacker has a custom name:

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 20: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     'else' has to be placed just after another 'if' or 'else if' section

[20:25:52] [Server thread/INFO]:     Line: else:

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 30: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this loop: 'slots 0 to 35 in victim's inventory'

[20:25:52] [Server thread/INFO]:     Line: loop slots 0 to 35 in victim's inventory:# Ana envanter

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 46: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[20:25:52] [Server thread/INFO]:     Line: set {_compass} to compass named "&4Íl³m#%{_deathNum}%"

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 47: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this condition/effect: set lore of {_compass} to ("&7Tarih: %{death::%{_uuid}%::%{_deathNum}%::time}%" and "&7Katil: %{_killer}%" and "&7Konum: %world of victim's location%, %x-coordinate of victim's location rounded to 0 decimal places%, %y-coordinate of victim's location rounded to 0 decimal places%, %z-coordinate of victim's location rounded to 0 decimal places%" and "" and "&eSa T²kla: I■²nlan")

[20:25:52] [Server thread/INFO]:     Line: set lore of {_compass} to ("&7Tarih: %{death::%{_uuid}%::%{_deathNum}%::time}%" and "&7Katil: %{_killer}%" and "&7Konum: %world of victim's location%, %x-coordinate of victim's location rounded to 0 decimal places%, %y-coordinate of victim's location rounded to 0 decimal places%, %z-coordinate of victim's location rounded to 0 decimal places%" and "" and "&eSa T²kla: I■²nlan")

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 50: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[20:25:52] [Server thread/INFO]:     Line: send action bar "&cÍl³m kaydedildi! (#%{_deathNum}%)" to victim

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 51: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[20:25:52] [Server thread/INFO]:     Line: broadcast "&a[DeathLog] &e%{_victimName}% &aoyuncusunun &c#%{_deathNum}% &anumaral² ÷l³m³ kaydedildi!" to all players where [input has permission "deathlog.notify"]

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 61: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this expression: 'offline player {_targetName}'

[20:25:52] [Server thread/INFO]:     Line: set {_targetPlayer} to offline player {_targetName}

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 70: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this condition: '{deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0'

[20:25:52] [Server thread/INFO]:     Line: if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 74: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this condition: '{_deathNumArg} < 1 or {_deathNumArg} > {deathcount::%{_uuid}%}'

[20:25:52] [Server thread/INFO]:     Line: if {_deathNumArg} < 1 or {_deathNumArg} > {deathcount::%{_uuid}%}:

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 80: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[20:25:52] [Server thread/INFO]:     Line: set {_guiTitle} to "&8[ÍL▄M#%{_deathNumArg}%] &0%{_targetName}%"

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 81: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this section: create a gui with virtual chest inventory with 6 rows named {_guiTitle}

[20:25:52] [Server thread/INFO]:     Line: create a gui with virtual chest inventory with 6 rows named {_guiTitle}:

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 119: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this condition/effect: open last created gui to player

[20:25:52] [Server thread/INFO]:     Line: open last created gui to player

[20:25:52] [Server thread/INFO]:

[20:25:52] [Server thread/INFO]: [Skript] Line 128: (olumlog.sk)

[20:25:52] [Server thread/INFO]:     Can't understand this expression: 'offline player {_targetName}'

[20:25:52] [Server thread/INFO]:     Line: set {_targetPlayer} to offline player {_targetName}

[20:25:52] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 135: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Can't understand this condition: '{deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0'

[20:25:53] [Server thread/INFO]:     Line: if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 139: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket.

[20:25:53] [Server thread/INFO]:     Line: send "&6=== %{_targetName}% Adl² Oyuncunun Íl³m Listesi (%{deathcount::%{_uuid}%} kay²t) ===" to player

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 144: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[20:25:53] [Server thread/INFO]:     Line: send json "&7#%{_num}% &8| &f%{_time}% &8| &cKatil: &e%{_killer}% &7[&aDetaylar ¦in T²kla&7]" tooltip "&e%{_targetName}% adl² oyuncunun %{_num}%. ÷l³m³%nl%&7Tarih: &f%{_time}%%nl%&7Katil: &f%{_killer}%" run command "/÷l³mlog %{_targetName}% %{_num}%" to player

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 154: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Can't understand this expression: 'offline player {_targetName}'

[20:25:53] [Server thread/INFO]:     Line: set {_targetPlayer} to offline player {_targetName}

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 161: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Can't understand this condition: '{lastdeath::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0'

[20:25:53] [Server thread/INFO]:     Line: if {lastdeath::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:# deathcount kontrol³ de eklendi

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 168: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

[20:25:53] [Server thread/INFO]:     Line: if name of player's tool contains "&4Íl³m#":

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 189: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Can't understand this expression: 'offline player {_targetName}'

[20:25:53] [Server thread/INFO]:     Line: set {_targetPlayer} to offline player {_targetName}

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 198: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     Can't understand this condition: '{deathcount::%{_uuid}%} is set and {deathcount::%{_uuid}%} > 0'

[20:25:53] [Server thread/INFO]:     Line: if {deathcount::%{_uuid}%} is set and {deathcount::%{_uuid}%} > 0:

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [Skript] Line 211: (olumlog.sk)

[20:25:53] [Server thread/INFO]:     'else' has to be placed just after another 'if' or 'else if' section

[20:25:53] [Server thread/INFO]:     Line: else:

[20:25:53] [Server thread/INFO]:

[20:25:53] [Server thread/INFO]: [DeathLog] Sistem y³klendi!

[20:25:53] [Server thread/INFO]: [Skript] Loaded 4 scripts with a total of 26 triggers and 11 commands in 1.64 seconds

[20:25:53] [Server thread/INFO]: [Skript] Finished loading.

yine bu hatayı veriyor ve aynısı oluyor ama bu sefer yazı gelmiyor hiç birşey olmuyor
 
Moderatör tarafından düzenlendi:
Sunucu sürümün nedir ?
 
1.18.2 sürümüm
 
Skript-GUI eklentisini kurun ardından şunu tekrar deneyin olmaz ise direkt plugin önerisinde bulunayım Ayrıca UTF-8 olarak kayıt edin lütfen

Kod:
options:
    version: 2.6 # Skript versiyonunuzla uyumlu olduğundan emin olun

on load:
    delete {death::*}
    delete {deathcount::*}
    delete {lastdeath::*}
    send "[DeathLog] Sistem yüklendi!" to console

on death of player:
    set {_uuid} to victim's uuid
    set {_victimName} to victim's name
    set {_killer} to "Doğal Sebepler"

    if attacker is set: # Önce saldıranın var olup olmadığını kontrol et
        if attacker is a player:
            set {_killer} to attacker's name
        else: # Oyuncu değilse, mob veya başka bir entity
            if attacker's custom name is set: # Özel adı var mı kontrol et (Line 18 düzeltmesi)
                set {_killer} to attacker's custom name
            else:
                set {_killer} to type of attacker
    # "else:" (Line 20) hatası yukarıdaki if bloğunun düzgün çalışmasıyla çözülmeli.

    # Ölüm sayacını güncelle
    add 1 to {deathcount::%{_uuid}%}
    set {_deathNum} to {deathcount::%{_uuid}%}
    set {lastdeath::%{_uuid}%} to {_deathNum}

    # Envanter verilerini kaydet
    # Line 30 düzeltmesi: loop integers from X to Y
    loop integers from 0 to 35: # Ana envanter slotları (0-35)
        set {_slotIndex} to loop-value
        if slot {_slotIndex} of victim's inventory is set:
            set {death::%{_uuid}%::%{_deathNum}%::inventory::%{_slotIndex}%} to slot {_slotIndex} of victim's inventory
    set {death::%{_uuid}%::%{_deathNum}%::helmet} to victim's helmet
    set {death::%{_uuid}%::%{_deathNum}%::chestplate} to victim's chestplate
    set {death::%{_uuid}%::%{_deathNum}%::leggings} to victim's leggings
    set {death::%{_uuid}%::%{_deathNum}%::boots} to victim's boots
    set {death::%{_uuid}%::%{_deathNum}%::offhand} to victim's offhand item

    # Diğer bilgileri kaydet
    set {death::%{_uuid}%::%{_deathNum}%::location} to victim's location
    set {death::%{_uuid}%::%{_deathNum}%::time} to now formatted as "dd/MM/yyyy HH:mm:ss"
    set {death::%{_uuid}%::%{_deathNum}%::killer} to {_killer}
    set {death::%{_uuid}%::%{_deathNum}%::victim_name} to {_victimName}

    # Bilgi pusulası oluştur ve ver
    # Line 46 & 47: Bu satırların hatası büyük ihtimalle UTF-8 kaynaklı. Kodlama düzgünse çalışmalı.
    set {_compass} to compass named "&4Ölüm #%{_deathNum}%"
    set lore of {_compass} to ("&7Tarih: %{death::%{_uuid}%::%{_deathNum}%::time}%" and "&7Katil: %{_killer}%" and "&7Konum: %world of victim's location%, %x-coordinate of victim's location rounded to 0 decimal places%, %y-coordinate of victim's location rounded to 0 decimal places%, %z-coordinate of victim's location rounded to 0 decimal places%" and "" and "&eSağ Tıkla: Işınlan")
    give {_compass} to victim

    # Line 50 & 51: Bu satırların hatası büyük ihtimalle UTF-8 kaynaklı.
    send action bar "&cÖlüm kaydedildi! (#%{_deathNum}%)" to victim
    broadcast "&a[DeathLog] &e%{_victimName}% &aoyuncusunun &c#%{_deathNum}% &anumaralı ölümü kaydedildi!" to all players where [input has permission "deathlog.notify"]

command /ölümlog <text> <integer>:
    aliases: /deathlog, /dlog
    permission: deathlog.admin.view
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1
        set {_deathNumArg} to arg-2
        # Line 61: 'offline player' ifadesi standart Skript'tir. Eğer Skript sürümünüz çok eski değilse
        # veya Skript kurulumunda bir sorun yoksa çalışmalıdır. UTF-8 sorunu dolaylı etkiliyor olabilir.
        set {_targetPlayer} to offline player {_targetName}

        send "&7Kontroller yapılıyor..." to player

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        # Line 70 & 74: Bu koşulların hatası büyük ihtimalle UTF-8 veya yukarıdaki {_uuid} atamasının başarısız olmasından kaynaklı.
        if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        if {_deathNumArg} < 1 or {_deathNumArg} > {deathcount::%{_uuid}%}:
            send "&cGeçersiz ölüm numarası! (1 ile %{deathcount::%{_uuid}%}% arasında olmalı)" to player
            stop

        send "&a%{_targetName}% adlı oyuncunun %{_deathNumArg}%. ölüm envanteri açılıyor..." to player

        # Line 80 & 81 & 119: GUI başlığı ve oluşturma hataları UTF-8 ve GUI eklentisi sorunlarından kaynaklanır.
        set {_guiTitle} to "&8[ÖLÜM #%{_deathNumArg}%] &0%{_targetName}%"
        create a gui with virtual chest inventory with 6 rows named {_guiTitle}: # GUI EKLENTİSİ GEREKLİ!
            loop integers from 0 to 35: # Ana envanter
                set {_slotIndex} to loop-value
                set {_item} to {death::%{_uuid}%::%{_deathNumArg}%::inventory::%{_slotIndex}%}
                if {_item} is set:
                    make gui slot {_slotIndex} with {_item} to be unstealable
                else:
                    make gui slot {_slotIndex} with gray stained glass pane named "&7Boş Slot" to be unstealable

            set {_helmet} to {death::%{_uuid}%::%{_deathNumArg}%::helmet}
            set {_chestplate} to {death::%{_uuid}%::%{_deathNumArg}%::chestplate}
            set {_leggings} to {death::%{_uuid}%::%{_deathNumArg}%::leggings}
            set {_boots} to {death::%{_uuid}%::%{_deathNumArg}%::boots}
            set {_offhand} to {death::%{_uuid}%::%{_deathNumArg}%::offhand}

            make gui slot 45 with {_helmet} if {_helmet} is set else with barrier named "&cKask Yok" to be unstealable
            make gui slot 46 with {_chestplate} if {_chestplate} is set else with barrier named "&cGöğüslük Yok" to be unstealable
            make gui slot 47 with {_leggings} if {_leggings} is set else with barrier named "&cPantolon Yok" to be unstealable
            make gui slot 48 with {_boots} if {_boots} is set else with barrier named "&cBot Yok" to be unstealable
            make gui slot 49 with {_offhand} if {_offhand} is set else with barrier named "&cSol El Boş" to be unstealable

            set {_deathTime} to {death::%{_uuid}%::%{_deathNumArg}%::time}
            set {_killerInfo} to {death::%{_uuid}%::%{_deathNumArg}%::killer}
            set {_deathLocation} to {death::%{_uuid}%::%{_deathNumArg}%::location}
            set {_victimActualName} to {death::%{_uuid}%::%{_deathNumArg}%::victim_name} ? "%{death::%{_uuid}%::%{_deathNumArg}%::victim_name}%"

            set {_infoItem} to paper named "&6Ölüm Bilgileri (#%{_deathNumArg}%)"
            set lore of {_infoItem} to ("&7Oyuncu: &f%{_victimActualName}%" and "&7Tarih: &f%{_deathTime}%" and "&7Katil: &f%{_killerInfo}%" and "&7Konum: &f%world of {_deathLocation}%, %x-coordinate of {_deathLocation} rounded to 0 decimal places%, %y-coordinate of {_deathLocation} rounded to 0 decimal places%, %z-coordinate of {_deathLocation} rounded to 0 decimal places%")
            make gui slot 52 with {_infoItem} to be unstealable

            set {_tpItem} to ender pearl named "&aÖlüm Noktasına Işınlan"
            set lore of {_tpItem} to ("&7Tıkla: %{_victimActualName}% adlı oyuncunun" and "&7%{_deathNumArg}%. ölüm noktasına ışınlan.")
            make gui slot 53 with {_tpItem} to run function teleport_to_location(player, {_deathLocation}, "&a%{_victimActualName}% adlı oyuncunun ölüm noktasına ışınlandınız!")

        open last created gui to player # GUI EKLENTİSİ GEREKLİ!

command /ölümlogliste [<text>]:
    aliases: /deathloglist, /dlist
    permission: deathlog.admin.list
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        # Line 128: 'offline player' ifadesi
        set {_targetPlayer} to offline player {_targetName}

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        # Line 135: Koşul hatası
        if {deathcount::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        # Line 139 & 144: UTF-8 sorunları
        send "&6=== %{_targetName}% Adlı Oyuncunun Ölüm Listesi (%{deathcount::%{_uuid}%} kayıt) ===" to player
        loop {deathcount::%{_uuid}%} times:
            set {_num} to loop-number
            set {_time} to {death::%{_uuid}%::%{_num}%::time}
            set {_killer} to {death::%{_uuid}%::%{_num}%::killer}
            send json "&7#%{_num}% &8| &f%{_time}% &8| &cKatil: &e%{_killer}% &7[&aDetaylar İçin Tıkla&7]" tooltip "&e%{_targetName}% adlı oyuncunun %{_num}%. ölümü%nl%&7Tarih: &f%{_time}%%nl%&7Katil: &f%{_killer}%" run command "/ölümlog %{_targetName}% %{_num}%" to player
        send "&6Detaylı envanter ve ışınlanma için yukarıdaki kayıtlara tıklayın veya &e/ölümlog %{_targetName}% <numara> &6komutunu kullanın." to player

command /sonölüm [<text>]:
    aliases: /lastdeath, /ld
    permission: deathlog.admin.last
    permission message: &cBu komutu kullanmak için yetkiniz yok.
    executable by: players
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        # Line 154: 'offline player' ifadesi
        set {_targetPlayer} to offline player {_targetName}

        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı veya sunucuda hiç oynamamış." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        # Line 161: Koşul hatası
        if {lastdeath::%{_uuid}%} is not set or {deathcount::%{_uuid}%} is 0:
            send "&c%{_targetName}% adlı oyuncunun hiç ölüm kaydı yok!" to player
            stop

        execute player command "ölümlog %{_targetName}% %{lastdeath::%{_uuid}%}%"

on rightclick with compass:
    # Line 168: UTF-8 sorunu
    if name of player's tool contains "&4Ölüm #":
        set {_rawName} to uncolored name of player's tool
        replace "Ölüm #" with "" in {_rawName}
        set {_deathNum} to {_rawName} parsed as integer

        if {_deathNum} is not set:
            send "&cBu pusulada geçerli bir ölüm numarası bulunamadı." to player
            stop

        set {_uuid} to player's uuid
        if {death::%{_uuid}%::%{_deathNum}%::location} is set:
            set {_targetLocation} to {death::%{_uuid}%::%{_deathNum}%::location}
            run function teleport_to_location(player, {_targetLocation}, "&aKendi ölüm noktanıza ışınlandınız!")
        else:
            send "&cBu ölüm kaydı (%{_deathNum}%) bulunamadı veya konumu hatalı!" to player

command /ölümtest [<text>]:
    permission: deathlog.admin.debug
    trigger:
        set {_targetName} to arg-1 if arg-1 is set else player's name
        # Line 189: 'offline player' ifadesi
        set {_targetPlayer} to offline player {_targetName}
        if {_targetPlayer} is not set:
            send "&c'%{_targetName}%' adlı oyuncu bulunamadı." to player
            stop
        set {_uuid} to uuid of {_targetPlayer}

        send "&6Debug Bilgileri (%{_targetName}% - %{_uuid}%):" to player
        send "&7Ölüm Sayısı Değişkeni: &e{deathcount::%{_uuid}%} &7(Değer: %{deathcount::%{_uuid}%}%)"
        send "&7Son Ölüm Numarası Değişkeni: &e{lastdeath::%{_uuid}%} &7(Değer: %{lastdeath::%{_uuid}%}%)"
        # Line 198 & 211: Koşul ve else hataları
        if {deathcount::%{_uuid}%} is set and {deathcount::%{_uuid}%} > 0:
            send "&bİlk Ölüm Kaydı (1. ölüm):"
            send "&7  Kurban Adı: &f%{death::%{_uuid}%::1::victim_name}%"
            send "&7  Zaman: &f%{death::%{_uuid}%::1::time}%"
            send "&7  Katil: &f%{death::%{_uuid}%::1::killer}%"
            send "&7  Konum: &f%{death::%{_uuid}%::1::location}%"
            if {deathcount::%{_uuid}%} > 1:
                set {_last} to {deathcount::%{_uuid}%}
                send "&bSon Ölüm Kaydı (%{_last}%. ölüm):"
                send "&7  Kurban Adı: &f%{death::%{_uuid}%::%{_last}%::victim_name}%"
                send "&7  Zaman: &f%{death::%{_uuid}%::%{_last}%::time}%"
                send "&7  Katil: &f%{death::%{_uuid}%::%{_last}%::killer}%"
                send "&7  Konum: &f%{death::%{_uuid}%::%{_last}%::location}%"
        else:
            send "&7Bu oyuncu için hiç ölüm kaydı bulunmuyor."
        send "&7Tüm ölüm verileri için (dikkat, uzun olabilir): &e{death::%{_uuid}%::*}" to player

function teleport_to_location(p: player, loc: location, successMessage: text):
    if {_loc} is set:
        teleport {_p} to {_loc}
        send {_successMessage} to {_p}
    else:
        send "&cIşınlanacak konum bulunamadı veya geçersiz." to {_p}
 
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