- Katılım
- 19 Mayıs 2019
- Mesajlar
- 38
- Tepki puanı
- 11
- Puanları
- 1,200
- Discord
- xorcun
Kod:
options:
prefix: &3Alope &fNetwork &8» &7
demir: &f&lDemir Cevheri
altın: &6&lAltın Cevheri
elmas: &b&lElmas Cevheri
zümrüt: &2&lZümrüt Cevheri
kömür: &7&lKömür Cevheri
kızıltaş: &c&lKızıltaş Cevheri
lapis: &1&lLapis Cevheri
demir-blok: &f&lDemir Blok
altın-blok: &6&lAltın Blok
elmas-blok: &b&lElmas Blok
zümrüt-blok: &2&lZümrüt Blok
kömür-blok: &7&lKömür Blok
kızıltaş-blok: &c&lKızıltaş Blok
lapis-blok: &1&lLapis Blok
variables:
{blok.silme.%player%} = "&cKapalı"
command /blokyenile [<text>] [<text>]:
permission: admin.blokyenile
trigger:
if arg-1 is not set:
message "&8&m-----&r &8[ &a&lBLOK YENILEME &8] &8&m-----&r"
message ""
message "<sgt:/blokyenile ver>&7/blokyenile ver &8- &eYenileme bloğunu verir."
message "<sgt:/blokyenile sil>&7/blokyenile sil &8- &eBlok silmeyi açar/kapatır."
message "<sgt:/blokyenile liste>&7/blokyenile liste &8- &eCevherleri ve blokları listeler."
message "<cmd:/blokyenile hakkında>&7/blokyenile hakkında &8- &eYapımcı bilgilerini gösterir."
message ""
message "&7Blok Silme Durumu: &e%{blok.silme.%player%}%"
message ""
message "&8&m-----&r &8[ &a&lBLOK YENILEME &8] &8&m-----&r"
else:
arg-1 is "hakkında":
message "&8&m-----&r &8[ &3&lHAKKINDA &8] &8&m-----&r"
message ""
message "&7Yapımcı: &exOrcun &8(&bOrçun Öztürk&8)"
message "&7Discord Sunucusu: &e<link:https://discord.orcunozturk.com><tooltip: &8» &eDiscord sunucusunun davet linkini gösterir.>&8(&eTıkla&8)<reset>"
message "&7WebSite: <link:https://orcunozturk.com>&ehttps://orcunozturk.com/<reset>"
message ""
message "&8&m-----&r &8[ &3&lHAKKINDA &8] &8&m-----&r"
arg-1 is "liste":
message "&8&m-----&r &8[ &a&lBLOK YENILEME LISTE &8] &8&m-----&r"
message ""
message "&7Cevherler: %newline%&8» <sgt:/blokyenile ver demir>{@demir}<reset> &8- <sgt:/blokyenile ver altın>{@altın}<reset> &8- <sgt:/blokyenile ver elmas>{@elmas}<reset> &8- <sgt:/blokyenile ver zümrüt>{@zümrüt}<reset> &8- <sgt:/blokyenile ver kömür>{@kömür}<reset> &8- <sgt:/blokyenile ver kızıltaş>{@kızıltaş}<reset> &8- <sgt:/blokyenile ver lapis>{@lapis}<reset>"
message "&7Bloklar: %newline%&8» <sgt:/blokyenile ver demir-blok>{@demir-blok}<reset> &8- <sgt:/blokyenile ver altın-blok>{@altın-blok}<reset> &8- <sgt:/blokyenile ver elmas-blok>{@elmas-blok}<reset> &8- <sgt:/blokyenile ver zümrüt-blok>{@zümrüt-blok}<reset> &8- <sgt:/blokyenile ver kömür-blok>{@kömür-blok}<reset> &8- <sgt:/blokyenile ver kızıltaş-blok>{@kızıltaş-blok}<reset> &8- <sgt:/blokyenile ver lapis-blok>{@lapis-blok}<reset>"
message ""
message "Not: Üzerine tıkladığınızda komutu otomatik olarak sohbetine yazar."
message "&8&m-----&r &8[ &a&lBLOK YENILEME LISTE &8] &8&m-----&r"
arg-1 is "ver":
arg-2 is not set:
message "{@prefix}&cLütfen yenileme blok adını girin. <sgt:/blokyenile liste>&e/blokyenile liste"
else:
arg-2 is "demir":
give a iron ore named "{@demir}" to player
message "{@prefix}{@demir} &7başarıyla verildi!"
arg-2 is "demir-blok":
give a iron block named "{@demir-blok}" to player
message "{@prefix}{@demir-blok} &7başarıyla verildi!"
arg-2 is "altın":
give a gold ore named "{@altın}" to player
message "{@prefix}{@altın} &7başarıyla verildi!"
arg-2 is "altın-blok":
give a gold block named "{@altın-blok}" to player
message "{@prefix}{@altın-blok} &7başarıyla verildi!"
arg-2 is "elmas":
give a diamond ore named "{@elmas}" to player
message "{@prefix}{@elmas} &7başarıyla verildi!"
arg-2 is "elmas-blok":
give a diamond block named "{@elmas-blok}" to player
message "{@prefix}{@elmas-blok} &7başarıyla verildi!"
arg-2 is "zümrüt":
give a emerald ore named "{@zümrüt}" to player
message "{@prefix}{@zümrüt} &7başarıyla verildi!"
arg-2 is "zümrüt-blok":
give a emerald block named "{@zümrüt-blok}" to player
message "{@prefix}{@zümrüt-blok} &7başarıyla verildi!"
arg-2 is "kömür":
give a coal ore named "{@kömür}" to player
message "{@prefix}{@kömür} &7başarıyla verildi!"
arg-2 is "kömür-blok":
give a coal block named "{@kömür-blok}" to player
message "{@prefix}{@kömür-blok} &7başarıyla verildi!"
arg-2 is "kızıltaş":
give a redstone ore named "{@kızıltaş}" to player
message "{@prefix}{@kızıltaş} &7başarıyla verildi!"
arg-2 is "kızıltaş-blok":
give a redstone block named "{@kızıltaş-blok}" to player
message "{@prefix}{@kızıltaş-blok} &7başarıyla verildi!"
arg-2 is "lapis":
give a lapis lazuli ore named "{@lapis}" to player
message "{@prefix}{@lapis} &7başarıyla verildi!"
arg-2 is "lapis-blok":
give a lapis lazuli block named "{@lapis-blok}" to player
message "{@prefix}{@lapis-blok} &7başarıyla verildi!"
arg-1 is "sil":
arg-2 is not set:
message "{@prefix}&7/blokyenile sil &8(&aaç&8/&ckapat&8) &8- &eşeklinde kullanabilirsiniz."
else:
arg-2 is "aç":
set {blok.silme.%player%} to "&aAktif"
message "{@prefix}&eBlok Silme &7başarıyla &aaktif edildi!"
arg-2 is "kapat":
set {blok.silme.%player%} to "&cKapalı"
message "{@prefix}&eBlok Silme &7başarıyla &cde-aktif edildi!"
# ##################
# DEMIR CEVHERI #
# ##################
on place of iron ore:
if display name of tool is "{@demir}":
set {cevher.demir::%location of event-block%} to player
message "{@prefix}{@demir} &7başarıyla yere &akoyuldu!"
on break of iron ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.demir::%event-location%}:
drop a iron ingot
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.demir::%event-location%} to air
delete {cevher.demir::%event-location%}
message "{@prefix}{@demir} &7başarıyla &ckırıldı!"
# ##################
# ALTIN CEVHERI #
# ##################
on place of gold ore:
if display name of tool is "{@altın}":
set {cevher.altin::%location of event-block%} to player
message "{@prefix}{@altın} &7başarıyla yere &akoyuldu!"
on break of gold ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.altin::%event-location%}:
drop a gold ingot
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.altin::%event-location%} to air
delete {cevher.altin::%event-location%}
message "{@prefix}{@altın} &7başarıyla &ckırıldı!"
# ##################
# ELMAS CEVHERI #
# ##################
on place of diamond ore:
if display name of tool is "{@elmas}":
set {cevher.elmas::%location of event-block%} to player
message "{@prefix}{@elmas} &7başarıyla yere &akoyuldu!"
on break of diamond ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.elmas::%event-location%}:
drop a diamond
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.elmas::%event-location%} to air
delete {cevher.elmas::%event-location%}
message "{@prefix}{@elmas} &7başarıyla &ckırıldı!"
# ##################
# ZUMRUT CEVHERI #
# ##################
on place of emerald ore:
if display name of tool is "{@zümrüt}":
set {cevher.zumrut::%location of event-block%} to player
message "{@prefix}{@zümrüt} &7başarıyla yere &akoyuldu!"
on break of emerald ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.zumrut::%event-location%}:
drop a emerald
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.zumrut::%event-location%} to air
delete {cevher.zumrut::%event-location%}
message "{@prefix}{@zümrüt} &7başarıyla &ckırıldı!"
# ##################
# KOMUR CEVHERI #
# ##################
on place of coal ore:
if display name of tool is "{@kömür}":
set {cevher.komur::%location of event-block%} to player
message "{@prefix}{@kömür} &7başarıyla yere &akoyuldu!"
on break of coal ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.komur::%event-location%}:
drop a coal
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.komur::%event-location%} to air
delete {cevher.komur::%event-location%}
message "{@prefix}{@kömür} &7başarıyla &ckırıldı!"
# ##################
# KIZILTAŞ CEVHERI #
# ##################
on place of redstone ore:
if display name of tool is "{@kızıltaş}":
set {cevher.kiziltas::%location of event-block%} to player
message "{@prefix}{@kızıltaş} &7başarıyla yere &akoyuldu!"
on break of redstone ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.kiziltas::%event-location%}:
drop a redstone
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.kiziltas::%event-location%} to air
delete {cevher.kiziltas::%event-location%}
message "{@prefix}{@kızıltaş} &7başarıyla &ckırıldı!"
# ##################
# Lapis CEVHERI #
# ##################
on place of lapis lazuli ore:
if display name of tool is "{@lapis}":
set {cevher.lapis::%location of event-block%} to player
message "{@prefix}{@lapis} &7başarıyla yere &akoyuldu!"
on break of lapis lazuli ore:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.lapis::%event-location%}:
drop a lapis lazuli
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.lapis::%event-location%} to air
delete {cevher.lapis::%event-location%}
message "{@prefix}{@lapis} &7başarıyla &ckırıldı!"
# ##################
# DEMIR BLOK #
# ##################
on place of iron block:
if display name of tool is "{@demir-blok}":
set {cevher.demir.blok::%location of event-block%} to player
message "{@prefix}{@demir-blok} &7başarıyla yere &akoyuldu!"
on break of iron block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.demir.blok::%event-location%}:
drop a iron block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.demir.blok::%event-location%} to air
delete {cevher.demir.blok::%event-location%}
message "{@prefix}{@demir-blok} &7başarıyla &ckırıldı!"
# ##################
# ALTIN BLOK #
# ##################
on place of gold block:
if display name of tool is "{@altın-blok}":
set {cevher.altin.blok::%location of event-block%} to player
message "{@prefix}{@altın-blok} &7başarıyla yere &akoyuldu!"
on break of gold block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.altin.blok::%event-location%}:
drop a gold block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.altin.blok::%event-location%} to air
delete {cevher.altin.blok::%event-location%}
message "{@prefix}{@altın-blok} &7başarıyla &ckırıldı!"
# ##################
# Elmas BLOK #
# ##################
on place of diamond block:
if display name of tool is "{@elmas-blok}":
set {cevher.elmas.blok::%location of event-block%} to player
message "{@prefix}{@elmas-blok} &7başarıyla yere &akoyuldu!"
on break of diamond block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.elmas.blok::%event-location%}:
drop a diamond block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.elmas.blok::%event-location%} to air
delete {cevher.elmas.blok::%event-location%}
message "{@prefix}{@elmas-blok} &7başarıyla &ckırıldı!"
# ##################
# Zümrüt BLOK #
# ##################
on place of emerald block:
if display name of tool is "{@zümrüt-blok}":
set {cevher.zumrut.blok::%location of event-block%} to player
message "{@prefix}{@zümrüt-blok} &7başarıyla yere &akoyuldu!"
on break of emerald block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.zumrut.blok::%event-location%}:
drop a emerald block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.zumrut.blok::%event-location%} to air
delete {cevher.zumrut.blok::%event-location%}
message "{@prefix}{@zümrüt-blok} &7başarıyla &ckırıldı!"
# ##################
# Kömür BLOK #
# ##################
on place of coal block:
if display name of tool is "{@kömür-blok}":
set {cevher.komur.blok::%location of event-block%} to player
message "{@prefix}{@kömür-blok} &7başarıyla yere &akoyuldu!"
on break of coal block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.komur.blok::%event-location%}:
drop a coal block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.komur.blok::%event-location%} to air
delete {cevher.komur.blok::%event-location%}
message "{@prefix}{@kömür-blok} &7başarıyla &ckırıldı!"
# ##################
# Kızıltaş BLOK #
# ##################
on place of redstone block:
if display name of tool is "{@kızıltaş-blok}":
set {cevher.kiziltas.blok::%location of event-block%} to player
message "{@prefix}{@kızıltaş-blok} &7başarıyla yere &akoyuldu!"
on break of redstone block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.kiziltas.blok::%event-location%}:
drop a redstone block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.kiziltas.blok::%event-location%} to air
delete {cevher.kiziltas.blok::%event-location%}
message "{@prefix}{@kızıltaş-blok} &7başarıyla &ckırıldı!"
# ##################
# Lapis BLOK #
# ##################
on place of lapis lazuli block:
if display name of tool is "{@lapis-blok}":
set {cevher.lapis.blok::%location of event-block%} to player
message "{@prefix}{@lapis-blok} &7başarıyla yere &akoyuldu!"
on break of lapis lazuli block:
if {blok.silme.%player%} is "&cKapalı":
loop all players:
if loop-player is {cevher.lapis.blok::%event-location%}:
drop a lapis lazuli block
cancel event
if {blok.silme.%player%} is "&aAktif":
set {cevher.lapis.blok::%event-location%} to air
delete {cevher.lapis.blok::%event-location%}
message "{@prefix}{@lapis-blok} &7başarıyla &ckırıldı!"