Thanagor
Kömür Madencisi
- En iyi cevaplar
- 5
Merhabalar, bugün sizlerle faction sunucular için gerekli olabilecek skript paylaşmak istedim. Kolay bir skript. birçok sunucuda var. Ama yapa bilmeyen ve bulamayan kişiler için yaptım. Umarım faydalı olur. İyi Günler dilerim.
Kod:
#Sktipt by EnverPvP
#For Factions Servers and Gamer Forum
options:
p: &8[&6Kutsal Eşya&8]
on break of lapis ore:
chance of 5%
give 1 gold nugget named "&6Kutsal Eşya" to player
add 1 to {kutsalesya.%player%}
send "{@p} &fLapis kırarken &6Kutsal Eşya &fbuldunuz. &6/kutsalmenu &fyazarak bununla ne yapa bileceğinize bakın."
command /kutsalmenu:
aliases: /kutsalmenü
trigger:
open chest with 1 row named "&6&lKutsal Menü" to player
format slot 0 of player with diamond helmet of protection 4 and unbreaking 3 named "&6Kutsal &3Kask" with lore "&8+ &eÜcret: &a85 Kutsal Eşya" to close then run [execute player command "/kkaskal__"]
format slot 1 of player with diamond chestplate of protection 4 and unbreaking 3 named "&6Kutsal &3Göğüslük" with lore "&8+ &eÜcret: &a100 Kutsal Eşya" to close then run [execute player command "/kgoguslukal__"]
format slot 2 of player with diamond leggings of protection 4 and unbreaking 3 named "&6Kutsal &3Pantolon" with lore "&8+ &eÜcret: &a100 Kutsal Eşya" to close then run [execute player command "/kpantolonal__"]
format slot 3 of player with diamond boots of protection 4 and unbreaking 3 named "&6Kutsal &3Bot" with lore "&8+ &eÜcret: &a85 Kutsal Eşya" to close then run [execute player command "/kbotal__"]
format slot 4 of player with diamond sword of sharpness 5 and unbreaking 3 named "&6Kutsal &3Kılıç" with lore "&8+ &eÜcret: &a200 Kutsal Eşya" to close then run [execute player command "/kkilical__"]
format slot 8 of player with gold nugget named "&6Kutsal Eşya" with lore "&8+ &eTıkla ve gör:" to close then run [execute player command "/kutsalesya"]
command /kutsalesya:
aliases: /kutsaleşya
trigger:
send "{@p} &fToplam topladığınız kutsal eşya sayı: &6%{kutsalesya.%player%}%"
command /kkaskal__:
trigger:
if player has 85 gold nugget named "&6Kutsal Eşya":
give 1 diamond helmet of protection 4 and unbreaking 3 named "&6Kutsal &3Kask" to player
remove 85 gold nugget named "&6Kutsal Eşya" from player's inventory
send "{@p} &fBaşarılı bir şekilde &6Kutsal &3Kask &faldınız."
else:
send "{@p} &fYeterli kadaar &6Kutsal Eşya &fyok."
command /kgoguslukal__:
trigger:
if player has 100 gold nugget named "&6Kutsal Eşya":
give 1 diamond chestplate of protection 4 and unbreaking 3 named "&6Kutsal &3Göğüslük" to player
remove 100 gold nugget named "&6Kutsal Eşya" from player's inventory
send "{@p} &fBaşarılı bir şekilde &6Kutsal &3Göğüslük &faldınız."
else:
send "{@p} &fYeterli kadaar &6Kutsal Eşya &fyok."
command /kpantolonal__:
trigger:
if player has 100 gold nugget named "&6Kutsal Eşya":
give 1 diamond leggings of protection 4 and unbreaking 3 named "&6Kutsal &3Pantolon" to player
remove 100 gold nugget named "&6Kutsal Eşya" from player's inventory
send "{@p} &fBaşarılı bir şekilde &6Kutsal &3Pantolon &faldınız."
else:
send "{@p} &fYeterli kadaar &6Kutsal Eşya &fyok."
command /kbotal__:
trigger:
if player has 85 gold nugget named "&6Kutsal Eşya":
give 1 diamond boots of protection 4 and unbreaking 3 named "&6Kutsal &3Bot" to player
remove 85 gold nugget named "&6Kutsal Eşya" from player's inventory
send "{@p} &fBaşarılı bir şekilde &6Kutsal &3Bot &faldınız."
else:
send "{@p} &fYeterli kadaar &6Kutsal Eşya &fyok."
command /kkilical__:
trigger:
if player has 200 gold nugget named "&6Kutsal Eşya":
give 1 diamond sword of sharpness 5 and unbreaking 3 named "&6Kutsal &3Kıllıç" to player
remove 200 gold nugget named "&6Kutsal Eşya" from player's inventory
send "{@p} &fBaşarılı bir şekilde &6Kutsal &3Kılıç &faldınız."
else:
send "{@p} &fYeterli kadaar &6Kutsal Eşya &fyok."