Çözüldü Spawner Market Skripti

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

HzReach

Somon Balığı Selam Vermeye Geldi
Katılım
25 Ağustos 2019
Mesajlar
16
Elmaslar
3
Puan
0
Yaş
31
Minecraft
HzReach
Selamlar. Bana sunucum için spawner market skripti lazım. /spmarket yazdıklarında bir menü açılacak ve o menüden oyun parası karşılığında demir, demir blok, altın, altın blok vs spawner alabilecekler. Yardımcı olursanız sevinirim şimdiden teşekkürler.
 
Merhaba dostum bu kodu deneyip geri dönüş yaparmısın,
Kod:
command /spmarket:
    trigger:
        open chest with 1 row named "&8&lSpawner Al" to player
        wait 2 ticks
        format slot 4 of player with diamond block named "&eElmas Blok Spawner" with lore "&8| &f&l1.900.000.000TL &8|" to close then run [execute player command "elmasbal"]         


command /elmasbal:
    trigger:
        if player's balance is bigger than or equal to 1900000000:
            remove 1900000000 from player's balance
            execute console command "/itemspawner ver %player% elmasblok 1"
            send player title "&a✔" with subtitle "&aİşlem Başarılı!" for 2 seconds
        else:
            send player title "&4✘" with subtitle "&cYetersiz Para" for 2 seconds


İstedigin gibi editleyebilirsin kopyalayıp cogaltırsın command'ı /demirbal al olarak yaparsan coğaltırsın /
excute console command "/itemspawner ver %player% elmasblok 1"

Burada ise hangı spawner plugin'ini kullanıyorsan ona göre komutunu düzelticeksin.


 
İstediğin Bu olsa gerek

Kod:
command /spmarket:
    trigger:
        close player's inventory
        wait 2 tick
        open chest with 2 rows named "Spawner Market" to player
        wait 2 tick
        format slot 0 of player with 1 torch named "&d&lParayla ode" with lore "&aParanla odeyecegin spmarket acılır" to run [execute player command "spmarket"]
        format slot 1 of player with 1 monster spawner named "&f&lDemir Spawner" with lore "&aFiyat &410M &bTl" to run [execute player command "demirspal"]          
        format slot 2 of player with 1 monster spawner named "&f&lDemir Blok Spawner" with lore "&aFiyat &420M &bTl" to run [execute player command "demirblokspal"]
        format slot 3 of player with 1 monster spawner named "&e&lAltin Spawner" with lore "&aFiyat &440M &bTl" to run [execute player command "altinspal"]
        format slot 4 of player with 1 monster spawner named "&e&lAltin Blok Spawner" with lore "&aFiyat &460M &bTl" to run [execute player command "altinblokspal"]
        format slot 5 of player with 1 monster spawner named "&a&lZumrut Spawner" with lore "&aFiyat &480M &bTl" to run [execute player command "zumrutspal"]
        format slot 6 of player with 1 monster spawner named "&a&lZumrut Blok Spawner" with lore "&aFiyat &4100M &bTl" to run [execute player command "zumrutblokspal"]
        format slot 7 of player with 1 monster spawner named "&b&lElmas Spawner" with lore "&aFiyat &4120M &bTl" to run [execute player command "elmasspal"]
        format slot 8 of player with 1 monster spawner named "&b&lElmas Blok Spawner" with lore "&aFiyat &4140M &bTl" to run [execute player command "elmasblokspal"]
        format slot 9 of player with 1 torch named "&d&lKrediyle ode" with lore "&aKredinle odeyecegin spmarket acilir" to run [execute player command "spkredimarket"]
        format slot 10 of player with 1 monster spawner named "&2&lYosunlu Tas Spawner" with lore "&aFiyat &4250Milyon &bTl" to run [execute player command "yosunlutasspal"]
        format slot 11 of player with 1 monster spawner named "&1&lObsidian Spawner" with lore "&aFiyat &4500Milyon &bTl" to run [execute player command "obsidianspal"]
        format slot 12 of player with 1 monster spawner named "&e&lSunger Spawner" with lore "&aFiyat &42Milyar &bTl" to run [execute player command "sungerspal"]

command /demirspal:
    trigger:
        if player's balance is bigger than 999999:
            give monster spawner named "&f&lDemir Spawner" to player
            send "&6Spawner Market &8&m->&r &fDemir Spawner &aSatin Aldiniz"
            remove 10000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /demirblokspal:
    trigger:
        if player's balance is bigger than 19999999:
            give monster spawner named "&f&lDemir Blok Spawner" to player
            send "&6Spawner Market &8&m->&r &fDemir Blok Spawner &aSatin Aldiniz"
            remove 20000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /altinspal:
    trigger:
        if player's balance is bigger than 39999999:
            give monster spawner named "&e&lAltin Spawner" to player
            send "&6Spawner Market &8&m->&r &eAltin Spawner &aSatin Aldiniz"
            remove 40000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /altinblokspal:
    trigger:
        if player's balance is bigger than 59999999:
            give monster spawner named "&e&lAltin Blok Spawner" to player
            send "&6Spawner Market &8&m->&r &eAltin Blok Spawner &aSatin Aldiniz"
            remove 60000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /zumrutspal:
    trigger:
        if player's balance is bigger than 79999999:
            give monster spawner named "&a&lZumrut Spawner" to player
            send "&6Spawner Market &8&m->&r &aZumrut Spawner &aSatin Aldiniz"
            remove 80000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /zumrutblokspal:
    trigger:
        if player's balance is bigger than 99999999:
            give monster spawner named "&a&lZumrut Blok Spawner" to player
            send "&6Spawner Market &8&m->&r &aZumrut Blok Spawner &aSatin Aldiniz"
            remove 100000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /elmasspal:
    trigger:
        if player's balance is bigger than 119999999:
            give monster spawner named "&b&lElmas Spawner" to player
            send "&6Spawner Market &8&m->&r &bElmas Spawner &aSatin Aldiniz"
            remove 120000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /elmasblokspal:
    trigger:
        if player's balance is bigger than 139999999:
            give monster spawner named "&b&lElmas Blok Spawner" to player
            send "&6Spawner Market &8&m->&r &bElmas Blok Spawner &aSatin Aldiniz"
            remove 140000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /yosunlutasspal:
    trigger:
        if player's balance is bigger than 249999999:
            give monster spawner named "&2&lYosunlu Tas Spawner" to player
            send "&6Spawner Market &8&m->&r &eYosunlu Tas Spawner &aSatin Aldiniz"
            remove 250000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /obsidianspal:
    trigger:
        if player's balance is bigger than 499999999:
            give monster spawner named "&1&lObsidian Spawner" to player
            send "&6Spawner Market &8&m->&r &eObsidian Spawner &aSatin Aldiniz"
            remove 500000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"

command /sungerspal:
    trigger:
        if player's balance is bigger than 749999999:
            give monster spawner named "&e&lSunger Spawner" to player
            send "&6Spawner Market &8&m->&r &eSunger Spawner &aSatin Aldiniz"
            remove 750000000 from player's balance
        else:
            send "&6Spawner Market &8&m->&r &aParaniz Yetersiz"




command /demirsp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&f&lDemir Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&f&lDemir Spawner":                  
        set {_location} to location of targeted block
        set {demirspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:iron_ingot,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {demirspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {demirspawner1::*}
        clear {demirspawner1::%location of targeted block%}
        give 1 mob spawner named "&f&lDemir Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player


command /demirbloksp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&f&lDemir Blok Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&f&lDemir Blok Spawner":                  
        set {_location} to location of targeted block
        set {demirblokspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:iron_block,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {demirblokspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {demirblokspawner1::*}
        clear {demirblokspawner1::%location of targeted block%}
        give 1 mob spawner named "&f&lDemir Blok Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /altinsp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&e&lAltin Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&e&lAltin Spawner":                  
        set {_location} to location of targeted block
        set {altinspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:gold_ingot,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {altinspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {altinspawner1::*}
        clear {altinspawner1::%location of targeted block%}
        give 1 mob spawner named "&e&lAltin Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /altinbloksp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&e&lAltin Blok Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&e&lAltin Blok Spawner":                  
        set {_location} to location of targeted block
        set {altinblokspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:gold_block,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {altinblokspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {altinblokspawner1::*}
        clear {altinblokspawner1::%location of targeted block%}
        give 1 mob spawner named "&e&lAltin Blok Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /zumrutsp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&a&lZumrut Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&a&lZumrut Spawner":                  
        set {_location} to location of targeted block
        set {zumrutspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:emerald,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {zumrutspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {zumrutspawner1::*}
        clear {zumrutspawner1::%location of targeted block%}
        give 1 mob spawner named "&a&lZumrut Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /zumrutbloksp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&a&lZumrut Blok Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&a&lZumrut Blok Spawner":                  
        set {_location} to location of targeted block
        set {zumrutblokspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:emerald_block,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {zumrutblokspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {zumrutblokspawner1::*}
        clear {zumrutblokspawner1::%location of targeted block%}
        give 1 mob spawner named "&a&lZumrut Blok Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /elmassp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&b&lElmas Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&b&lElmas Spawner":                  
        set {_location} to location of targeted block
        set {elmasspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:diamond,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {elmasspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {elmasspawner1::*}
        clear {elmasspawner1::%location of targeted block%}
        give 1 mob spawner named "&b&lElmas Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /elmasbloksp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&b&lElmas Blok Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&b&lElmas Blok Spawner":                  
        set {_location} to location of targeted block
        set {elmasblokspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:diamond_block,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {elmasblokspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {elmasblokspawner1::*}
        clear {elmasblokspawner1::%location of targeted block%}
        give 1 mob spawner named "&b&lElmas Blok Spawner" to player

command /yosunlutassp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&2&lYosunlu Tas Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&2&lYosunlu Tas Spawner":                  
        set {_location} to location of targeted block
        set {yosunlutasspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:mossy_cobblestone,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {yosunlutasspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {yosunlutasspawner1::*}
        clear {yosunlutasspawner1::%location of targeted block%}
        give 1 mob spawner named "&2&lYosunlu Tas Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /obsidiansp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&1&lObsidian Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&1&lobsidian Spawner":                  
        set {_location} to location of targeted block
        set {obsidianspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:obsidian,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {obsidianspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {obsidianspawner1::*}
        clear {obsidianspawner1::%location of targeted block%}
        give 1 mob spawner named "&1&lObsidian Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

command /sungersp:
    permission: op
    permission message: &6&lMega&e&lSky&5&lNW &8» &9Bu komutu kullanamazsın.
    trigger:
        give 1 mob spawner named "&e&lSunger Spawner" to player
       
on place of mob spawner:
    if name of player's tool is "&e&lSunger Spawner":                  
        set {_location} to location of targeted block
        set {sungerspawner1::%{_location}%} to {_location}      
        set {_x} to x coord of event-location
        set {_y} to y coord of event-location
        set {_z} to z coord of event-location
        execute console command "manuaddp %player% minecraft.command.setblock"
        wait 2 tick
        execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:sponge,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:100,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:30,MaxNearbyEntities:999999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"  
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawneri kazma ile kırabilirsin." to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Kırınca sana verilecektir." to player

on break of mob spawner:
    if {sungerspawner1::%location of targeted block%} is set:
        cancel event
        set block to air
        remove location of targeted block from {sungerspawner1::*}
        clear {sugerspawner1::%location of targeted block%}
        give 1 mob spawner named "&e&lSunger Spawner" to player
        send "&6&lMega&e&lSky&5&lNW &8» &9Spawnerin verildi." to player

Bunu bende kullanıyorum saten ben bir bulduğum skripti editledim ve bu hale geldi bula bildiğin en iyi skriptlerden biri olacağını düşünüyorum

Elmasımı Bekliyom xd
 
Kod:
command /spmarket:
    trigger:
        open chest with 1 row named "&8&lSpawner Al" to player
        wait 2 ticks
        format slot 4 of player with diamond block named "&eElmas Blok Spawner" with lore "&8| &f&l1.900.000.000TL &8|" to close then run [execute player command "elmasbal"]
        format slot 8 of player with iron block named "&fDemir Blok Spawner" with lore "&8| &f&l19.000.000TL &8|" to close then run [execute player command "demirbal"]
 
Herkese teşekkür ederim. Konu Kilitlenebilir
 
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