Çözüldü Spawner Skripti Konsolda Çalışmıyor

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

Hafiz01

Odunlara Vur Vur Vur!
Katılım
13 Temmuz 2018
Mesajlar
25
Elmaslar
2
Puan
3.750
Yaş
23
Minecraft
PentaCost01

Discord:

Ömür Tuna Anıl#9447

Bitane Zsp Diye Bi Skript buldum çok iyi çalışıyor fakat bi sorun var konsolda çalışmıyo satış yapıcağımız için site üzerinden çalışmıyor oyunda çalışıyor konsolda çalışmama sebebi nedir ? Çözümü Nedir ?
Skript:
Kod:
#pımcı ZeusPro
#Discord: ZeusPro#2402
#Skype: CengizReizTr

#-------------------Kullanım-------------------
#/ZSp [SpawnerTürü] [Kişi] [SpawnerSayısı]
#/Hak [SpawnerTürü] [Kişi] [HakSayısı]

#-------------------Ayarlar--------------------
options:
    server: &f&lS&6&lC&2&l N&b&lW &7&l» #Sunucu İsmi

variables:
    {limit::spawner} = false #Spawner Limiti

    {dsp::%player%} = 0 #Demir Spawner
    {asp::%player%} = 0 #Altın Spawner
    {zsp::%player%} = 0 #Zümrüt Spawner
    {esp::%player%} = 0 #Elmas Spawner
    {dbsp::%player%} = 0 #Demir Blok Spawner   
    {absp::%player%} = 0 #Altin Blok Spawner   
    {zbsp::%player%} = 0 #Zumrut Blok Spawner   
    {ebsp::%player%} = 0 #Elmas Blok Spawner   


    {dspp::%player%} = 2 #Demir Spawner Limiti
    {aspp::%player%} = 0 #Altın Spawner Limiti
    {zspp::%player%} = 0 #Zümrüt Spawner Limiti
    {espp::%player%} = 0 #Elmas Spawner Limiti
    {sp::%player%} = 0 #Toplam Spawner Sayısı

command /zsp [<text>] [<player>] [<number>]:
    trigger:
        if player has permission "op":
            if arg 1 is not set:
                send "{@server} &7Kullanım &7/&3ZSp &7[&fDemir&7/&6Altın&7/&bElmas&7] [&aIsim&7] [&aAdet&7]" to player
            if arg 1 is "demir" or "iron":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
            if arg 1 is "demirblok" or "ironblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
            if arg 1 is "altın" or "gold" or "altin":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
            if arg 1 is "altınblok" or "goldblock" or "altinblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player 
            if arg 1 is "zümrüt" or "emerald" or "zumrut":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt &aSpawner Verildi." to player
            if arg 1 is "zümrütblok" or "emeraldblock" or "zumrutblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt Blok &aSpawner Verildi." to player
            if arg 1 is "elmas" or "dia" or "diamond":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
            if arg 1 is "elmasblok" or "diablok" or "diamondblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
        else:
            send "{@server} &7Bu komutu kullanamazsın." to player

command /asp [<text>] [<player>] [<number>]:
    usage: /asp [<text>] [<player>] [<number>
    trigger:
        if player has permission ".*":
            if arg 1 is not set:
                send "{@server} &7Kullanım &7/&3ZSp &7[&fDemir&7/&6Altın&7/&bElmas&7] [&aIsim&7] [&aAdet&7]" to player
            if arg 1 is "demir" or "iron":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
            if arg 1 is "demirblok" or "ironblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
            if arg 1 is "altın" or "gold" or "altin":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
            if arg 1 is "altınblok" or "goldblock" or "altinblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player 
            if arg 1 is "zümrüt" or "emerald" or "zumrut":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt &aSpawner Verildi." to player
            if arg 1 is "zümrütblok" or "emeraldblock" or "zumrutblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt Blok &aSpawner Verildi." to player
            if arg 1 is "elmas" or "dia" or "diamond":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
            if arg 1 is "elmasblok" or "diablok" or "diamondblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
        else:
            send "{@server} &7Bu komutu kullanamazsın." to player
        
on place:
    if {limit::spawner} is "true":
        if name of player's tool is "&7Demir &aSpawner":
            if {dsp::%player%} is smaller than or equal to {dspp::%player%}:
                set {dsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to iron ore
                send "{@server} &7Spawneri Başarıyla Koydun."
                send "{@server} &7Spawneri Kazma İle Kırabilirsin."
                add 1 to {dsp::%player%}
                while {dsp1::%location of event-block%::%player%} is set:
                    drop 1 iron ingot
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış."
        if name of player's tool is "&7Demir Blok &aSpawner":
            if {dbsp::%player%} is smaller than or equal to {dbspp::%player%}:
                set {dbsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to iron block
                send "{@server} &7Spawneri Başarıyla Koydun."
                send "{@server} &7Spawneri Kazma İle Kırabilirsin."
                add 1 to {dsp::%player%}
                while {dsp1::%location of event-block%::%player%} is set:
                    drop 1 iron block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış."
        if name of player's tool is "&7Altın &aSpawner":
            if {asp::%player%} is smaller than or equal to {aspp::%player%}:
                set {asp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to gold ore
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                add 1 to {asp::%player%}
                while {asp1::%location of event-block%::%player%} is set:
                    drop 1 gold ingot
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Altın Blok &aSpawner":
            if {absp::%player%} is smaller than or equal to {abspp::%player%}:
                set {absp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to gold block
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                add 1 to {absp::%player%}
                while {absp1::%location of event-block%::%player%} is set:
                    drop 1 gold block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Zümrüt &aSpawner":
            if {zsp::%player%} is smaller than or equal to {zspp::%player%}:
                set {zsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to emerald ore
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {zsp::%player%}
                while {zsp1::%location of event-block%::%player%} is set:
                    drop 1 emerald
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Zümrüt Blok &aSpawner":
            if {zbsp::%player%} is smaller than or equal to {zbspp::%player%}:
                set {zbsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to emerald block
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {zbsp::%player%}
                while {zbsp1::%location of event-block%::%player%} is set:
                    drop 1 emerald block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Elmas &aSpawner":
            if {esp::%player%} is smaller than or equal to {espp::%player%}:
                set {esp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to diamond ore
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {esp::%player%}
                while {esp1::%location of event-block%::%player%} is set:
                    drop 1 diamond
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Elmas Blok &aSpawner":
            if {ebsp::%player%} is smaller than or equal to {ebspp::%player%}:
                set {ebsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to diamond block
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {ebsp::%player%}
                while {ebsp1::%location of event-block%::%player%} is set:
                    drop 1 diamond block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
    else:
        if name of player's tool is "&7Demir &aSpawner":
            set {dsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to iron ore
            send "{@server} &7Spawneri Başarıyla Koydun."
            send "{@server} &7Spawneri Kazma İle Kırabilirsin."
            add 1 to {dsp::%player%}
            while {dsp1::%location of event-block%::%player%} is set:
                drop 1 iron ingot
                wait 12 second
        if name of player's tool is "&7Demir Blok &aSpawner":
            set {dbsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to iron block
            send "{@server} &7Spawneri Başarıyla Koydun."
            send "{@server} &7Spawneri Kazma İle Kırabilirsin."
            add 1 to {dbsp::%player%}
            while {dbsp1::%location of event-block%::%player%} is set:
                drop 1 iron block
                wait 12 second
        if name of player's tool is "&7Altın &aSpawner":
            set {asp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to gold ore
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            add 1 to {asp::%player%}
            while {asp1::%location of event-block%::%player%} is set:
                drop 1 gold ingot
                wait 12 second
        if name of player's tool is "&7Altın Blok &aSpawner":
            set {absp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to gold block
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            add 1 to {absp::%player%}
            while {absp1::%location of event-block%::%player%} is set:
                drop 1 gold block
                wait 12 second
        if name of player's tool is "&7Zümrüt &aSpawner":
            set {zsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to emerald ore
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {zsp::%player%}
            while {zsp1::%location of event-block%::%player%} is set:
                drop 1 emerald
                wait 12 second
        if name of player's tool is "&7Zümrüt Blok &aSpawner":
            set {zbsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to emerald block
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {zbsp::%player%}
            while {zbsp1::%location of event-block%::%player%} is set:
                drop 1 emerald block
                wait 12 second
        if name of player's tool is "&7Elmas &aSpawner":
            set {esp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to diamond ore
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {esp::%player%}
            while {esp1::%location of event-block%::%player%} is set:
                drop 1 diamond
                wait 12 second
        if name of player's tool is "&7Elmas Blok &aSpawner":
            set {ebsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to diamond block
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {ebsp::%player%}
            while {ebsp1::%location of event-block%::%player%} is set:
                drop 1 diamond block
                wait 12 second

on break:
    if {dsp1::%location of event-block%::%player%} is set:
        remove 1 from {dsp::%player%}   
        cancel event
        set block to air
        clear {dsp1::%location of event-block%::%player%}
        remove location of event-block from {dsp1::*}
        give 1 iron ore named "&7Demir &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {dbsp1::%location of event-block%::%player%} is set:
        remove 1 from {dbsp::%player%}   
        cancel event
        set block to air
        clear {dbsp1::%location of event-block%::%player%}
        remove location of event-block from {dbsp1::*}
        give 1 iron block named "&7Demir Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {asp1::%location of event-block%::%player%} is set:
        remove 1 from {asp::%player%}
        cancel event
        set block to air
        clear {asp1::%location of event-block%::%player%}
        remove location of event-block from {asp1::*}
        give 1 gold ore named "&7Altın &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {absp1::%location of event-block%::%player%} is set:
        remove 1 from {absp::%player%}
        cancel event
        set block to air
        clear {absp1::%location of event-block%::%player%}
        remove location of event-block from {absp1::*}
        give 1 gold block named "&7Altın Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {zsp1::%location of event-block%::%player%} is set:
        remove 1 from {zsp::%player%}
        cancel event
        set block to air
        clear {zsp1::%location of event-block%::%player%}
        remove location of event-block from {zsp1::*}
        give 1 emerald ore named "&7Zümrüt &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {zbsp1::%location of event-block%::%player%} is set:
        remove 1 from {zbsp::%player%}
        cancel event
        set block to air
        clear {zbsp1::%location of event-block%::%player%}
        remove location of event-block from {zbsp1::*}
        give 1 emerald block named "&7Zümrüt Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {esp1::%location of event-block%::%player%} is set:
        remove 1 from {esp::%player%}
        cancel event
        set block to air
        clear {esp1::%location of event-block%::%player%}
        remove location of event-block from {esp1::*}
        give 1 diamond ore named "&7Elmas &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {ebsp1::%location of event-block%::%player%} is set:
        remove 1 from {ebsp::%player%}
        cancel event
        set block to air
        clear {ebsp1::%location of event-block%::%player%}
        remove location of event-block from {ebsp1::*}
        give 1 diamond block named "&7Elmas Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
        
command /Hak [<text>] [<player>] [<number>]:
    trigger:
        if player has permission "op":
            if arg 1 is set:
                if arg 2 is set:
                    if arg 3 is set:
                        if arg 1 is "demir" or "iron":
                            add arg-3 to {dspp::%arg 2%}
                        if arg 1 is "altın" or "gold":
                            add arg-3 to {aspp::%arg 2%}
                        if arg 1 is "dia" or "diamond" or "elmas":
                            add arg-3 to {espp::%arg 2%}
                        if arg 1 is "zümrüt" or "emerald":
                            add arg-3 to {zspp::%arg 2%}
                        send "{@server} &a%arg-2% &7adlı kişiye &61 &7adet &3%arg-1% &7Spawner kullanım hakkı verildi"
                    else:
                        send "{@server} &cSayı Girmelisin!"
                else:
                    send "{@server} &cIsim Girmelisin!"
            else:
                send "{@server} &7Kullanım &7/&2Hak &7[&fDemir&7/&6Altın&7/&bElmas&7/&eEnd&7/&3Sünger&7] [&aIsim&7] [&aAdet&7]" to player
        else:
            send "{@server} &7Bu komutu kullanamazsın." to player
 
Kod:
#Discord: ZeusPro#2402
#Skype: CengizReizTr

#-------------------Kullanım-------------------
#/ZSp [SpawnerTürü] [Kişi] [SpawnerSayısı]
#/Hak [SpawnerTürü] [Kişi] [HakSayısı]

#-------------------Ayarlar--------------------
options:
    server: &f&lS&6&lC&2&l N&b&lW &7&l» #Sunucu İsmi

variables:
    {limit::spawner} = false #Spawner Limiti

    {dsp::%player%} = 0 #Demir Spawner
    {asp::%player%} = 0 #Altın Spawner
    {zsp::%player%} = 0 #Zümrüt Spawner
    {esp::%player%} = 0 #Elmas Spawner
    {dbsp::%player%} = 0 #Demir Blok Spawner   
    {absp::%player%} = 0 #Altin Blok Spawner   
    {zbsp::%player%} = 0 #Zumrut Blok Spawner   
    {ebsp::%player%} = 0 #Elmas Blok Spawner   


    {dspp::%player%} = 2 #Demir Spawner Limiti
    {aspp::%player%} = 0 #Altın Spawner Limiti
    {zspp::%player%} = 0 #Zümrüt Spawner Limiti
    {espp::%player%} = 0 #Elmas Spawner Limiti
    {sp::%player%} = 0 #Toplam Spawner Sayısı

command /zsp [<text>] [<player>] [<number>]:
    trigger:
        if player has permission "op":
            if arg 1 is not set:
                send "{@server} &7Kullanım &7/&3ZSp &7[&fDemir&7/&6Altın&7/&bElmas&7] [&aIsim&7] [&aAdet&7]" to player
            if arg 1 is "demir" or "iron":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
            if arg 1 is "demirblok" or "ironblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
            if arg 1 is "altın" or "gold" or "altin":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
            if arg 1 is "altınblok" or "goldblock" or "altinblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
            if arg 1 is "zümrüt" or "emerald" or "zumrut":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt &aSpawner Verildi." to player
            if arg 1 is "zümrütblok" or "emeraldblock" or "zumrutblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt Blok &aSpawner Verildi." to player
            if arg 1 is "elmas" or "dia" or "diamond":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
            if arg 1 is "elmasblok" or "diablok" or "diamondblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
        else:
            send "{@server} &7Bu komutu kullanamazsın." to player

command /asp [<text>] [<player>] [<number>]:
    usage: /asp [<text>] [<player>] [<number>
    trigger:
        if player has permission ".*":
            if arg 1 is not set:
                send "{@server} &7Kullanım &7/&3ZSp &7[&fDemir&7/&6Altın&7/&bElmas&7] [&aIsim&7] [&aAdet&7]" to player
            if arg 1 is "demir" or "iron":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir &aSpawner Verildi." to player
            if arg 1 is "demirblok" or "ironblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                        send "{@server} &fDemir Blok &aSpawner Verildi." to player
            if arg 1 is "altın" or "gold" or "altin":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın &aSpawner Verildi." to player
            if arg 1 is "altınblok" or "goldblock" or "altinblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                        send "{@server} &6Altın Blok &aSpawner Verildi." to player
            if arg 1 is "zümrüt" or "emerald" or "zumrut":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt &aSpawner Verildi." to player
            if arg 1 is "zümrütblok" or "emeraldblock" or "zumrutblok":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bZümrüt Blok &aSpawner Verildi." to player
            if arg 1 is "elmas" or "dia" or "diamond":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas &aSpawner Verildi." to player
            if arg 1 is "elmasblok" or "diablok" or "diamondblock":
                if arg 2 is not set:
                    if arg 3 is set:
                        execute console command "give %player% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %player% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                if arg 2 is set:
                    if arg 3 is set:
                        execute console command "give %arg-2% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 3 is not set:
                        execute console command "give %arg-2% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                        send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                        send "{@server} &bElmas Blok &aSpawner Verildi." to player
        else:
            if sender is console:
                if arg 1 is not set:
                    send "{@server} &7Kullanım &7/&3ZSp &7[&fDemir&7/&6Altın&7/&bElmas&7] [&aIsim&7] [&aAdet&7]" to player
                if arg 1 is "demir" or "iron":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% iron_ore %arg-3% name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir &aSpawner Verildi." to arg-2
                            send "{@server} &fDemir &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% iron_ore 1 name:&7Demir_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir &aSpawner Verildi." to arg-2
                            send "{@server} &fDemir &aSpawner Verildi." to player
                if arg 1 is "demirblok" or "ironblock":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir Blok &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% iron_block %arg-3% name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                            send "{@server} &fDemir Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% iron_block 1 name:&7Demir_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &fDemir Blok &aSpawner Verildi." to arg-2
                            send "{@server} &fDemir Blok &aSpawner Verildi." to player
                if arg 1 is "altın" or "gold" or "altin":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% gold_ore %arg-3% name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın &aSpawner Verildi." to arg-2
                            send "{@server} &6Altın &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% gold_ore 1 name:&7Altın_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın &aSpawner Verildi." to arg-2
                            send "{@server} &6Altın &aSpawner Verildi." to player
                if arg 1 is "altınblok" or "goldblock" or "altinblok":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın Blok &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% gold_block %arg-3% name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                            send "{@server} &6Altın Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% gold_block 1 name:&7Altın_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &6Altın Blok &aSpawner Verildi." to arg-2
                            send "{@server} &6Altın Blok &aSpawner Verildi." to player
                if arg 1 is "zümrüt" or "emerald" or "zumrut":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% emerald_ore %arg-3% name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                            send "{@server} &2Zümrüt &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% emerald_ore 1 name:&7Zümrüt_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt &aSpawner Verildi." to arg-2
                            send "{@server} &bZümrüt &aSpawner Verildi." to player
                if arg 1 is "zümrütblok" or "emeraldblock" or "zumrutblok":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% emerald_block %arg-3% name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                            send "{@server} &2Zümrüt Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% emerald_block 1 name:&7Zümrüt_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &2Zümrüt Blok &aSpawner Verildi." to arg-2
                            send "{@server} &bZümrüt Blok &aSpawner Verildi." to player
                if arg 1 is "elmas" or "dia" or "diamond":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% diamond_ore %arg-3% name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas &aSpawner Verildi." to arg-2
                            send "{@server} &bElmas &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% diamond_ore 1 name:&7Elmas_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas &aSpawner Verildi." to arg-2
                            send "{@server} &bElmas &aSpawner Verildi." to player
                if arg 1 is "elmasblok" or "diablok" or "diamondblock":
                    if arg 2 is not set:
                        if arg 3 is set:
                            execute console command "give %player% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %player% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas Blok &aSpawner Verildi." to player
                    if arg 2 is set:
                        if arg 3 is set:
                            execute console command "give %arg-2% diamond_block %arg-3% name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                            send "{@server} &bElmas Blok &aSpawner Verildi." to player
                        if arg 3 is not set:
                            execute console command "give %arg-2% diamond_block 1 name:&7Elmas_Blok_&aSpawner lore:&b&lSC&6&l NW_&3»_&7Kazma_ile_kırınız"
                            send "{@server} &bElmas Blok &aSpawner Verildi." to arg-2
                            send "{@server} &bElmas Blok &aSpawner Verildi." to player
            else:
                send "{@server} &7Bu komutu kullanamazsın." to player
        
on place:
    if {limit::spawner} is "true":
        if name of player's tool is "&7Demir &aSpawner":
            if {dsp::%player%} is smaller than or equal to {dspp::%player%}:
                set {dsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to iron ore
                send "{@server} &7Spawneri Başarıyla Koydun."
                send "{@server} &7Spawneri Kazma İle Kırabilirsin."
                add 1 to {dsp::%player%}
                while {dsp1::%location of event-block%::%player%} is set:
                    drop 1 iron ingot
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış."
        if name of player's tool is "&7Demir Blok &aSpawner":
            if {dbsp::%player%} is smaller than or equal to {dbspp::%player%}:
                set {dbsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to iron block
                send "{@server} &7Spawneri Başarıyla Koydun."
                send "{@server} &7Spawneri Kazma İle Kırabilirsin."
                add 1 to {dsp::%player%}
                while {dsp1::%location of event-block%::%player%} is set:
                    drop 1 iron block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış."
        if name of player's tool is "&7Altın &aSpawner":
            if {asp::%player%} is smaller than or equal to {aspp::%player%}:
                set {asp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to gold ore
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                add 1 to {asp::%player%}
                while {asp1::%location of event-block%::%player%} is set:
                    drop 1 gold ingot
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Altın Blok &aSpawner":
            if {absp::%player%} is smaller than or equal to {abspp::%player%}:
                set {absp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to gold block
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                add 1 to {absp::%player%}
                while {absp1::%location of event-block%::%player%} is set:
                    drop 1 gold block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Zümrüt &aSpawner":
            if {zsp::%player%} is smaller than or equal to {zspp::%player%}:
                set {zsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to emerald ore
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {zsp::%player%}
                while {zsp1::%location of event-block%::%player%} is set:
                    drop 1 emerald
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Zümrüt Blok &aSpawner":
            if {zbsp::%player%} is smaller than or equal to {zbspp::%player%}:
                set {zbsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to emerald block
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {zbsp::%player%}
                while {zbsp1::%location of event-block%::%player%} is set:
                    drop 1 emerald block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Elmas &aSpawner":
            if {esp::%player%} is smaller than or equal to {espp::%player%}:
                set {esp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to diamond ore
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {esp::%player%}
                while {esp1::%location of event-block%::%player%} is set:
                    drop 1 diamond
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
        if name of player's tool is "&7Elmas Blok &aSpawner":
            if {ebsp::%player%} is smaller than or equal to {ebspp::%player%}:
                set {ebsp1::%location of event-block%::%player%} to location of event-block
                wait 2 tick
                set block to diamond block
                send "{@server} &7Spawneri Başarıyla Koydun." to player
                send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
                wait 2 tick
                add 1 to {ebsp::%player%}
                while {ebsp1::%location of event-block%::%player%} is set:
                    drop 1 diamond block
                    wait 12 second
            else:
                cancel event
                send "{@server} &7Spawner Koymak İçin Hakkın Kalmamış" to player
    else:
        if name of player's tool is "&7Demir &aSpawner":
            set {dsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to iron ore
            send "{@server} &7Spawneri Başarıyla Koydun."
            send "{@server} &7Spawneri Kazma İle Kırabilirsin."
            add 1 to {dsp::%player%}
            while {dsp1::%location of event-block%::%player%} is set:
                drop 1 iron ingot
                wait 12 second
        if name of player's tool is "&7Demir Blok &aSpawner":
            set {dbsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to iron block
            send "{@server} &7Spawneri Başarıyla Koydun."
            send "{@server} &7Spawneri Kazma İle Kırabilirsin."
            add 1 to {dbsp::%player%}
            while {dbsp1::%location of event-block%::%player%} is set:
                drop 1 iron block
                wait 12 second
        if name of player's tool is "&7Altın &aSpawner":
            set {asp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to gold ore
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            add 1 to {asp::%player%}
            while {asp1::%location of event-block%::%player%} is set:
                drop 1 gold ingot
                wait 12 second
        if name of player's tool is "&7Altın Blok &aSpawner":
            set {absp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to gold block
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            add 1 to {absp::%player%}
            while {absp1::%location of event-block%::%player%} is set:
                drop 1 gold block
                wait 12 second
        if name of player's tool is "&7Zümrüt &aSpawner":
            set {zsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to emerald ore
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {zsp::%player%}
            while {zsp1::%location of event-block%::%player%} is set:
                drop 1 emerald
                wait 12 second
        if name of player's tool is "&7Zümrüt Blok &aSpawner":
            set {zbsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to emerald block
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {zbsp::%player%}
            while {zbsp1::%location of event-block%::%player%} is set:
                drop 1 emerald block
                wait 12 second
        if name of player's tool is "&7Elmas &aSpawner":
            set {esp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to diamond ore
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {esp::%player%}
            while {esp1::%location of event-block%::%player%} is set:
                drop 1 diamond
                wait 12 second
        if name of player's tool is "&7Elmas Blok &aSpawner":
            set {ebsp1::%location of event-block%::%player%} to location of event-block
            wait 2 tick
            set block to diamond block
            send "{@server} &7Spawneri Başarıyla Koydun." to player
            send "{@server} &7Spawneri Kazma İle Kırabilirsin." to player
            wait 2 tick
            add 1 to {ebsp::%player%}
            while {ebsp1::%location of event-block%::%player%} is set:
                drop 1 diamond block
                wait 12 second

on break:
    if {dsp1::%location of event-block%::%player%} is set:
        remove 1 from {dsp::%player%}   
        cancel event
        set block to air
        clear {dsp1::%location of event-block%::%player%}
        remove location of event-block from {dsp1::*}
        give 1 iron ore named "&7Demir &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {dbsp1::%location of event-block%::%player%} is set:
        remove 1 from {dbsp::%player%}   
        cancel event
        set block to air
        clear {dbsp1::%location of event-block%::%player%}
        remove location of event-block from {dbsp1::*}
        give 1 iron block named "&7Demir Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {asp1::%location of event-block%::%player%} is set:
        remove 1 from {asp::%player%}
        cancel event
        set block to air
        clear {asp1::%location of event-block%::%player%}
        remove location of event-block from {asp1::*}
        give 1 gold ore named "&7Altın &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {absp1::%location of event-block%::%player%} is set:
        remove 1 from {absp::%player%}
        cancel event
        set block to air
        clear {absp1::%location of event-block%::%player%}
        remove location of event-block from {absp1::*}
        give 1 gold block named "&7Altın Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {zsp1::%location of event-block%::%player%} is set:
        remove 1 from {zsp::%player%}
        cancel event
        set block to air
        clear {zsp1::%location of event-block%::%player%}
        remove location of event-block from {zsp1::*}
        give 1 emerald ore named "&7Zümrüt &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {zbsp1::%location of event-block%::%player%} is set:
        remove 1 from {zbsp::%player%}
        cancel event
        set block to air
        clear {zbsp1::%location of event-block%::%player%}
        remove location of event-block from {zbsp1::*}
        give 1 emerald block named "&7Zümrüt Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {esp1::%location of event-block%::%player%} is set:
        remove 1 from {esp::%player%}
        cancel event
        set block to air
        clear {esp1::%location of event-block%::%player%}
        remove location of event-block from {esp1::*}
        give 1 diamond ore named "&7Elmas &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
    if {ebsp1::%location of event-block%::%player%} is set:
        remove 1 from {ebsp::%player%}
        cancel event
        set block to air
        clear {ebsp1::%location of event-block%::%player%}
        remove location of event-block from {ebsp1::*}
        give 1 diamond block named "&7Elmas Blok &aSpawner" with lore "&b&lSC&6&l NW &3» &7Kazma ile kırınız" to player
        send "{@server} &7Spawnerin verildi." to player
 
        
command /Hak [<text>] [<player>] [<number>]:
    trigger:
        if player has permission "op":
            if arg 1 is set:
                if arg 2 is set:
                    if arg 3 is set:
                        if arg 1 is "demir" or "iron":
                            add arg-3 to {dspp::%arg 2%}
                        if arg 1 is "altın" or "gold":
                            add arg-3 to {aspp::%arg 2%}
                        if arg 1 is "dia" or "diamond" or "elmas":
                            add arg-3 to {espp::%arg 2%}
                        if arg 1 is "zümrüt" or "emerald":
                            add arg-3 to {zspp::%arg 2%}
                        send "{@server} &a%arg-2% &7adlı kişiye &61 &7adet &3%arg-1% &7Spawner kullanım hakkı verildi"
                    else:
                        send "{@server} &cSayı Girmelisin!"
                else:
                    send "{@server} &cIsim Girmelisin!"
            else:
                send "{@server} &7Kullanım &7/&2Hak &7[&fDemir&7/&6Altın&7/&bElmas&7/&eEnd&7/&3Sünger&7] [&aIsim&7] [&aAdet&7]" to player
        else:
            if sender is console:
                if arg 1 is set:
                    if arg 2 is set:
                        if arg 3 is set:
                            if arg 1 is "demir" or "iron":
                                add arg-3 to {dspp::%arg 2%}
                            if arg 1 is "altın" or "gold":
                                add arg-3 to {aspp::%arg 2%}
                            if arg 1 is "dia" or "diamond" or "elmas":
                                add arg-3 to {espp::%arg 2%}
                            if arg 1 is "zümrüt" or "emerald":
                                add arg-3 to {zspp::%arg 2%}
                            send "{@server} &a%arg-2% &7adlı kişiye &61 &7adet &3%arg-1% &7Spawner kullanım hakkı verildi"
                        else:
                            send "{@server} &cSayı Girmelisin!"
                    else:
                        send "{@server} &cIsim Girmelisin!"
                else:
                    send "{@server} &7Kullanım &7/&2Hak &7[&fDemir&7/&6Altın&7/&bElmas&7/&eEnd&7/&3Sünger&7] [&aIsim&7] [&aAdet&7]" to player
            else:
                send "{@server} &7Bu komutu kullanamazsın." to player
 
çok teşekkürler oldu :)
 
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