merhaba sunucumda metin taşı yapıyordum sunucudan çıkmam gerekti metin taşı nı kaybettim sethome ve warp çekmemiştim şimdide başka bir warp hazırladım
ancak metin taşı 250 can oluyor bunu sıfırlama için ne yapabilirim tüm metin taşlarını silmem için
Config :
options:
Prefix: &6Baron Network &8&l► &7
command /metintaşıayarla:
trigger:
if player has permission "metintasi.admin":
if targeted block is obsidian:
if {metintasi::%location of targeted block%} is not set:
set {_loc} to location of targeted block
set {metintasi::%{_loc}%} to {_loc}
message "{@Prefix} &7Önünüzdeki obsidyeni metin taşına çevirdiniz. Normale çevirmek için &e/metintaşıayarla &7yazınız!"
stop
else if {metintasi::%location of targeted block%} is set:
clear {metintasi::%location of targeted block%}
message "{@Prefix} &7taşını normal obsidyene çevirdiniz tekrar metin taşı yapmak için &e/metintaşıayarla &7yazınız!"
else:
message "{@Prefix} &7Bloğun metin taşı olması için obsidyen olması gerekir"
else:
message "{@Prefix} &cBunu yapabilmek için gerekli yetkiye sahip değilsin!"
on break of obsidian:
if {metintasi::can} is smaller than 2:
give 1 Obsidian of unbreaking 1 named "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)" with lore "&7Açmak için bir yere yerleştiriniz." to player
set {metintasi::can} to 251
execute console command "hd setline metintasi 2 &8⋆ &7Doğmasına &e{animation: metin.txt} &7saniye kaldı!"
set event-block to bedrock
message "&6Baron Network &8&l► &7Oyuncular &eMetin Taşı&7'nı parçaladı , &fRastgele bir süre &7içinde tekrar doğacak!" to players
wait 1 minutes
execute console command "hd setline metintasi 2 &8⋆ &7Kırılmasına &e%{metintasi::can}%&7 can kaldı!"
set event-block to obsidian
message "&6Baron Network &8&l► &eTaş&7 tekrar doğdu!" to players
if {metintasi::%location of event-block%} is set:
chance of 20%:
damage player by 1 hearts
remove 1 from {metintasi::can}
execute console command "hd setline metintasi 2 &8⋆ &7Kırılmasına &e%{metintasi::can}%&7 can kaldı!"
cancel event
stop
command /metinholo:
permission: *.admin
permission message: &cGerekli yetkiye sahip değilsiniz.
trigger:
execute player command "hd create metintasi &f &f▸ &6METIN TASI&f &f◂"
execute player command "hd addline metintasi &8⋆ &7Kırılmasına &e%{metintasi::can}%&7 can kaldı!"
command /metinver:
permission: sk.admin
permission message: &eBaron Network &8► &7Bunu Yapmaya Yetkiniz Yok!
trigger:
send "&eBaron Network &8► &7Metin Eşyası veriliyor."
wait 1 seconds
send "&eBaron Network &8► &7Metin Eşyası verildi."
give 1 Obsidian of unbreaking 1 named "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)" with lore "&7Açmak için bir yere yerleştiriniz." to player
on place a Obsidian:
if tool's display name is "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)":
cancel event
remove Obsidian named "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)" with lore "&7Açmak için bir yere yerleştiriniz." from players
wait 0.50 seconds
execute player command "give %player% paper 1 name:&a50.000_⛃"
execute player command "ss give %player% irongolem 2"
execute player command "ss give %player% snowgolem 1"
execute player command "cc give p para 1 %player%"
execute player command "cc give p günlük 1 %player%"
on rightclick with paper:
if display name of tool is "&a50.000 ⛃":
chance of 100%:
execute console command "eco give %player% 50000"
remove paper named "&a50.000 ⛃" from player
stop
ancak metin taşı 250 can oluyor bunu sıfırlama için ne yapabilirim tüm metin taşlarını silmem için
Config :
options:
Prefix: &6Baron Network &8&l► &7
command /metintaşıayarla:
trigger:
if player has permission "metintasi.admin":
if targeted block is obsidian:
if {metintasi::%location of targeted block%} is not set:
set {_loc} to location of targeted block
set {metintasi::%{_loc}%} to {_loc}
message "{@Prefix} &7Önünüzdeki obsidyeni metin taşına çevirdiniz. Normale çevirmek için &e/metintaşıayarla &7yazınız!"
stop
else if {metintasi::%location of targeted block%} is set:
clear {metintasi::%location of targeted block%}
message "{@Prefix} &7taşını normal obsidyene çevirdiniz tekrar metin taşı yapmak için &e/metintaşıayarla &7yazınız!"
else:
message "{@Prefix} &7Bloğun metin taşı olması için obsidyen olması gerekir"
else:
message "{@Prefix} &cBunu yapabilmek için gerekli yetkiye sahip değilsin!"
on break of obsidian:
if {metintasi::can} is smaller than 2:
give 1 Obsidian of unbreaking 1 named "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)" with lore "&7Açmak için bir yere yerleştiriniz." to player
set {metintasi::can} to 251
execute console command "hd setline metintasi 2 &8⋆ &7Doğmasına &e{animation: metin.txt} &7saniye kaldı!"
set event-block to bedrock
message "&6Baron Network &8&l► &7Oyuncular &eMetin Taşı&7'nı parçaladı , &fRastgele bir süre &7içinde tekrar doğacak!" to players
wait 1 minutes
execute console command "hd setline metintasi 2 &8⋆ &7Kırılmasına &e%{metintasi::can}%&7 can kaldı!"
set event-block to obsidian
message "&6Baron Network &8&l► &eTaş&7 tekrar doğdu!" to players
if {metintasi::%location of event-block%} is set:
chance of 20%:
damage player by 1 hearts
remove 1 from {metintasi::can}
execute console command "hd setline metintasi 2 &8⋆ &7Kırılmasına &e%{metintasi::can}%&7 can kaldı!"
cancel event
stop
command /metinholo:
permission: *.admin
permission message: &cGerekli yetkiye sahip değilsiniz.
trigger:
execute player command "hd create metintasi &f &f▸ &6METIN TASI&f &f◂"
execute player command "hd addline metintasi &8⋆ &7Kırılmasına &e%{metintasi::can}%&7 can kaldı!"
command /metinver:
permission: sk.admin
permission message: &eBaron Network &8► &7Bunu Yapmaya Yetkiniz Yok!
trigger:
send "&eBaron Network &8► &7Metin Eşyası veriliyor."
wait 1 seconds
send "&eBaron Network &8► &7Metin Eşyası verildi."
give 1 Obsidian of unbreaking 1 named "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)" with lore "&7Açmak için bir yere yerleştiriniz." to player
on place a Obsidian:
if tool's display name is "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)":
cancel event
remove Obsidian named "&8▸ &eMetin Eşyası &8(&6Sağ tıkla&8)" with lore "&7Açmak için bir yere yerleştiriniz." from players
wait 0.50 seconds
execute player command "give %player% paper 1 name:&a50.000_⛃"
execute player command "ss give %player% irongolem 2"
execute player command "ss give %player% snowgolem 1"
execute player command "cc give p para 1 %player%"
execute player command "cc give p günlük 1 %player%"
on rightclick with paper:
if display name of tool is "&a50.000 ⛃":
chance of 100%:
execute console command "eco give %player% 50000"
remove paper named "&a50.000 ⛃" from player
stop
