Süre Bitiş: Sınırsız Süre Bitim: 19.06.2018
Süre Bitiş: 03.07.2018 Süre Bitiş: 07.07.2018
Süre Bitiş: 08.07.2018 Süre Bitiş: 13.07.2018
Süre Bitiş: 13.07.2018 Süre Bitiş: 16.07.2018

Skript Paylaşımı Minecraft - Gelişmiş Sahiplilik Sistemli İtem Spawner Skripti



ArdadnzTR

Pluginer
Premium
13 Haziran 2018
14
4
10
Bursa
Minecraft
Ardadeniz82
#1

Merhabalar, bugün sizlere kendi serverimde kullandığım bir skripti paylaşmaya karar verdim.
Forumda yeniyim hatam varsa belirtin düzeltiyim :)
Sabah Skript'i paylaşmıştım konuyu silmişler nedenini bilmiyorum neyse :(

Skript'ten Kareler:

2018-06-13_18.18.23.png


Skript'in Koruma Sistemi:

Başkasının spawnerini kırmaya çalışınca verilen hata:

2.PNG


Birinin spawnerine sağ tıklayınca verilen mesaj:

Ekran Alıntısı.PNG


Youtube Tanıtım:

:


Spawnerlerin Markete Eklenimi:

Bu özellik için 'ChestShop' plugini gerekmektedir.
Markete eklemek istediğimiz spawner'i elimize alıyoruz.
/iteminfo komutu ile spawnerin idine bakıyoruz. Ben mesela 52#n çıktı diyorum.
Tabela alıyoruz tabelayı koyup.

Market
Adet
Fiyat / Satış

Kod (52#n)

Bunları yazıyoruz.

Skript'in Komut Ve Yetkileri:

/Spawnerver

/Spawnerkir ac,kapat

Permissions: Admin.SP

Skript için gerekli eklentiler:

Skript,SKQuery,SKRayFall,ChestShop(Market için gerekli)

Bu linki görüntülemek için iznin yok. Şimdi giriş yapın veya kayıt olun.


Skript'in Kodu:

Kod:
# Ardadeniz82 - OYNA.BLOODYTR.TK
# Spawner Korumalı Skript

command /spawnerver:
    permission: admin.sp
    permission message: &3&oSunucuName &8» &cBilinmeyen komut kullandiniz!
    trigger:
        give 1 mob spawner named "&7Demir Spawner" to player
        give 1 mob spawner named "&7Altin Spawner" to player
        give 1 mob spawner named "&7Elmas Block Spawner" to player
        give 1 mob spawner named "&7End Block Spawner" to player
        give 1 mob spawner named "&7Zumrut Block Spawner" to player
        give 1 mob spawner named "&7Demir Block Spawner" to player
        give 1 mob spawner named "&7Elmas Spawner" to player
        give 1 mob spawner named "&7Zumrut Spawner" to player
        give 1 mob spawner named "&7Altin Block Spawner" to player

command /spawnerkir [<text>]:
    permission: admin.sp
    permission message: &3&oSunucuName &8» &cBilinmeyen komut kullandiniz!
    trigger:
        if arg-1 is "ac":
            send "&3&oSunucuName &8» &cSpawner kırma açıldı!"
            set {spawnerkir.%player%} to true
        if arg-1 is "kapat":
            send "&3&oSunucuName &8» &cSpawner kırma kapatıldı!"
            set {spawnerkir.%player%} to false
        else if arg-1 is not set:
            send "&3&oSunucuName &8» &c/spawnerkir ac,kapat"

on rightclick:
    if event-block is a mob spawner:
        send "&3&oSunucuName &8» &cSpawner Sahibi&f: &6%{sahibi::%event-block's location%}%"

on place of mob spawner:
    if name of player's tool is "&7Demir Block Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7Altin Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7Altin Block Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7Zumrut Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7Elmas Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7Elmas Block Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7End Block Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:end_stone,Count:2b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:15,Delay:3,MinSpawnDelay:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"


on place of mob spawner:
    if name of player's tool is "&7Zumrut Block Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on place of mob spawner:
    if name of player's tool is "&7Demir Spawner":       
        set {_location} to location of targeted block
        set {sahibi::%location of event-block%} to player
        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:30,MaxSpawnDelay:50,MaxNearbyEntities:9999}"
        wait 2 tick
        execute console command "manudelp %player% minecraft.command.setblock"

on break of mob spawner:
    if {elmasspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {elmasspawner1::*}
            clear {elmasspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Elmas Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {elmasspawner1::*}
                    clear {elmasspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Elmas Spawner" to player
                else:
                    cancel event
    else if {elmasblokspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {elmasblokspawner1::*}
            clear {elmasblokspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Elmas Block Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {elmasblokspawner1::*}
                    clear {elmasblokspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Elmas Block Spawner" to player
                else:
                    cancel event
    else if {sungerspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {sungerspawner1::*}
            clear {sungerspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7End Block Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {sungerspawner1::*}
                    clear {sungerspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7End Block Spawner" to player
                else:
                    cancel event
    else if {zumrutblokspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {zumrutblokspawner1::*}
            clear {zumrutblokspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Zumrut Block Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {zumrutblokspawner1::*}
                    clear {zumrutblokspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Zumrut Block Spawner" to player
                else:
                    cancel event       
    else if {zumrutspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {zumrutspawner1::*}
            clear {zumrutspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Zumrut Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {zumrutspawner1::*}
                    clear {zumrutspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Zumrut Spawner" to player
                else:
                    cancel event
    else if {altinblokspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {altinblokspawner1::*}
            clear {altinblokspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Altin Block Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {altinblokspawner1::*}
                    clear {altinblokspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Altin Block Spawner" to player
                else:
                    cancel event
    else if {altinspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {altinspawner1::*}
            clear {altinspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Altin Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {altinspawner1::*}
                    clear {altinspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Altin Spawner" to player
                else:
                    cancel event
    else if {demirblokspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {demirblokspawner1::*}
            clear {demirblokspawner1::%location of event-block%}
            delete {sahibi::%event-block's location%}
            give 1 mob spawner named "&7Demir Block Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {demirblokspawner1::*}
                    clear {demirblokspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Demir Block Spawner" to player
                else:
                    cancel event
    else if {demirspawner1::%location of targeted block%} is set:
        if {sahibi::%event-block's location%} = player:
            cancel event
            set block to air
            remove location of event-block from {demirspawner1::*}
            clear {demirspawner1::%location of event-block%}
            delete {demirspawner1::%event-block's location%}
            give 1 mob spawner named "&7Demir Spawner" to player
        else:
            if player do not have permission "sahip.op":
                send "&3&oSunucuName &8» &cKendinizin olmayan spawneri kıramassınız! &eBu spawnerin sahibi &6%{sahibi::%event-block's location%}%"
                cancel event
            else:
                if {spawnerkir.%player%} is true:
                    cancel event
                    set block to air
                    remove location of event-block from {demirspawner1::*}
                    clear {demirspawner1::%location of event-block%}
                    delete {sahibi::%event-block's location%}
                    give 1 mob spawner named "&7Demir Spawner" to player
                else:
                    cancel event
 
Son düzenleme:

kingOf0

"~SimitSu"
Premium
14 Haziran 2016
375
89
490
Bişiy Yok, TerTemiz Bir Profile Geldin
www.mc-tr.com
Minecraft
SimitSu
#6

skript Gerekenleri yazman gerek, şurayı bi oku derim
Skript konusu açarken veya konuya cevap yazarken uymanız gereken kurallar:
  • Skript kodunuzu [ CODE ] Kodunuz [ / CODE ] bb kodunun içine alarak konuya eklemelisiniz.
  • Skript kodunuzu alternatif olarak
    Bu linki görüntülemek için iznin yok. Şimdi giriş yapın veya kayıt olun.
    veya
    Bu linki görüntülemek için iznin yok. Şimdi giriş yapın veya kayıt olun.
    sitelerinede eklemelisiniz.
    Sadece yabancı dildeki skriptleri türkçeye çevirip paylaşabilirsiniz. Ancak paylaştığınız skripti kodlayan kişiyi konu içine eklemelisiniz.
  • Skript destek&yardım veya istek konularınızı skript bölümünün alt kategorilerine açınız.
  • Skriptinizi güncelleyeceğiniz zaman ek bir konu açmak yerine mevcut konunuza güncellemeyi ekleyiniz.
  • Skriptiniz ile ilgili konu içinde en az 3 oyun içi görsel veya 1 adet video bulunmalıdır.
  • Skriptinizin çalışması için gerekenleri konu içine eklemelisiniz.
  • Kolay ( Örneğin 3-5 satırlık ) skriptleri tek bir konuda toplayıp paylaşabilirsiniz. Ancak bu tür skriptler üstteki maddede ki gibi alıntı olmamlıdır.
  • Ücretli skriptinizin konusunu açmadan önce onaylı satıcı tagına sahip olmalısınız.
    Bu tagı almak için ayrıntıları buradan öğrenebilirsiniz.
Dikkat: Bu kurallara uymayan skript konularının çöpe taşınacağı; çöpe taşındığı halde özel mesaj veya farklı yollardan konunun geri getirilmesi için yönetim ekibini rahatsız ettiği taktirde uyarı alması söz konusudur. Ayrıca forum kurallarına da uymaya özen gösteriniz.

Öneri: Skriptinizi tanıtmak için konu açacaksınız ancak konunuzu düzenlemekte o kadar iyi değilseniz buraya tıklayarak sizlere örnek konu gösterebiliriz.
 

EyupHD

Önemsedikçe yitirdiğim insanlar var.
Premium
7 Ekim 2017
75
43
190
#8

Güzel olmuş :)