İstek clearlag skripti detaylar aşağıda

LimonBoy

Marangoz
Mesajlar
45
En iyi cevaplar
0
Beğeniler
2
Puanları
40
şimdi mesela böyle eşyaların silinmesine 1 dakika var dicek sonra 30 20 10 saniye derken silicek ve eşyalar silindi dicek ama bunların hepsi envanterin üstündeki şeyde olucak yani /tm abc şeklinde yardım lütfen
 


Sismei

Kömür Madencisi
Mesajlar
115
En iyi cevaplar
3
Beğeniler
35
Puanları
300
Ruh hali
Kod:
#Update: Sismei - EmreSevik
#Permission : clear.lag
     #--------------#         
options:
    Prefix: &3Çöpçü &8>
    PrefixBildirim: &3Çöpçü &8>
    version: 1.1

    # Duyuru Messages #

    Bildirim: &7Yerdeki eşyaların silinmesine son

every 10 minutes:    #10 minutes yerine 5 minutes yaparsanız her 5 dakikada siler!
    set action bar of all players to "{@PrefixBildirim} {@Bildirim} &c1 &cdakika"
    wait 57 seconds
    set action bar of all players to "{@PrefixBildirim} {@Bildirim} &c3 &cseconds!"
    wait 1 seconds
    set action bar of all players to  "{@PrefixBildirim} {@Bildirim} &c2 &cseconds!"
    wait 1 seconds
    set action bar of all players to "{@PrefixBildirim} {@Bildirim} &c1 &cseconds!"
    wait 1 seconds
    make server execute command "/clear lag"

command /clearlag [<text>] [<integer>]:
    trigger:
        if arg-1 is not set:
            message "&3-----------(& b&lClearlag Ayarları&3)-----------"
            message "&4- &8/&3clearlag &bclear &f- (Clears entities from your worlds)"
            message "&4- &8/&3clearlag &barea &f- (Clears entities from your radius)"
            message "&4- &8/&3clearlag &bkillmobs &f- (Clears mobs from your worlds)"
            message "&3-------------------------------------------"

        if player has permission "clear.lag":
            if arg 1 is "clear":
                clear {_count}
                loop all arrows:
                    clear loop-entity
                    add 1 to {_count}
                loop entities:
                    loop-entity is a dropped item
                    clear loop-entity
                    add 1 to {_count}
                if {_count} is not set:
                    set {_count} to 0
                broadcast "{@Prefix} &7Başarıyla &b%{_count}% &7adet eşya ortadan yok oldu!"

        if player has permission "lagg.killmobs":
            if arg 1 is "killmobs":
                broadcast "{@Prefix} &bBütün canavarlar silindi!"
                loop entities:
                    if loop-entity is a creature:
                        clear loop-entity
                    if loop-entity is a slime:
                        clear all slimes

        if arg 1 is "area":
            if arg 2 is not set:
                send "&cWrong usage &8/&7Lagg <area> <radius>"

        if player has permission "lagg.area":   
            if arg 1 is "area":
                if arg 2 is set:
                    clear {_count}
                    loop all arrows in radius arg-2 around player:
                        clear loop-entity
                        add 1 to {_count}
                    loop entities in radius arg-2 around player:
                        loop-entity is a dropped item
                        clear loop-entity
                        add 1 to {_count}
                    if {_count} is not set:
                        set {_count} to 0
                    broadcast "{@Prefix} &3%{_count}% &bAdet canavar yok oldu &3%arg-2%!"
command /clear [<text>]:
    trigger:   
        if arg 1 is "lag":
            clear {_count}
            loop all arrows:
                clear loop-entity
                add 1 to {_count}
            loop entities:
                loop-entity is a dropped item
                clear loop-entity
                add 1 to {_count}
            if {_count} is not set:
                set {_count} to 0
            broadcast "{@Prefix} &7Başarıyla &3%{_count}% &7adet eşya ortadan yok oldu!"

Dikkat Bu Eklenti gerekebilir!
 

Axel102

Hayalet Avcısı
Mesajlar
2,564
En iyi cevaplar
6
Beğeniler
1,002
Puanları
3,390
Kod:
delete all dropped items
loop falan yapma bu direk herşeyi siler
 

Üst