spawner skripti

  • Konuyu Başlatan Konuyu Başlatan 2Adam
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.155

2Adam

Bir Kömür Göründü Kaptanım!
Katılım
13 Haziran 2018
Mesajlar
165
Elmaslar
11
Puan
0
Minecraft
Mr_Eness
hocam 10 dakikada bir adı &aEsrar olan tohum atıcak spawner istiyorum başka bi özelliği olmasına gerek yok
 
çalışırmı hiç emin değilim ama denemek lazım
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":

        execute console command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}"

command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player

eğer oyuncular yerleştiremezse şunu dene
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":
        execute console command "mangaddp %player% minecraft.command.setblock"
        execute console command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}"
        execute console command "mangdellp %player% minecraft.command.setblock"
command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player
 
çalışırmı hiç emin değilim ama denemek lazım
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":

        execute console command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}"

command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player

eğer oyuncular yerleştiremezse şunu dene
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":
        execute console command "mangaddp %player% minecraft.command.setblock"
        execute console command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}"
        execute console command "mangdellp %player% minecraft.command.setblock"
command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player
itemi atmıyor sebebi yaratıkların kapalı olması olabilir mi
 
çalışırmı hiç emin değilim ama denemek lazım
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":

        execute console command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}"

command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player

eğer oyuncular yerleştiremezse şunu dene
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":
        execute console command "mangaddp %player% minecraft.command.setblock"
        execute console command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}"
        execute console command "mangdellp %player% minecraft.command.setblock"
command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player
şeklinde yapmak yerine
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":
        run player command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}" as op
command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player
şeklinde yapabilirsin
 
şeklinde yapmak yerine
Kod:
on place of mob spawner:
    if name of player's tool is "&6Esrar Spawner":
        run player command "setblock %event-location% minecraft:mob_spawner 0 replace {EntityId:Item,Delay:10,SpawnData:{Item:{id:296,Count:1,display:{Name:""&aEsrar""}},PickupDelay:1}}" as op
command /esrarspawner:
    permission: esrar.admin
    trigger:
        give mob spawner named "&6Esrar Spawner" to player
şeklinde yapabilirsin

Hey dostum olay o değil, ASkyblock gibi birkaç eklenti direk oyuncuda perm varmı diye kontrol ediyor, Sen run kullanarak bunu bypass edemiyorsun*

(*1.8 sürümüne göre)
 
Hey dostum olay o değil, ASkyblock gibi birkaç eklenti direk oyuncuda perm varmı diye kontrol ediyor, Sen run kullanarak bunu bypass edemiyorsun*

(*1.8 sürümüne göre)
daha önce karşılaşmadım olabilir
 
yok mu yapabilcek
 
TEST EDİLDİ
variables:
{dsp.%player%} = 0
{esp.%player%} = 0
{asp.%player%} = 0
{zsp.%player%} = 0
{aasp.%player%} = 0

options:
delay: 1 # zaman
count: 1 # adet

command /dspver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% DSP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eDemirSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {dsp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player

on place of a mob spawner:
if name of player's tool is "&eDemirSpawner":
if {dsp.%player%} is bigger than 0:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eDemir Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {dsp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

command /spbak <player>:
permission: SpreyMC.bakmak
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
arg 1 is set:
send "&cSprey&fMC &eDemir Spawner Sayisi &8= &c%{dsp.%arg 1%}%"
send "&cSprey&fMC &eAltin Spawner Sayisi &8= &c%{asp.%arg 1%}%"
send "&cSprey&fMC &eElmas Spawner Sayisi &8= &c%{esp.%arg 1%}%"
send "&cSprey&fMC &eZumrut Spawner Sayisi &8= &c%{zsp.%arg 1%}%"
send "&cSprey&fMC &cToplam Spawner Sayisi &8= &c%{aasp.%arg 1%}%"
stop
else:
send "&cSprey&fMC &7Lütfen Bir Isim Seciniz"

command /spver <player> <number> <text>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 3 is set:
if arg 3 is "demir":
execute console command "/dspver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
if arg 3 is "elmas":
execute console command "/espver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
if arg 3 is "altin":
execute console command "/aspver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
if arg 3 is "zumrut":
execute console command "/zspver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
else:
send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
else:
send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player

command /espver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% ESP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eElmasSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {esp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player

command /aspver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% ASP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eAltinSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {asp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player

command /zspver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% ZSP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eZumrutSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {zsp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player

on place of a mob spawner:
if name of player's tool is "&eElmasSpawner":
if {esp.%player%} is bigger than 0:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eElmas Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {esp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

on place of a mob spawner:
if name of player's tool is "&eAltinSpawner":
if {asp.%player%} is bigger than 0:
set {_x} to x coord of event-location
set {_y} to y coord of event-location
set {_z} to z coord of event-location
wait 0.3 seconds
execute console command "manuaddp %player% minecraft.command.setblock"
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:gold_ingot,Count:1}},SpawnCount:2,SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eAltin Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {asp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

on place of a mob spawner:
if name of player's tool is "&eZumrutSpawner":
if {zsp.%player%} is bigger than 0:
set {_x} to x coord of event-location
set {_y} to y coord of event-location
set {_z} to z coord of event-location
wait 0.3 seconds
execute console command "manuaddp %player% minecraft.command.setblock"
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:emerald,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eZumrut Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {zsp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

command /spyenile:
trigger:
if player have permission "SpreyMC.SP":
execute console command "sk reload spwnr"
send "&eSprey&FMC &cSkript Basariyla Yenilendi" to player
else:
send "&4Bunu Yapamazsin." to player

command /sp yardim:
trigger:
if player have permission "SpreyMC.SP":
send "&6--------------&cSprey&fMC&6------------" to player
send "&6/spyenile &aSkripti Yeniler"
send "&6/spver <isim> <adet> <spawner (demir , altin , elmas , zumrut)> &aKisiye Spawner Verir " to player
send "&6/spbak <isim> &a Kisinin Kac Adet Spawnere Sahip Oldugu Gozukur"
send "&6/spsil <isim> &a Kisinin Butun Spawnerlerini Siler."
send "&6--------------&cSprey&fMC&6------------" to player

command /spsil <player>:
permission: SpreyMC.sp
permission message: &eBunu Kullanamazsin.
trigger:
set {dsp.%arg 1%} to 0
set {esp.%arg 1%} to 0
set {asp.%arg 1%} to 0
set {zsp.%arg 1%} to 0
set {aasp.%arg 1%} to 0
execute console command "manudelp %arg 1% DSP.Kullanim"
execute console command "manudelp %arg 1% ESP.Kullanim"
execute console command "manudelp %arg 1% ASP.Kullanim"
execute console command "manudelp %arg 1% ZSP.Kullanim"
send "&cSprey&fMC &6Basariyla Butun Spawnerler Silindi !" to player
 
TEST EDİLDİ
variables:
{dsp.%player%} = 0
{esp.%player%} = 0
{asp.%player%} = 0
{zsp.%player%} = 0
{aasp.%player%} = 0

options:
delay: 1 # zaman
count: 1 # adet

command /dspver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% DSP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eDemirSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {dsp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player

on place of a mob spawner:
if name of player's tool is "&eDemirSpawner":
if {dsp.%player%} is bigger than 0:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eDemir Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {dsp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

command /spbak <player>:
permission: SpreyMC.bakmak
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
arg 1 is set:
send "&cSprey&fMC &eDemir Spawner Sayisi &8= &c%{dsp.%arg 1%}%"
send "&cSprey&fMC &eAltin Spawner Sayisi &8= &c%{asp.%arg 1%}%"
send "&cSprey&fMC &eElmas Spawner Sayisi &8= &c%{esp.%arg 1%}%"
send "&cSprey&fMC &eZumrut Spawner Sayisi &8= &c%{zsp.%arg 1%}%"
send "&cSprey&fMC &cToplam Spawner Sayisi &8= &c%{aasp.%arg 1%}%"
stop
else:
send "&cSprey&fMC &7Lütfen Bir Isim Seciniz"

command /spver <player> <number> <text>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 3 is set:
if arg 3 is "demir":
execute console command "/dspver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
if arg 3 is "elmas":
execute console command "/espver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
if arg 3 is "altin":
execute console command "/aspver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
if arg 3 is "zumrut":
execute console command "/zspver %arg 1% %arg 2%"
send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
else:
send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
else:
send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
else:
send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player

command /espver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% ESP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eElmasSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {esp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player

command /aspver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% ASP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eAltinSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {asp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player

command /zspver [<player>] <number>:
permission: SpreyMC.sp
permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "manuaddp %arg 1% ZSP.Kullanim"
execute console command "give %arg 1% 52 %arg 2% name:&eZumrutSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
add arg-2 to {zsp.%arg-1%}
add arg-2 to {aasp.%arg-1%}
else:
send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player
else:
send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player

on place of a mob spawner:
if name of player's tool is "&eElmasSpawner":
if {esp.%player%} is bigger than 0:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eElmas Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {esp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

on place of a mob spawner:
if name of player's tool is "&eAltinSpawner":
if {asp.%player%} is bigger than 0:
set {_x} to x coord of event-location
set {_y} to y coord of event-location
set {_z} to z coord of event-location
wait 0.3 seconds
execute console command "manuaddp %player% minecraft.command.setblock"
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:gold_ingot,Count:1}},SpawnCount:2,SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eAltin Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {asp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

on place of a mob spawner:
if name of player's tool is "&eZumrutSpawner":
if {zsp.%player%} is bigger than 0:
set {_x} to x coord of event-location
set {_y} to y coord of event-location
set {_z} to z coord of event-location
wait 0.3 seconds
execute console command "manuaddp %player% minecraft.command.setblock"
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:emerald,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l » &eZumrut Spawneri başarıyla koydun!"
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
add -1 to {zsp.%player%}
add -1 to {aasp.%player%}
else:
cancel event
Send "&cOnce Satin Almalisiniz" to player

command /spyenile:
trigger:
if player have permission "SpreyMC.SP":
execute console command "sk reload spwnr"
send "&eSprey&FMC &cSkript Basariyla Yenilendi" to player
else:
send "&4Bunu Yapamazsin." to player

command /sp yardim:
trigger:
if player have permission "SpreyMC.SP":
send "&6--------------&cSprey&fMC&6------------" to player
send "&6/spyenile &aSkripti Yeniler"
send "&6/spver <isim> <adet> <spawner (demir , altin , elmas , zumrut)> &aKisiye Spawner Verir " to player
send "&6/spbak <isim> &a Kisinin Kac Adet Spawnere Sahip Oldugu Gozukur"
send "&6/spsil <isim> &a Kisinin Butun Spawnerlerini Siler."
send "&6--------------&cSprey&fMC&6------------" to player

command /spsil <player>:
permission: SpreyMC.sp
permission message: &eBunu Kullanamazsin.
trigger:
set {dsp.%arg 1%} to 0
set {esp.%arg 1%} to 0
set {asp.%arg 1%} to 0
set {zsp.%arg 1%} to 0
set {aasp.%arg 1%} to 0
execute console command "manudelp %arg 1% DSP.Kullanim"
execute console command "manudelp %arg 1% ESP.Kullanim"
execute console command "manudelp %arg 1% ASP.Kullanim"
execute console command "manudelp %arg 1% ZSP.Kullanim"
send "&cSprey&fMC &6Basariyla Butun Spawnerler Silindi !" to player
hocam çok sağol ama
Kod:
bu şekilde boşluklu atar mısın
 

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