noisiv 1
noisiv
Manwe Work 1
Manwe Work
Almira2 1
Almira2
romegames 1
romegames
D 1
delimuratt
melankolıa18 1
melankolıa18
shrpnl 1
shrpnl
Fethi Polat 1
Fethi Polat
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Best Studio 1
Best Studio
Agora Metin2 1
Agora Metin2
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Skript Paylaşım Minecraft - Gelişmiş Itemsp Skript

  • Konuyu başlatan Konuyu başlatan ßyMesMes
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 669

ßyMesMes

'Sıradışı Emekli Admin
Telefon Numarası Onaylanmış Üye TC Kimlik Numarası Doğrulanmış Üye
Fahri Üye
Paylaşım
Katılım
2 Ağu 2010
Konular
5,330
Mesajlar
24,645
Çözüm
54
Online süresi
1mo 20d
Reaksiyon Skoru
6,396
Altın Konu
425
Başarım Puanı
514
MmoLira
-2,509
DevLira
0
Ticaret - 0%
0   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

Gelişmiş İtemsp Skript Kullanımı:

/itemsp ile tüm komutları gösterir.

/itemsp ekle <isim> ile özel isimli spawnerinizi ekleyebilirsiniz.

/itemsp sil <isim> ile eklediğiniz spawneri silebilirsiniz büyük küçük harf önemli.

/itemsp ver <spawner> <adet> <oyuncu> ile istediğiniz oyuncuya istediğiniz kadar spawner verebilirsiniz.

/itemsp reload ile dosyaları yenileyebilirsiniz.

Eklediğiniz spawnerları spawner.yml dosyasından editleyebilirsiniz
Renk kodunu '§' olarak almalısınız!


skript-1.png


Prefix vs. ayarlarını config.yml den editleyebilirsiniz.
Renk kodunu '§' olarak almalısınız!


2.png


Yenilikler-V2.1:
- Artık her spawnerin adını farklı yapabilirsiniz.

Yenilikler-V2.0:
- Artık her spawner kendine özel rengi var. KALKTI
- Artık daha hızlı çalışıyor.
- Gereksiz mesajları otomatik kapatıyor.

Yenilikler-V1.1:
- Suffix ile artık spawnerların sonundaki yazıyı gönlünüzce değiştirebileceksiniz. KALKTI
- Artık spawnerlara prefix ekleyebilirsiniz. KALKTI
- /itemsp ver artık daha kullanışlı.
- Artık dosya ismini tek tıkla değiştire bilirsiniz.

Gerekenler:
Skript 2.2-dev27
SkUtilities
WildSkript

Güncel kod:
Kod:
options:
    dosya: Itemsp #Dosya adını değiştirdiyseniz bunuda değiştirin!
    reload: V2.1 #Burası itemsp.sk isimli dosyanın değiştirme bölümü dosyayı nasıl kaydettiyseniz onu yazın!

on load:
    if file "plugins/{@dosya}/config.yml" doesn't exists:
        create file "plugins/{@dosya}/config.yml"
        wf "########## Ferhat Kabal Spawners ##########" to "plugins/{@dosya}/config.yml"
        wf "## Renk kodunu '§' olarak kullanabilirsiniz ##" to "plugins/{@dosya}/config.yml"
        wf "" to "plugins/{@dosya}/config.yml"
        wf "Version: 2.1" to "plugins/{@dosya}/config.yml"
        wf "ChatPrefix: '&3FKSpawner &8>'" to "plugins/{@dosya}/config.yml"
        wf "Lang: TR" to "plugins/{@dosya}/config.yml"
        wf "" to "plugins/{@dosya}/config.yml"
    set {v} to value "Version" get of "plugins/{@dosya}/config.yml"
    set {cp} to value "ChatPrefix" get of "plugins/{@dosya}/config.yml"
    set {ln} to value "Lang" get of "plugins/{@dosya}/config.yml"
    set {ssx} to value "SpawnerSuffix" get of "plugins/{@dosya}/config.yml"
    set {spx} to value "SpawnerPrefix" get of "plugins/{@dosya}/config.yml"

    if file "plugins/{@dosya}/spawner.yml" doesn't exists:
        create file "plugins/{@dosya}/spawner.yml"
        wf "########## Ferhat Kabal Spawners ##########" to "plugins/{@dosya}/spawner.yml"
        wf "## Burdan spawner silmeyin /itemsp sil <spawner> ##" to "plugins/{@dosya}/spawner.yml"
        wf "## Renk kodunu '§' olarak kullanabilirsiniz ##" to "plugins/{@dosya}/spawner.yml"

command /itemsp [<text>] [<text>] [<number>] [<offlineplayer>]:
    permission: sp.admin
    trigger:
        if arg 1 is not set:
            send "&7########## Ferhat Kabal Spawners ##########"
            send ""
            send " &eVersion: &f%{v}%"
            send " &eYapımcı: &fFERHAT KABAL"
            send " &eChatPrefix: %{cp}%"
            send " &eDil: &f%{ln}%"
            send ""
            send "&f- &e/itemsp ver <spawner> <oyuncu> <adet>"
            send "&f- &e/itemsp list"
            send "&f- &e/itemsp ekle <spawner> &cSpawner eklerken büyük küçük harflere dikkat edin!"
            send "&f- &e/itemsp sil <spawner> &cSpawner silerken büyük küçük harflere dikkat edin!"
            send "&f- &e/itemsp reload"
            send ""
            send "&7########## Ferhat Kabal Spawners ##########"
        else:
            if arg 1 is "ver":
                if arg 2 is set:
                    if arg 3 is set:
                        if arg 4 is set:
                            if arg-4 is offline:
                                send "%{cp}% &cOyuncu bulunamadı!"
                            else:
                                if {%arg 2%:spawner} is set:
                                    set {_p} to arg 4
                                    give arg-3 of mob spawner named "%{%arg 2%:Ad}%" to {_p}
                                else:
                                    send "%{cp}% &cSpawner bulunamadı!"
                        else:
                            if {%arg 2%:spawner} is set:
                                give arg-3 of mob spawner named "%{%arg 2%:Ad}%" to player
                            else:
                                send "%{cp}% &cSpawner bulunamadı!"
                    else:
                        if {%arg 2%:spawner} is set:
                            give 1 of mob spawner named "%{%arg 2%:Ad}%" to player
                        else:
                            send "%{cp}% &cSpawner bulunamadı!"
                else:
                    send "%{cp}% &e/itemsp ver <spawner> <adet> <oyuncu>"
            if arg 1 is "reload":
                execute console command "sk reload {@reload}"
                wait 0.5 second
                send "%{cp}% &7Dosyalar yeniden yüklendi."
            if arg 1 is "ekle":
                if arg 2 is set:
                    if {%arg 2%:spawner} is not set:
                        wf "%arg 2%:" to "plugins/{@dosya}/spawner.yml"
                        wf "  ID: 1" to "plugins/{@dosya}/spawner.yml"
                        wf "  Ad: '&f%arg 2% &3Spawner'" to "plugins/{@dosya}/spawner.yml"
                        wf "  Count: 1" to "plugins/{@dosya}/spawner.yml"
                        wf "  Delay: 1" to "plugins/{@dosya}/spawner.yml"
                        wf "  MinDelay: 1" to "plugins/{@dosya}/spawner.yml"
                        wf "  MaxDelay: 3" to "plugins/{@dosya}/spawner.yml"
                        wf "  PlayerRange: 10" to "plugins/{@dosya}/spawner.yml"
                        wf "  " to "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:id} to value "%arg 2%.ID" get of "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:ad} to value "%arg 2%.Ad" get of "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:cn} to value "%arg 2%.Count" get of "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:dl} to value "%arg 2%.Delay" get of "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:md} to value "%arg 2%.MinDelay" get of "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:mxd} to value "%arg 2%.MaxDelay" get of "plugins/{@dosya}/spawner.yml"
                        set {%arg 2%:pr} to value "%arg 2%.PlayerRange" get of "plugins/{@dosya}/spawner.yml"
                        send "%{cp}% &e%arg 2% &7spawner &eeklendi"
                        set {%arg 2%:spawner} to 1
                        set {_2} to "%arg 2%"
                        add "%arg 2%" to {spawners::*}
                    else:
                        send "%{cp}% &e%arg 2% &7adında spawner var!"
                else:
                    send "%{cp}% &e/itemsp ekle <spawner>"
            if arg 1 is "sil":
                if arg 2 is set:
                    if {%arg 2%:spawner} is set:
                        delete yaml value "%arg 2%" from file "plugins/{@dosya}/spawner.yml"
                        delete {%arg 2%:spawner}
                        remove "%arg 2%" from {spawners::*}
                        send "%{cp}% &e%arg 2% &7spawner &csilindi"
                    else:
                        send "%{cp}% &e%arg 2% &cadında spawner bulunamadı!"
                else:
                    send "%{cp}% &e/itemsp sil <spawner>"
            if arg 1 is "list":
                if {spawners::*} is set:
                    send "&7########## Ferhat Kabal Spawners ##########"
                    send ""
                    loop {spawners::*}:
                        send "&f- &e%loop-value% &8> %{%loop-value%:Ad}%"
                    send ""
                    send "&7########## Ferhat Kabal Spawners ##########"
                else:
                    send "%{cp}% &cSpawner bulunamadı!"

on load:
    if {spawners::*} is set:
        loop {spawners::*}:
            set {%loop-value%:id} to value "%loop-value%.ID" get of "plugins/{@dosya}/spawner.yml"
            set {%loop-value%:Ad} to value "%loop-value%.Ad" get of "plugins/{@dosya}/spawner.yml"
            set {%loop-value%:cn} to value "%loop-value%.Count" get of "plugins/{@dosya}/spawner.yml"
            set {%loop-value%:dl} to value "%loop-value%.Delay" get of "plugins/{@dosya}/spawner.yml"
            set {%loop-value%:md} to value "%loop-value%.MinDelay" get of "plugins/{@dosya}/spawner.yml"
            set {%loop-value%:mxd} to value "%loop-value%.MaxDelay" get of "plugins/{@dosya}/spawner.yml"
            set {%loop-value%:pr} to value "%loop-value%.PlayerRange" get of "plugins/{@dosya}/spawner.yml"

on load:
    execute console command "gamerule sendCommandFeedback false"
    execute console command "gamerule commandBlockOutput false"
    execute console command "gamerule logAdminCommands false"

on place of a mob spawner:
    loop {spawners::*}:
        set {_someVariable} to name of held item of player
        if {_someVariable} is "%{%loop-value%:Ad}%":
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            wait 0 tick
            run player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:%{%loop-value%:id}%,Count:%{%loop-value%:cn}%}},SpawnCount:1,SpawnRange:1,RequiredPlayerRange:%{%loop-value%:pr}%,delay:%{%loop-value%:dl}%,MinSpawndelay:%{%loop-value%:md}%,MaxSpawnDelay:%{%loop-value%:mxd}%,MaxNearbyEntities:9999}" as op
            set {_1} to location of event-block
            set {spawner::%{_1}%} to {_1}
            set {spawner::%{_1}%.isim} to loop-value

on break of mob spawner:
    set {_1} to location of event-block
    if {spawner::%location of event-block%} is set:
        give 1 mob spawner named "%{%{spawner::%{_1}%.isim}%:Ad}%" to player
        delete {spawner::%location of event-block%}
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst