[ÇÖZÜLDÜ] Sanal Coin Sisteminde Oluşan Hata

Exkaar

YASAKLANDI
Mesajlar
613
En iyi cevaplar
35
Beğeniler
566
Puanları
1,905
Buyrun temize çektim, hatasızdır.
JavaScript:
options:
    p: &e&lCoin &7>
    kiriktasadet: 256
    menuismi: &cOld Coin Menüsü

variables:
    {coin::%player%} = 0
    {kirilankiriktas::%player%} = 0
    {oldurulen::%player%} = 0

command /coinver [<offline player>] [<number>]:
    permission: coinver.admin
    permission message: Bunu yapmak için yeterli yetkiniz yok!
    trigger:
        if arg 1 isn't set:
            send "{@p} &c/coinver &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 2 isn't set:
            send "{@p} &c/coinver &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 1 is set:
            add arg 2 to {coin::%arg 1%}
            send "{@p} &a%arg 1% &7adlı oyuncuya &e%arg 2% &7coin verdin!" to player
            send "{@p} &bYetkililerden birisi sana &e%arg 2% &bcoin verdi!" to arg 1

command /coinal [<offline player>] [<number>]:
    permission: coinal.admin
    permission message: Bunu yapmak için yeterli yetkiniz yok!
    trigger:
        if arg 1 isn't set:
            send "{@p} &c/coinal &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 2 isn't set:
            send "{@p} &c/coinal &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 1 is set:
            remove arg 2 from {coin::%arg 1%}
            send "{@p} &a%arg 1% &7adlı oyuncudan &e%arg 2% &7coin aldın!" to player
            send "{@p} &bYetkililerden birisi senden &e%arg 2% &bcoin aldın!" to arg 1

on break of Cobblestone:
    add 1 to {kirilankiriktas::%player%}
    if {kirilankiriktas::%player%} is greater than or equal to 256:
        add 0.5 to {coin::%player%}
        set {kirilankiriktas::%player%} to 0
        remove {@kiriktasadet} Cobblestone from player
        send "{@p} &6256 adet &cKırıktaş &e0.5 &6Old&cCoine Dönüştürüldü!!" to player

on death:
    if attacker is a player:
        if victim is a player:
            add 1 to {oldurulen::%player%}
            if {oldurulen::%attacker%} is greater than or equal to 10:
                add 1 to {coin::%attacker%}
                set {oldurulen::%attacker%} to 0
                send "{@p} &610 kişi öldürdüğün için &e1 &6Old&cCoin Kazandın!" to attacker

command /oldcoin:
    trigger:
        send "&6Old&cCoinin &7&l>> &a%{coin::%player%}%"

command /coinsp:
    trigger:
        open chest with 1 rows named "{@menuismi}" to player
        format slot 0 of player with spawner named "&4Zombi SP &8(&a1 Coin&8)" to close then run [make player execute "coinmenu Kazma"]

command /coinmenu [<text>]:
    permission: coin.menu
    permission message: Bunu yapmak için yeterli yetkiniz yok!
    trigger:
        if arg 1 isn't set:
            send "{@p} &c/coinmenu &7<&3Almak İstediğin Eşyanın İsmi7>"
        if arg 1 is "Elmas":
            if {coin::%player%} is greater than or equal to 1:
                remove 1 from {coin::%player%}
                give 64 diamond to player
            else:
                send "&7>> &cYeterli Coinin Bulunmamakta!"
        if arg 1 is "Kazma":
            if {coin::%player%} is greater than or equal to 1:
                remove 1 from {coin::%player%}
                give diamond pickaxe to player
            else:
                send "&7> &cEnvanterinde yeteri kadar Old Coin &cbulunmamakta!"
 

vForGeralt

Marangoz
Mesajlar
57
En iyi cevaplar
0
Beğeniler
6
Puanları
40
Ruh hali
Buyrun temize çektim, hatasızdır.
JavaScript:
options:
    p: &e&lCoin &7>
    kiriktasadet: 256
    menuismi: &cOld Coin Menüsü

variables:
    {coin::%player%} = 0
    {kirilankiriktas::%player%} = 0
    {oldurulen::%player%} = 0

command /coinver [<offline player>] [<number>]:
    permission: coinver.admin
    permission message: Bunu yapmak için yeterli yetkiniz yok!
    trigger:
        if arg 1 isn't set:
            send "{@p} &c/coinver &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 2 isn't set:
            send "{@p} &c/coinver &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 1 is set:
            add arg 2 to {coin::%arg 1%}
            send "{@p} &a%arg 1% &7adlı oyuncuya &e%arg 2% &7coin verdin!" to player
            send "{@p} &bYetkililerden birisi sana &e%arg 2% &bcoin verdi!" to arg 1

command /coinal [<offline player>] [<number>]:
    permission: coinal.admin
    permission message: Bunu yapmak için yeterli yetkiniz yok!
    trigger:
        if arg 1 isn't set:
            send "{@p} &c/coinal &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 2 isn't set:
            send "{@p} &c/coinal &7<&3oyuncu&7> &7<&amiktar&7>" to player
        if arg 1 is set:
            remove arg 2 from {coin::%arg 1%}
            send "{@p} &a%arg 1% &7adlı oyuncudan &e%arg 2% &7coin aldın!" to player
            send "{@p} &bYetkililerden birisi senden &e%arg 2% &bcoin aldın!" to arg 1

on break of Cobblestone:
    add 1 to {kirilankiriktas::%player%}
    if {kirilankiriktas::%player%} is greater than or equal to 256:
        add 0.5 to {coin::%player%}
        set {kirilankiriktas::%player%} to 0
        remove {@kiriktasadet} Cobblestone from player
        send "{@p} &6256 adet &cKırıktaş &e0.5 &6Old&cCoine Dönüştürüldü!!" to player

on death:
    if attacker is a player:
        if victim is a player:
            add 1 to {oldurulen::%player%}
            if {oldurulen::%attacker%} is greater than or equal to 10:
                add 1 to {coin::%attacker%}
                set {oldurulen::%attacker%} to 0
                send "{@p} &610 kişi öldürdüğün için &e1 &6Old&cCoin Kazandın!" to attacker

command /oldcoin:
    trigger:
        send "&6Old&cCoinin &7&l>> &a%{coin::%player%}%"

command /coinsp:
    trigger:
        open chest with 1 rows named "{@menuismi}" to player
        format slot 0 of player with spawner named "&4Zombi SP &8(&a1 Coin&8)" to close then run [make player execute "coinmenu Kazma"]

command /coinmenu [<text>]:
    permission: coin.menu
    permission message: Bunu yapmak için yeterli yetkiniz yok!
    trigger:
        if arg 1 isn't set:
            send "{@p} &c/coinmenu &7<&3Almak İstediğin Eşyanın İsmi7>"
        if arg 1 is "Elmas":
            if {coin::%player%} is greater than or equal to 1:
                remove 1 from {coin::%player%}
                give 64 diamond to player
            else:
                send "&7>> &cYeterli Coinin Bulunmamakta!"
        if arg 1 is "Kazma":
            if {coin::%player%} is greater than or equal to 1:
                remove 1 from {coin::%player%}
                give diamond pickaxe to player
            else:
                send "&7> &cEnvanterinde yeteri kadar Old Coin &cbulunmamakta!"
çok teşekkür ederim düzeldi konu kilit
 

Üst