Yardım Tabelaya tıklama permi verme yardım

TugayTKSZ

Kömür Madencisi
Mesajlar
120
En iyi cevaplar
0
Beğeniler
30
Puanları
90
Skript Plugininin Sürümü
1.15.2
Oyun Sürümü
1.15.2
Kod:
command /çöpc:
    trigger:
        send "{@prefix}Çöp oluşturmak için &c/çöp"

command /çöp [<text>]:
    permission: cop.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}Çöp oluşturmak için &c/çöp olustur"
            send "{@prefix}Çöp'yi kaldırmak için &c/çöp kaldir"
        if arg-1 is "olusturr":
            if targeted block is sign:
                set line 2 of targeted block to "&b[Çöp]"
                set line 3 of targeted block to "&a[Toplanmamış]"
                set {cop.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldirr":
            if targeted block is sign:
                if {cop.tabela.%location of targeted block%} is set:
                    delete {cop.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

    
on right click on sign:
    {cop.tabela.%location of clicked block%} is set:   
        line 2 of clicked block is "&b[Çöp]":       
            if line 3 of the clicked block is "&a[Toplanmamış]":
                set line 3 of the clicked block to "&c[Toplanmış]"
                execute console command "dondur %player%"               
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&8&l> &7Çöp Toplanıyor..."
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌▌▌▌▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                wait 2 second
                send "&7Çöp toplandı!"
                give 7 bone meal named "&b&lÇöp" to player
                execute console command "kaldir %player%"                               
                wait 500 seconds
                set line 3 of the clicked block to "&a[Toplanmamış]"
            else:
                send "Bu çöp kutusu daha önce toplanmış !"

benim böyle bi skript var ben buna sadece belirli permli kişilerin tıklamasını istiyorum nasıl yapıcam yardımcı olabilcek varmı?
 


Alharu

İlerlemenin sırrı başlamaktır.
Mesajlar
145
En iyi cevaplar
20
Beğeniler
171
Puanları
560
Ruh hali
Buyur:
Kod:
command /çöpc:
    trigger:
        send "{@prefix}Çöp oluşturmak için &c/çöp"

command /çöp [<text>]:
    permission: cop.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}Çöp oluşturmak için &c/çöp olustur"
            send "{@prefix}Çöp'yi kaldırmak için &c/çöp kaldir"
        if arg-1 is "olusturr":
            if targeted block is sign:
                set line 2 of targeted block to "&b[Çöp]"
                set line 3 of targeted block to "&a[Toplanmamış]"
                set {cop.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldirr":
            if targeted block is sign:
                if {cop.tabela.%location of targeted block%} is set:
                    delete {cop.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

  
on right click on sign:
    player has permission "cop.topla":
        {cop.tabela.%location of clicked block%} is set: 
            line 2 of clicked block is "&b[Çöp]":     
                if line 3 of the clicked block is "&a[Toplanmamış]":
                    set line 3 of the clicked block to "&c[Toplanmış]"
                    execute console command "dondur %player%"             
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&8&l> &7Çöp Toplanıyor..."
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    wait 2 second
                    send "&7Çöp toplandı!"
                    give 7 bone meal named "&b&lÇöp" to player
                    execute console command "kaldir %player%"                             
                    wait 500 seconds
                    set line 3 of the clicked block to "&a[Toplanmamış]"
                else:
                    send "Bu çöp kutusu daha önce toplanmış !" to player
    else:
        send "&cBunu yapmak için iznin yok!" to player
Not: Oyuncuların tabelaya tıklayabilmesi için "cop.topla" izni olması gerekmektedir, istediğiniz gibi değiştirebilirsiniz.
 

TugayTKSZ

Kömür Madencisi
Mesajlar
120
En iyi cevaplar
0
Beğeniler
30
Puanları
90
Buyur:
Kod:
command /çöpc:
    trigger:
        send "{@prefix}Çöp oluşturmak için &c/çöp"

command /çöp [<text>]:
    permission: cop.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}Çöp oluşturmak için &c/çöp olustur"
            send "{@prefix}Çöp'yi kaldırmak için &c/çöp kaldir"
        if arg-1 is "olusturr":
            if targeted block is sign:
                set line 2 of targeted block to "&b[Çöp]"
                set line 3 of targeted block to "&a[Toplanmamış]"
                set {cop.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldirr":
            if targeted block is sign:
                if {cop.tabela.%location of targeted block%} is set:
                    delete {cop.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

 
on right click on sign:
    player has permission "cop.topla":
        {cop.tabela.%location of clicked block%} is set:
            line 2 of clicked block is "&b[Çöp]":    
                if line 3 of the clicked block is "&a[Toplanmamış]":
                    set line 3 of the clicked block to "&c[Toplanmış]"
                    execute console command "dondur %player%"            
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&8&l> &7Çöp Toplanıyor..."
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    wait 2 second
                    send "&7Çöp toplandı!"
                    give 7 bone meal named "&b&lÇöp" to player
                    execute console command "kaldir %player%"                            
                    wait 500 seconds
                    set line 3 of the clicked block to "&a[Toplanmamış]"
                else:
                    send "Bu çöp kutusu daha önce toplanmış !" to player
    else:
        send "&cBunu yapmak için iznin yok!" to player
Not: Oyuncuların tabelaya tıklayabilmesi için "cop.topla" izni olması gerekmektedir, istediğiniz gibi değiştirebilirsiniz.
deniyorum
 

TugayTKSZ

Kömür Madencisi
Mesajlar
120
En iyi cevaplar
0
Beğeniler
30
Puanları
90
Buyur:
Kod:
command /çöpc:
    trigger:
        send "{@prefix}Çöp oluşturmak için &c/çöp"

command /çöp [<text>]:
    permission: cop.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}Çöp oluşturmak için &c/çöp olustur"
            send "{@prefix}Çöp'yi kaldırmak için &c/çöp kaldir"
        if arg-1 is "olusturr":
            if targeted block is sign:
                set line 2 of targeted block to "&b[Çöp]"
                set line 3 of targeted block to "&a[Toplanmamış]"
                set {cop.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldirr":
            if targeted block is sign:
                if {cop.tabela.%location of targeted block%} is set:
                    delete {cop.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

 
on right click on sign:
    player has permission "cop.topla":
        {cop.tabela.%location of clicked block%} is set:
            line 2 of clicked block is "&b[Çöp]":    
                if line 3 of the clicked block is "&a[Toplanmamış]":
                    set line 3 of the clicked block to "&c[Toplanmış]"
                    execute console command "dondur %player%"            
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&8&l> &7Çöp Toplanıyor..."
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                    send ""
                    wait 2 second
                    send "&7Çöp toplandı!"
                    give 7 bone meal named "&b&lÇöp" to player
                    execute console command "kaldir %player%"                            
                    wait 500 seconds
                    set line 3 of the clicked block to "&a[Toplanmamış]"
                else:
                    send "Bu çöp kutusu daha önce toplanmış !" to player
    else:
        send "&cBunu yapmak için iznin yok!" to player
Not: Oyuncuların tabelaya tıklayabilmesi için "cop.topla" izni olması gerekmektedir, istediğiniz gibi değiştirebilirsiniz.
empty configuration diye bir şey diyor?
 

Alharu

İlerlemenin sırrı başlamaktır.
Mesajlar
145
En iyi cevaplar
20
Beğeniler
171
Puanları
560
Ruh hali
empty configuration diye bir şey diyor?
Buyur, düzeltilmiş hali:
Kod:
command /çöpc:
    trigger:
        send "{@prefix}Çöp oluşturmak için &c/çöp"

command /çöp [<text>]:
    permission: cop.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}Çöp oluşturmak için &c/çöp olustur"
            send "{@prefix}Çöp'yi kaldırmak için &c/çöp kaldir"
        if arg-1 is "olusturr":
            if targeted block is sign:
                set line 2 of targeted block to "&b[Çöp]"
                set line 3 of targeted block to "&a[Toplanmamış]"
                set {cop.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldirr":
            if targeted block is sign:
                if {cop.tabela.%location of targeted block%} is set:
                    delete {cop.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

  
on right click on sign:
    player has permission "tabela.tikla":
        {cop.tabela.%location of clicked block%} is set: 
            line 2 of clicked block is "&b[Çöp]":     
                if line 3 of the clicked block is "&a[Toplanmamış]":
                    set line 3 of the clicked block to "&c[Toplanmış]"
                    execute console command "dondur %player%"             
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l> &7Çöp Toplanıyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    send "&7Çöp toplandı!"
                    give 7 bone meal named "&b&lÇöp" to player
                    execute console command "kaldir %player%"                             
                    wait 500 seconds
                    set line 3 of the clicked block to "&a[Toplanmamış]"
                else:
                    send "Bu çöp kutusu daha önce toplanmış !" to player
    else:
        send "&cBunu yapmak için iznin yok!" to player
 

TugayTKSZ

Kömür Madencisi
Mesajlar
120
En iyi cevaplar
0
Beğeniler
30
Puanları
90
Buyur, düzeltilmiş hali:
Kod:
command /çöpc:
    trigger:
        send "{@prefix}Çöp oluşturmak için &c/çöp"

command /çöp [<text>]:
    permission: cop.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}Çöp oluşturmak için &c/çöp olustur"
            send "{@prefix}Çöp'yi kaldırmak için &c/çöp kaldir"
        if arg-1 is "olusturr":
            if targeted block is sign:
                set line 2 of targeted block to "&b[Çöp]"
                set line 3 of targeted block to "&a[Toplanmamış]"
                set {cop.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldirr":
            if targeted block is sign:
                if {cop.tabela.%location of targeted block%} is set:
                    delete {cop.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

 
on right click on sign:
    player has permission "tabela.tikla":
        {cop.tabela.%location of clicked block%} is set:
            line 2 of clicked block is "&b[Çöp]":    
                if line 3 of the clicked block is "&a[Toplanmamış]":
                    set line 3 of the clicked block to "&c[Toplanmış]"
                    execute console command "dondur %player%"            
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l> &7Çöp Toplanıyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    send "&7Çöp toplandı!"
                    give 7 bone meal named "&b&lÇöp" to player
                    execute console command "kaldir %player%"                            
                    wait 500 seconds
                    set line 3 of the clicked block to "&a[Toplanmamış]"
                else:
                    send "Bu çöp kutusu daha önce toplanmış !" to player
    else:
        send "&cBunu yapmak için iznin yok!" to player
çalıştı teşekkürler
 

Üst