Bulundu Otomatik Blok Silme

  • Konuyu Başlatan Konuyu Başlatan LumosNET
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 814
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

LumosNET

Koydum Çalışma Masasını
Katılım
8 Aralık 2023
Mesajlar
50
Elmaslar
2
Puan
435
Yaş
25
Konum
istanbul
Minecraft
profkas_

Discord:

_profes_

Minecraft icin her 10dk da birkez koyulan tum bloklari aynanda silecek skript veya plugin biliyormusunuz
 
Deneme fırsatım olmadı ancak bu kodu bir deneyin;
Kod:
on place:
    add event-location to {placedBlocks::*}

every 10 minute:
    set {_x} to amount of {placedBlocks::*}
    set {_y} to 0
    while {_y} isn't {_x}:
        add 1 to {_y}
        set block at {placedBlocks::%{_y}%} to air
    broadcast "Koyulan tüm bloklar silindi!"
    delete {placedBlocks::*}
 
Deneme fırsatım olmadı ancak bu kodu bir deneyin;
Kod:
on place:
    add event-location to {placedBlocks::*}

every 10 minute:
    set {_x} to amount of {placedBlocks::*}
    set {_y} to 0
    while {_y} isn't {_x}:
        add 1 to {_y}
        set block at {placedBlocks::%{_y}%} to air
    broadcast "Koyulan tüm bloklar silindi!"
    delete {placedBlocks::*}
calisti cok tesekkurler
 
Deneme fırsatım olmadı ancak bu kodu bir deneyin;
Kod:
on place:
    add event-location to {placedBlocks::*}

every 10 minute:
    set {_x} to amount of {placedBlocks::*}
    set {_y} to 0
    while {_y} isn't {_x}:
        add 1 to {_y}
        set block at {placedBlocks::%{_y}%} to air
    broadcast "Koyulan tüm bloklar silindi!"
    delete {placedBlocks::*}
sey sorcam mesela /bloktoggle komudunu yazinca bloklari silmeyi durduran tekrar yazinca acan birsey ekleyebilirmisin skripte ama sadece op ler yapabilecek
 
sey sorcam mesela /bloktoggle komudunu yazinca bloklari silmeyi durduran tekrar yazinca acan birsey ekleyebilirmisin skripte
Kod:
command /bloktoggle:
    permission: op
    trigger:
        if {blockToggle} isn't set:
            set {blockToggle} to true
            message "Açıldı"
            stop
        delete {blockToggle}
        message "Kapatıldı"

on place:
    {blockToggle} is set
    add event-location to {placedBlocks::*}

every 10 minute:
    {blockToggle} is set
    set {_x} to amount of {placedBlocks::*}
    set {_y} to 0
    while {_y} isn't {_x}:
        add 1 to {_y}
        set block at {placedBlocks::%{_y}%} to air
    broadcast "Koyulan tüm bloklar silindi!"
    delete {placedBlocks::*}
 
Kod:
command /bloktoggle:
    permission: op
    trigger:
        if {blockToggle} isn't set:
            set {blockToggle} to true
            message "Açıldı"
            stop
        delete {blockToggle}
        message "Kapatıldı"

on place:
    {blockToggle} is set
    add event-location to {placedBlocks::*}

every 10 minute:
    {blockToggle} is set
    set {_x} to amount of {placedBlocks::*}
    set {_y} to 0
    while {_y} isn't {_x}:
        add 1 to {_y}
        set block at {placedBlocks::%{_y}%} to air
    broadcast "Koyulan tüm bloklar silindi!"
    delete {placedBlocks::*}
tekrardan tesekkurler elinize saglik
 
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