Arkadaşlar ben aşşağıda verdiğim skript kodlarını sadece belirli yetkiye sahip olanlar kırsın istiyorum o şekilde ayarlarmısınız acaba bilen arkadaşlar.
Kod:
options:
prefix: &CLuckY CrafT
command /itemsp [<text>] [<text>] [<player>] [<number>]:
permission: itemsp.admin
trigger:
if arg-1 is not set:
send "{@prefix} &8» &aKomutlari Listelemek Icin &7/itemsp yardim" to player
if arg-1 is "yardım" or "yardim" or "help":
message "&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m" to player
message "{@prefix} &8» &7/itemsp dagit <Spawner> <Adet> &8» &aOyunda ki Herkese Belirlenen Spawner'dan Verir" to player
message "{@prefix} &8» &7/itemsp al <Spawner> <Adet> &8» &aBelirledigin Spawner'i Alirsin" to player
message "{@prefix} &8» &7/itemsp ver <Spawner> <Oyuncu> <adet> &8» &aBelirlenen Oyuncuya Spawner Verir" to player
message "{@prefix} &8» &7/itemsp listele &8» &aSpawner Listesini Gosterir" to player
message "&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m-&f&m-&b&m" to player
if arg-1 is "listele" or "list":
message "{@prefix} &8» &aSpawnerlar &8» &fdemir&7&7,&fdemirblok&7,&ealtin&7,&ealtinblok&7,&azumrut&7&7,&azumrutblok&7,&belmas&7,&belmasblok&7,&fendtasi&7,&esunger" to player
if arg-1 is "dagit":
if arg-2 is set:
if arg-4 is set:
if arg-2 is "demir":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&fDemir_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &fDemir &9Spawner &7Verdi"
if arg-2 is "demirblok":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&fDemir_Blok_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &fDemir Blok &9Spawner &7Verdi"
if arg-2 is "altin":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&eAltin_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &eAltin &9Spawner &7Verdi"
if arg-2 is "altinblok":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&eAltin_Blok_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &eAltin Blok &9Spawner &7Verdi"
if arg-2 is "zumrut":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&aZumrut_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &aZumrut &9Spawner &7Verdi"
if arg-2 is "zumrutblok":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&aZumrut_Blok_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &aZumrut Blok &9Spawner &7Verdi"
if arg-2 is "elmas":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&bElmas_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &bElmas &9Spawner &7Verdi"
if arg-2 is "elmasblok":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&bElmas_Blok_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &bElmas Blok &9Spawner &7Verdi"
if arg-2 is "sunger":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&eSunger_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &eSunger &9Spawner &7Verdi"
if arg-2 is "endtasi":
loop all players:
execute console command "give %loop-player% mob_spawner %arg-4% name:&fEnd_Tasi_&9Spawner"
broadcast "{@prefix} &8» &a%player% &7Adli &cYonetici &7Herkese &a%arg 4% &7Adet &fEnd Tasi &9Spawner &7Verdi"
else:
send "{@prefix} &8» &aKullanim&7: &7/itemsp dagit <Spawner> <Adet>" to player
else:
send "{@prefix} &8» &aKullanim&7: &7/itemsp dagit <Spawner> <Adet>" to player
if arg-1 is "al":
if arg-2 is set:
if arg-4 is set:
if arg-2 is "demir":
execute console command "give %player% mob_spawner %arg-4% name:&fDemir_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &fDemir &9Spawner &7Aldin" to player
if arg-2 is "demirblok":
execute console command "give %player% mob_spawner %arg-4% name:&fDemir_Blok_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &fDemir Blok &9Spawner &7Aldin" to player
if arg-2 is "altin":
execute console command "give %player% mob_spawner %arg-4% name:&eAltin_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &eAltin &9Spawner &7Aldin" to player
if arg-2 is "altinblok":
execute console command "give %player% mob_spawner %arg-4% name:&eAltin_Blok_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &eAltin Blok &9Spawner &7Aldin" to player
if arg-2 is "zumrut":
execute console command "give %player% mob_spawner %arg-4% name:&aZumrut_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &aZumrut &9Spawner &7Aldin" to player
if arg-2 is "zumrutblok":
execute console command "give %player% mob_spawner %arg-4% name:&aZumrut_Blok_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &aZumrut Blok &9Spawner &7Aldin" to player
if arg-2 is "elmas":
execute console command "give %player% mob_spawner %arg-4% name:&bElmas_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &bElmas &9Spawner &7Aldin" to player
if arg-2 is "elmasblok":
execute console command "give %player% mob_spawner %arg-4% name:&bElmas_Blok_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &bElmas Blok &9Spawner &7Aldin" to player
if arg-2 is "sunger":
execute console command "give %player% mob_spawner %arg-4% name:&eSunger_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &eSunger &9Spawner &7Aldin" to player
if arg-2 is "endtasi":
execute console command "give %player% mob_spawner %arg-4% name:&fEnd_Tasi_&9Spawner"
send "{@prefix} &8» &a%arg 4% &7Adet &fEnd Tasi &9Spawner &7Aldin" to player
else:
send "{@prefix} &8» &aKullanim&7: &7/itemsp al <Spawner> <Adet>" to player
else:
send "{@prefix} &8» &aKullanim&7: &7/itemsp al <Spawner> <Adet>" to player
if arg-1 is "ver":
if arg-3 is set:
if arg-4 is set:
if arg-2 is "demir":
execute console command "give %arg-3% mob_spawner %arg-4% name:&fDemir_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &fDemir &9Spawner &7Verildi" to player
if arg-2 is "demirblok":
execute console command "give %arg-3% mob_spawner %arg-4% name:&fDemir_Blok_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &fDemir Blok &9Spawner &7Verildi" to player
if arg-2 is "altin":
execute console command "give %arg-3% mob_spawner %arg-4% name:&eAltin_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &eAltin &9Spawner &7Verildi" to player
if arg-2 is "altinblok":
execute console command "give %arg-3% mob_spawner %arg-4% name:&eAltin_Blok_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &eAltin Blok &9Spawner &7Verildi" to player
if arg-2 is "zumrut":
execute console command "give %arg-3% mob_spawner %arg-4% name:&aZumrut_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &aZumrut &9Spawner &7Verildi" to player
if arg-2 is "zumrutblok":
execute console command "give %arg-3% mob_spawner %arg-4% name:&aZumrut_Blok_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &aZumrut Blok &9Spawner &7Verildi" to player
if arg-2 is "elmas":
execute console command "give %arg-3% mob_spawner %arg-4% name:&bElmas_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &bElmas &9Spawner &7Verildi" to player
if arg-2 is "elmasblok":
execute console command "give %arg-3% mob_spawner %arg-4% name:&bElmas_Blok_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &bElmas Blok &9Spawner &7Verildi" to player
if arg-2 is "sunger":
execute console command "give %arg-3% mob_spawner %arg-4% name:&eSunger_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &eSunger &9Spawner &7Verildi" to player
if arg-2 is "endtasi":
execute console command "give %arg-3% mob_spawner %arg-4% name:&fEnd_Tasi_&9Spawner"
send "{@prefix} &8» &a%arg-3% &7Adli Oyuncuya &a%arg 4% &7Adet &fEnd Tasi &9Spawner &7Verildi" to player
else:
send "{@prefix} &8» &aKullanim&7: &7/itemsp ver <Spawner> <Oyuncu> <Adet>" to player
else:
send "{@prefix} &8» &aKullanim&7: &7/itemsp ver <Spawner> <Oyuncu> <Adet>" to player
on place of mob spawner:
if name of player's tool is "&fDemir &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca sana verilecektir." to player
on break of mob spawner:
if {demirspawner1::%location of targeted block%} is set:
remove location of targeted block from {demirspawner1::*}
clear {demirblokspawner1::%location of targeted block%}
cancel event
set event-block to air
give 1 mob spawner named "&fDemir &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&fDemir Blok &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&fDemir Blok &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&eAltin &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&eAltin &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&eAltin Blok &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&eAltin Blok &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&aZumrut &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&aZumrut &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&aZumrut Blok &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&aZumrut Blok &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&bElmas &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&bElmas &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&bElmas Blok &9Spawner":
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:4b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:70,MaxSpawnDelay:80,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&bElmas Blok &9Spawner" to player
on place of mob spawner:
if name of player's tool is "&eSunger &9Spawner":
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:15,Delay:3,MinSpawnDelay:80,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
wait 2 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca 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 "&eSunger &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player
on place of mob spawner:
if name of player's tool is "&fEnd Tasi &9Spawner":
set {_location} to location of targeted block
set {endspawner1::%{_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 1 tick
execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:121,Count:1b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:85,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
wait 1 tick
execute console command "manudelp %player% minecraft.command.setblock"
send "{@prefix} &8» &9Spawneri kazma ile kirabilirsin." to player
send "{@prefix} &8» &9Kirinca sana verilecektir." to player
on break of mob spawner:
if {endspawner1::%location of targeted block%} is set:
cancel event
set block to air
remove location of targeted block from {endspawner1::*}
clear {endspawner1::%location of targeted block%}
give 1 mob spawner named "&fEnd Tasi &9Spawner" to player
send "{@prefix} &8» &9Spawnerin verildi." to player