Sol Reklam

Çözüldü Yardım

Durum
Mesaj gönderimine kapalı.

RomanticWarior

Yay Yok, İskelet Yok
Katılım
12 Eylül 2017
Mesajlar
278
Elmaslar
113
Puanlar
4.350
Merhaba arkadaşlar yapmak istedigim şey /ever komutunu kullandıgımda elması /esandık da 1. slota eklenmesi komut hata vermior ama /esandık 'a da elması eklemiyor sorunu çözemedim yardımcı olacak varsa sevinirim

Kod:
command /ever [<player>]:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        if arg-1 is set:
            add 1 diamond to {elmaslar::%arg-1%}
            send "&eBir elmas %arg-1%'in kasasina eklendi."
        else:
            send "&cDogru Kullanim: &f/elmasver <oyuncu>"
      
command /eal [<player>]:
    permission: elmas.al
    permission message: &cYetkin yok
    trigger:
        if arg-1 is set:
            remove 1 diamond from {elmaslar::%arg-1%}
            send "&eBir elmas %arg-1%'in kasasindan silindi."
        else:
            send "&cDogru Kullanim: &f/elmasal <oyuncu>"
      
command /esandık:
    trigger:
        wait 2 ticks
        open chest with 1 rows named "&bElmaslarim" to player
        set {_s} to 0
        set {_a} to 1
        loop 8 times:
            set slot {_s} of player's current inventory to {elmaslar::%player%::%{_a}%}
            add 1 to {_s}
            add 1 to {_a}
 
İstediğin Tam olarak Böyle Birşeymiydi ?

Kod:
command /elmas <text> <player> <int>:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        arg 1 is "ver":
            add arg-3 to {elmas.%player%}
            send players title "&7%player%'e" with subtitle "&a%arg-3% &bElmas &7Verildi" for 3 seconds
           
        arg 1 is "al":
            remove arg-3 from {elmas.%player%}
            send players title "&7%player%'den" with subtitle "&a%arg-3% &bElmas &cAlindi" for 3 seconds
           
command /esandik:
    trigger:
        if {elmas.%player%} is greater than or equal to 1:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 0 of player with diamond named "&a%player%" with lore "&7Senin Su anda &a%{elmas.%player%}% &bElmasin &7Var" to close
[DOUBLEPOST=1506356862,1506356756][/DOUBLEPOST]Yani Demek istediğin Event Gibi Birşeymi ?
Yani o sandiktan Alabilecekler ? Öyle Birşeymi istiyorsun ?
 
İstediğin Tam olarak Böyle Birşeymiydi ?

Kod:
command /elmas <text> <player> <int>:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        arg 1 is "ver":
            add arg-3 to {elmas.%player%}
            send players title "&7%player%'e" with subtitle "&a%arg-3% &bElmas &7Verildi" for 3 seconds
         
        arg 1 is "al":
            remove arg-3 from {elmas.%player%}
            send players title "&7%player%'den" with subtitle "&a%arg-3% &bElmas &cAlindi" for 3 seconds
         
command /esandik:
    trigger:
        if {elmas.%player%} is greater than or equal to 1:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 0 of player with diamond named "&a%player%" with lore "&7Senin Su anda &a%{elmas.%player%}% &bElmasin &7Var" to close
[DOUBLEPOST=1506356862,1506356756][/DOUBLEPOST]Yani Demek istediğin Event Gibi Birşeymi ?
Yani o sandiktan Alabilecekler ? Öyle Birşeymi istiyorsun ?
Böyle ama elmas al yapınca sandık boşken gözükmüor boşkende gözükmesini istiyorum.
 
Böyle ama elmas al yapınca sandık boşken gözükmüor boşkende gözükmesini istiyorum.


Ozaman Skripti yanlış yazmışım K.bakma Düzelteyim öyle vereyim[DOUBLEPOST=1506360053,1506357166][/DOUBLEPOST]Buyrun Birkaç seçenek daha ekledim :)

Skripte Bakarsanız Komutları Görebilirsiniz :)

Bence çok güzel oldu Ve ben bu skripti geliştirerek kullanabilirim :)

Kod:
command /elmas <text> <player> <int>:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        arg 1 is "ver":
            loop all players:
                add arg-3 to {elmas.%arg-2%}
                send player title "&c%arg-2% &7Adli Oyuncuya" with subtitle "&a%arg-3% &bElmas &7Verildi"
                send "&a%player% &7Adli Yetkili size &a%arg-3% &bElmas &7Verdi &c/esandik" to arg-2
        arg 1 is "al":
            remove arg-3 from {elmas.%arg-2%}
            send player title "&c%arg-2% &7Adli Oyuncudan" with subtitle "&a%arg-3% &bElmas &cAlindi" for 3 seconds
            send "&a%player% &7Adli Yetkili sizden &a%arg-3% &bElmas &7Aldi &c/esandik" to arg-2
        arg 1 is "ayarla":
            set {elmas.%arg-2%} to arg-3
            send player title "&c%arg-2% &7Adli Oyuncunun" with subtitle "&bElmaslari &aAyarlandi" for 3 seconds
            send "&a%player% &7Adli Yetkili &bElmaslarinizi &7Yeniden Ayarladi Elmaslariniz &c%arg-3% &e/esandik" to arg-2
       
command /esandik:
    trigger:
        if {elmas.%player%} is greater than or equal to 1:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &a%{elmas.%player%}% &bElmas'in &7Var" to close
        else:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &cHic &bElmas'in &cYok" to close
 
Ozaman Skripti yanlış yazmışım K.bakma Düzelteyim öyle vereyim[DOUBLEPOST=1506360053,1506357166][/DOUBLEPOST]Buyrun Birkaç seçenek daha ekledim :)

Skripte Bakarsanız Komutları Görebilirsiniz :)

Bence çok güzel oldu Ve ben bu skripti geliştirerek kullanabilirim :)

Kod:
command /elmas <text> <player> <int>:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        arg 1 is "ver":
            loop all players:
                add arg-3 to {elmas.%arg-2%}
                send player title "&c%arg-2% &7Adli Oyuncuya" with subtitle "&a%arg-3% &bElmas &7Verildi"
                send "&a%player% &7Adli Yetkili size &a%arg-3% &bElmas &7Verdi &c/esandik" to arg-2
        arg 1 is "al":
            remove arg-3 from {elmas.%arg-2%}
            send player title "&c%arg-2% &7Adli Oyuncudan" with subtitle "&a%arg-3% &bElmas &cAlindi" for 3 seconds
            send "&a%player% &7Adli Yetkili sizden &a%arg-3% &bElmas &7Aldi &c/esandik" to arg-2
        arg 1 is "ayarla":
            set {elmas.%arg-2%} to arg-3
            send player title "&c%arg-2% &7Adli Oyuncunun" with subtitle "&bElmaslari &aAyarlandi" for 3 seconds
            send "&a%player% &7Adli Yetkili &bElmaslarinizi &7Yeniden Ayarladi Elmaslariniz &c%arg-3% &e/esandik" to arg-2
      
command /esandik:
    trigger:
        if {elmas.%player%} is greater than or equal to 1:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &a%{elmas.%player%}% &bElmas'in &7Var" to close
        else:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &cHic &bElmas'in &cYok" to close
sk reload attıgım zaman 3 hata veriyor
 
Orda Bir sorun görünmüyor ama Skript Sorun var diyor :D
biraz garip şu an :D[DOUBLEPOST=1506361789,1506361678][/DOUBLEPOST]Birde Bunu denersmisin ?

Kod:
command /elmas <text> <player> <int>:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        arg 1 is "ver":
            add arg-3 to {elmas.%arg-2%}
            send player title "&c%arg-2% &7Adli Oyuncuya" with subtitle "&a%arg-3% &bElmas &7Verildi"
            send "&a%player% &7Adli Yetkili size &a%arg-3% &bElmas &7Verdi &c/esandik" to arg-2
        arg 1 is "al":
            remove arg-3 from {elmas.%arg-2%}
            send player title "&c%arg-2% &7Adli Oyuncudan" with subtitle "&a%arg-3% &bElmas &cAlindi" for 3 seconds
        arg 1 is "ayarla":
            set {elmas.%arg-2%} to arg-3
            send player title "&c%arg-2% &7Adli Oyuncunun" with subtitle "&bElmaslari &aAyarlandi" for 3 seconds
            send "&a%player% &7Adli Yetkili &bElmaslarinizi &7Yeniden Ayarladi Elmaslariniz &c%arg-3% &e/esandik" to arg-2
       
command /esandik:
    trigger:
        if {elmas.%player%} is greater than or equal to 1:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &a%{elmas.%player%}% &bElmas'in &7Var||&a||&aMarket'e Girmek icin tikla" to close
        else:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &cHic &bElmas'in &cYok" to close
 
Orda Bir sorun görünmüyor ama Skript Sorun var diyor :D
biraz garip şu an :D[DOUBLEPOST=1506361789,1506361678][/DOUBLEPOST]Birde Bunu denersmisin ?

Kod:
command /elmas <text> <player> <int>:
    permission: elmas.ver
    permission message: &cYetkin yok
    trigger:
        arg 1 is "ver":
            add arg-3 to {elmas.%arg-2%}
            send player title "&c%arg-2% &7Adli Oyuncuya" with subtitle "&a%arg-3% &bElmas &7Verildi"
            send "&a%player% &7Adli Yetkili size &a%arg-3% &bElmas &7Verdi &c/esandik" to arg-2
        arg 1 is "al":
            remove arg-3 from {elmas.%arg-2%}
            send player title "&c%arg-2% &7Adli Oyuncudan" with subtitle "&a%arg-3% &bElmas &cAlindi" for 3 seconds
        arg 1 is "ayarla":
            set {elmas.%arg-2%} to arg-3
            send player title "&c%arg-2% &7Adli Oyuncunun" with subtitle "&bElmaslari &aAyarlandi" for 3 seconds
            send "&a%player% &7Adli Yetkili &bElmaslarinizi &7Yeniden Ayarladi Elmaslariniz &c%arg-3% &e/esandik" to arg-2
      
command /esandik:
    trigger:
        if {elmas.%player%} is greater than or equal to 1:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &a%{elmas.%player%}% &bElmas'in &7Var||&a||&aMarket'e Girmek icin tikla" to close
        else:
            open chest with 1 rows named "&bElmaslarim" to player
            format slot 4 of player with diamond named "&a%player%" with lore "&7Senin Su anda &cHic &bElmas'in &cYok" to close
Cok garip :) skript çalıştıgı halde hatalı olarak gösteriyor anlamadım
 
Durum
Mesaj gönderimine kapalı.
Yukarı