Çözüldü Şu skripti nasıl süreli yapabilirim?

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Aybars Özdemir

Bir Kömür Göründü Kaptanım!
Katılım
24 Ağustos 2020
Mesajlar
102
Elmaslar
9
Puan
1.270
Yaş
25
Minecraft
_Oskip_

Discord:

Aybars#5523

arkadaşlar
Kod:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        give 1 stick named "&aVIP Satış Çubuğu" to player


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
şu skripti oyuncu sadece 1 kere alabilsin istiyorum yani 10 yıl falan süresi olsun 1 kere alabilsin şimdiden teşekkürler
 
Kod:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {sataraldi::%player%} is set:
          send "&4Daha fazla SandıkSatar alamazsın" to player
        else:
          give 1 stick named "&aVIP Satış Çubuğu" to player
          send "&4SandıkSatar'ın verildi" to player
          set {sataraldi::%player%} to true
Bu şekilde düzenlemeyi dene.
 
Kod:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {sataraldi::%player%} is set:
          send "&4Daha fazla SandıkSatar alamazsın" to player
        else:
          give 1 stick named "&aVIP Satış Çubuğu" to player
          send "&4SandıkSatar'ın verildi" to player
          set {sataraldi::%player%} to true
Bu şekilde düzenlemeyi dene.
olmadı
 
JavaScript:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {ss::%player%} is false:
            give 1 stick named "&aVIP Satış Çubuğu" to player
            set {ss::%player%} to true
        else if {ss::%player%} is true:
            send "&6[Satış Cubuğu] &fZaten almışsın, bir daha alamazsın."


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
 
JavaScript:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {ss::%player%} is false:
            give 1 stick named "&aVIP Satış Çubuğu" to player
            set {ss::%player%} to true
        else if {ss::%player%} is true:
            send "&6[Satış Cubuğu] &fZaten almışsın, bir daha alamazsın."


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
olmadı
 
Dostum eğer olmadıysa sorununu atmalısın skript hatalarını atmalısın biz sorunu tahmin edip hatayı çözemeyiz
JavaScript:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {ss::%player%} is false:
            give 1 stick named "&aVIP Satış Çubuğu" to player
            set {ss::%player%} to true
        else if {ss::%player%} is true:
            send "&6[Satış Cubuğu] &fZaten almışsın, bir daha alamazsın."


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
bu skripti yaptığımda hiçbir hata vermiyor ama skript çalışmıyor /sandıksatarvip yazıyorum çubuk bile gelmiyo elime
 
bu skripti yaptığımda hiçbir hata vermiyor ama skript çalışmıyor /sandıksatarvip yazıyorum çubuk bile gelmiyo elime
give 1 stick named "&aVIP Satış Çubuğu" to player kısmını execute console command "give %player% stick 1 name:&aVIP_Satış_Çubuğu olarak değiştirir misin
 
give 1 stick named "&aVIP Satış Çubuğu" to player kısmını execute console command "give %player% stick 1 name:&aVIP_Satış_Çubuğu olarak değiştirir misin
yok olmadı
 
bu skripti yaptığımda hiçbir hata vermiyor ama skript çalışmıyor /sandıksatarvip yazıyorum çubuk bile gelmiyo elime
Kod:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {ss::%player%} isn't set:
            set {ss::%player%} to false
        if {ss:%player%} is false:
            give 1 stick named "&aVIP Satış Çubuğu" to player
            set {ss::%player%} to true
        else if {ss::%player%} is true:
            send "&6[Satış Cubuğu] &fZaten almışsın, bir daha alamazsın."


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
böyle dener misin ?
 
Kod:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {ss::%player%} isn't set:
            set {ss::%player%} to false
        if {ss:%player%} is false:
            give 1 stick named "&aVIP Satış Çubuğu" to player
            set {ss::%player%} to true
        else if {ss::%player%} is true:
            send "&6[Satış Cubuğu] &fZaten almışsın, bir daha alamazsın."


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
böyle dener misin ?
maalesef yine olmadı hata vermiyor ama olmuyor
 
Kod:
command /sandıksatarvip:
    permission: sandıksatar.vip
    permission message: Bu komutu sadece vipler kullanabilir
    trigger:
        if {ss::%player%} isn't set:
            give 1 stick named "&aVIP Satış Çubuğu" to player
            set {ss::%player%} to true
        else if {ss::%player%} is true:
            send "&6[Satış Cubuğu] &fZaten almışsın, bir daha alamazsın."


on left click with stick:
    if name of player's tool is "&aVIP Satış Çubuğu":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 46.875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond in clicked block * 46.875)% &7hesabınıza eklendi" to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 30.546875) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald in clicked block * 30.546875)% &7hesabınıza eklendi" to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 23.4375) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron ingot in clicked block * 23.4375)% &7hesabınıza eklendi. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2187.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of iron block in clicked block * 2187.5)% &7hesabınıza eklendi. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 28.90625) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold ingot in clicked block * 28.90625)% &7hesabınıza eklendi. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 2812.5) to player's money
                send "&eSandık Satar &8▸ &c%(amount of gold block in clicked block * 2812.5)% &7hesabınıza eklendi." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 2925) to player's money
                send "&eSandık Satar &8▸ &c%(amount of emerald block in clicked block * 2925)% &7hesabınıza eklendi." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 4500) to player's money
                send "&eSandık Satar &8▸ &c%(amount of diamond block in clicked block * 4500)% &7hesabınıza eklendi." to player
                remove every diamond blocks from clicked block
bunun çalışması lazım
 
bende oldu bu arada
 
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