Çözüldü Hediye alanı | Detaylar konuda

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

Rahim Q.

Dürüstlük pahalı bir mülktür, ucuz kişide bulunmaz
Katılım
3 Haziran 2017
Mesajlar
272
Elmaslar
258
Puan
14.340
Konum
Azerbaycan
Minecraft
RahimQBV
Facebook
Rahim Qubadov
X
RahimQBV

Discord:

rahimqbv

Hepinize merhabalar, 1.15.2 tabanlı minecraft sunucusu için skript arıyorum.Bu skript sayesinde, belirlediğimiz alana 15 dakikadan, bir rastgele minecraft eşyası düşücek.1.15.2 desteklerse sevinirim.

Örnek komutlar:
/ödülalan-belirle - Belirlediğimiz alanı hediye düşmek için ayarlar.
/ödülalan-sıfırla - Belirlediğimiz alanı sıfırlar.
/ödülalan-admin - Belirlediğimiz alana test için eşya düşürür.
 
Belirlediğim alan demek istediğin nedir? Dünya mı yoksa 3 boyutlu kordinat sistemi mi?
 
Kod:
command /ödülalan [<text>]:
    trigger:
        if player has permission "sk.admin":
            if arg 1 is set:
                if arg 1 is "belirle":
                    set {loc} to player's location
                    send "&7Ödül alanı belirlendi: &a%{loc}%" to player
                else if arg 1 is "sıfırla":
                    delete {loc}
                    send "&7Ödül alanı sıfırlandı." to player
                else if arg 1 is "admin":
                    if {loc} is set:
                        drop 1 of diamond at {loc} without velocity
                        send "&7Deneme amaçlı bir &belmas &7droplandı." to player
                    else:
                        send "&7Önce bir alan belirlemelisin." to player
                else:
                    send "&7/ödülalan <belirle> <sıfırla> <admin>" to player
            else:
                send "&7/ödülalan <belirle> <sıfırla> <admin>" to player

every 15 minutes:
    chance of 25%:
        drop 1 of diamond at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of gold ingot at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of iron ingot at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of emerald at {loc} without velocity
        stop
Merhaba, 1.8.8 sürümünde denedim ve çalışıyor. Bir de siz dener misiniz?
 
Kod:
command /ödülalan [<text>]:
    trigger:
        if player has permission "sk.admin":
            if arg 1 is set:
                if arg 1 is "belirle":
                    set {loc} to player's location
                    send "&7Ödül alanı belirlendi: &a%{loc}%" to player
                else if arg 1 is "sıfırla":
                    delete {loc}
                    send "&7Ödül alanı sıfırlandı." to player
                else if arg 1 is "admin":
                    if {loc} is set:
                        drop 1 of diamond at {loc} without velocity
                        send "&7Deneme amaçlı bir &belmas &7droplandı." to player
                    else:
                        send "&7Önce bir alan belirlemelisin." to player
                else:
                    send "&7/ödülalan <belirle> <sıfırla> <admin>" to player
            else:
                send "&7/ödülalan <belirle> <sıfırla> <admin>" to player

every 15 minutes:
    chance of 25%:
        drop 1 of diamond at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of gold ingot at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of iron ingot at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of emerald at {loc} without velocity
        stop
Merhaba, 1.8.8 sürümünde denedim ve çalışıyor. Bir de siz dener misiniz?
Merhaba, koda baktığımda her şey eksiksiz görüyorum.Bu gün akşama kadar size cevap yollayacağım.Şimdiden teşekkür ederim.
Gönderi otomatik olarak birleştirildi:

Kod:
command /ödülalan [<text>]:
    trigger:
        if player has permission "sk.admin":
            if arg 1 is set:
                if arg 1 is "belirle":
                    set {loc} to player's location
                    send "&7Ödül alanı belirlendi: &a%{loc}%" to player
                else if arg 1 is "sıfırla":
                    delete {loc}
                    send "&7Ödül alanı sıfırlandı." to player
                else if arg 1 is "admin":
                    if {loc} is set:
                        drop 1 of diamond at {loc} without velocity
                        send "&7Deneme amaçlı bir &belmas &7droplandı." to player
                    else:
                        send "&7Önce bir alan belirlemelisin." to player
                else:
                    send "&7/ödülalan <belirle> <sıfırla> <admin>" to player
            else:
                send "&7/ödülalan <belirle> <sıfırla> <admin>" to player

every 15 minutes:
    chance of 25%:
        drop 1 of diamond at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of gold ingot at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of iron ingot at {loc} without velocity
        stop
    chance of 25%:
        drop 1 of emerald at {loc} without velocity
        stop
Merhaba, 1.8.8 sürümünde denedim ve çalışıyor. Bir de siz dener misiniz?
Bayım teşekkür ediyorum.15 dakika beklemedim fakat admin komutuyla eşya geldi.Herhangi bir sorunda discordunuza ulaşa bilirmiyim?
Konu kilit
 
Son düzenleme:
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