- Katılım
- 12 Aralık 2017
- Mesajlar
- 115
- Elmaslar
- 8
- Puanlar
- 6.400
- Yaş
- 22
- Minecraft
- BySaruhaN_
Materyal Skripti
Skript
Kod:
variables:
{demir.%player%} = 0
{krom.%player%} = 0
{titanyum.%player%} = 0
on break of lapis ore:
chance of 30%:
send "&6&lFaction &8» &61 &7Adet &6Demir &7Buldun"
add 1 to {demir.%player%}
chance of 20%:
send "&6&lFaction &8» &61 &7Adet &6Krom &7Buldun"
add 1 to {krom.%player%}
chance of 20%:
send "&6&lFaction &8» &61 &7Adet &6Titanyum &7Buldun"
add 1 to {titanyum.%player%}
command /demirver <player> <int>:
usage: "&6&lMateryal &8» &e/demirver <Oyuncu> <Kredi Sayısı>"
permission: demirver.admin
permission message: &6&lFaction &8» &cBu Komutu Kullanmaya Izniniz Yok!
trigger:
arg 1 is set:
add arg-2 to {demir.%arg 1%}
send "&6&lFaction &8» &6Oyuncuya Başaryıla Gönderildi"
command /kromver <player> <int>:
usage: "&6&lMateryal &8» &e/kromver <Oyuncu> <Kredi Sayısı>"
permission: kromver.admin
permission message: &6&lFaction &8» &cBu Komutu Kullanmaya Izniniz Yok!
trigger:
arg 1 is set:
add arg-2 to {krom.%arg 1%}
send "&6&lFaction &8» &6Oyuncuya Başaryıla Gönderildi"
command /titanyumver <player> <int>:
usage: "&6&lMateryal &8» &e/titanyumver <Oyuncu> <Kredi Sayısı>"
permission: titanyumver.admin
permission message: &6&lFaction &8» &cBu Komutu Kullanmaya Izniniz Yok!
trigger:
arg 1 is set:
add arg-2 to {titanyum.%arg 1%}
send "&6&lFaction &8» &6Oyuncuya Başaryıla Gönderildi"
command /materyalim:
trigger:
send "&a&m-------------------------" to player
send "&a" to player
send " &3&lMateryallerin" to player
send " &7&lDemir &f» &6%{demir.%player%}%" to player
send " &7&lKrom &f» &6%{krom.%player%}%" to player
send " &7&lTitanyum &f» &6%{titanyum.%player%}%" to player
send "&a"
send "&a&m-------------------------" to player
#--------------------------------------------------------------------------------------------------------
#Kılıç Geliştirme
command /premium+1:
trigger:
if tool's display name is "&e&lPREMIUM &4&lKILIC":
if {demir.%player%} is greater than 149:
if {krom.%player%} is greater than 199:
if {titanyum.%player%} is greater than 349:
add -150 to {demir.%player%}
add -200 to {krom.%player%}
add -350 to {titanyum.%player%}
remove 1 diamond sword named "&e&lPREMIUM &4&lKILIC" from player
give diamond sword of sharpness 27, unbreaking 27, smite 8 named "&e&lPREMIUM &6● &a+1 &6●" to player
send "&6&lMateryal &8» &a%player% &7Adlı Oyuncu &e&lPREMIUM &7Kılıcına &6+1 &7Bastı" to players
else:
send "&6&lMateryal &8» &cYeterli Titanyumun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Kromun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Demirin Yok" to player
else:
send "&6&lMateryal &8» &e&lPREMIUM &4&lKILIC &cBulunamadı, &7Eğer Kılıç Var İse Eline Al" to player
command /premium+2:
trigger:
if tool's display name is "&e&lPREMIUM &6● &a+1 &6●":
if {demir.%player%} is greater than 299:
if {krom.%player%} is greater than 349:
if {titanyum.%player%} is greater than 499:
add -300 to {demir.%player%}
add -350 to {krom.%player%}
add -500 to {titanyum.%player%}
remove 1 diamond sword named "&e&lPREMIUM &6● &a+1 &6●" from player
give diamond sword of sharpness 29, unbreaking 29, smite 9 named "&e&lPREMIUM &6● &a+2 &6●" to player
send "&6&lMateryal &8» &a%player% &7Adlı Oyuncu &e&lPREMIUM &a+1 &7Kılıcına &6+2 &7Bastı" to players
else:
send "&6&lMateryal &8» &cYeterli Titanyumun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Kromun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Demirin Yok" to player
else:
send "&6&lMateryal &8» &e&lPREMIUM+1 &cKılıcı Bulunamadı, &7Eğer Kılıç Var İse Eline Al" to player
command /premium+3:
trigger:
if tool's display name is "&e&lPREMIUM &6● &a+2 &6●":
if {demir.%player%} is greater than 449:
if {krom.%player%} is greater than 499:
if {titanyum.%player%} is greater than 649:
add -450 to {demir.%player%}
add -500 to {krom.%player%}
add -650 to {titanyum.%player%}
remove 1 diamond sword named "&e&lPREMIUM &6● &a+2 &6●" from player
give diamond sword of sharpness 30, unbreaking 30, smite 10 named "&e&lPREMIUM &6● &a+3 &6●" to player
send "&6&lMateryal &8» &a%player% &7Adlı Oyuncu &e&lPREMIUM &a+2 &7Kılıcına &6+3 &7Bastı" to players
else:
send "&6&lMateryal &8» &cYeterli Titanyumun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Kromun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Demirin Yok" to player
else:
send "&6&lMateryal &8» &e&lPREMIUM+2 &cKılıcı Bulunamadı, &7Eğer Kılıç Var İse Eline Al" to player
#-------------------------------------------------------------------------------------
#Kazma Geliştirme
command /premiumkazma+1:
trigger:
if tool's display name is "&e&lPREMIUM &4&lKAZMA":
if {demir.%player%} is greater than 149:
if {krom.%player%} is greater than 199:
if {titanyum.%player%} is greater than 299:
add -150 to {demir.%player%}
add -200 to {krom.%player%}
add -300 to {titanyum.%player%}
remove 1 diamond pickaxe named "&e&lPREMIUM &4&lKAZMA" from player
give diamond pickaxe of efficiency 27, unbreaking 17, fortune 7 named "&e&lPREMIUM &aKAZMA &6● &a+1 &6●" to player
send "&6&lMateryal &8» &a%player% &7Adlı Oyuncu &e&lPREMIUM &a+2 &7Kazmasına &6+1 &7Bastı" to players
else:
send "&6&lMateryal &8» &cYeterli Titanyumun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Kromun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Demirin Yok" to player
else:
send "&6&lMateryal &8» &e&lPREMIUM &cKazma Bulunamadı, &7Eğer Kazma Var İse Eline Al" to player
command /premiumkazma+2:
trigger:
if tool's display name is "&e&lPREMIUM &aKAZMA &6● &a+1 &6●":
if {demir.%player%} is greater than 349:
if {krom.%player%} is greater than 499:
if {titanyum.%player%} is greater than 599:
add -350 to {demir.%player%}
add -500 to {krom.%player%}
add -600 to {titanyum.%player%}
remove 1 diamond pickaxe named "&e&lPREMIUM &aKAZMA &6● &a+1 &6●" from player
give diamond pickaxe of efficiency 29, unbreaking 19, fortune 8 named "&e&lPREMIUM &aKAZMA &6● &a+2 &6●" to player
send "&6&lMateryal &8» &a%player% &7Adlı Oyuncu &e&lPREMIUM &a+2 &7Kazmasına &6+2 &7Bastı" to players
else:
send "&6&lMateryal &8» &cYeterli Titanyumun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Kromun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Demirin Yok" to player
else:
send "&6&lMateryal &8» &e&lPREMIUM &cKazma Bulunamadı, &7Eğer Kazma Var İse Eline Al" to player
command /premiumkazma+3:
trigger:
if tool's display name is "&e&lPREMIUM &aKAZMA &6● &a+2 &6●":
if {demir.%player%} is greater than 599:
if {krom.%player%} is greater than 699:
if {titanyum.%player%} is greater than 799:
add -600 to {demir.%player%}
add -700 to {krom.%player%}
add -800 to {titanyum.%player%}
remove 1 diamond pickaxe named "&e&lPREMIUM &aKAZMA &6● &a+2 &6●" from player
give diamond pickaxe of efficiency 30, unbreaking 20, fortune 9 named "&e&lPREMIUM &aKAZMA &6● &a+3 &6●" to player
send "&6&lMateryal &8» &a%player% &7Adlı Oyuncu &e&lPREMIUM &a+2 &7Kazmasına &6+3 &7Bastı" to players
else:
send "&6&lMateryal &8» &cYeterli Titanyumun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Kromun Yok" to player
else:
send "&6&lMateryal &8» &cYeterli Demirin Yok" to player
else:
send "&6&lMateryal &8» &e&lPREMIUM &cKazma Bulunamadı, &7Eğer Kazma Var İse Eline Al" to player
#-------------------------------------------------------------------------------------
#Oyun Parası
command /materyal:
trigger:
wait 0.1 seconds
open chest with 3 rows named "&a&lMateryal" to player
wait 1 ticks
format slot 11 of player with paper named "&6✠ &aMATERYALLERIN &6✠" with lore "&c&l● &7Demir &f» &6%{demir.%player%}%||&c&l● &7Krom &f» &6%{krom.%player%}%||&c&l● &7Titanyum &f» &6%{titanyum.%player%}%" to act unstealable
format slot 13 of player with emerald named "&6✠ &aGELISTIR &6✠" with lore "&c&l● &7Eşyalarını Geliştirmek İçin Tıkla" to close then run [make player execute command "materyalsec"]
format slot 15 of player with book named "&f» &eBİLGİ &f«" to close then run [make player execute command "materyalbilgi"]
format slot 3 of player with none named "" to act unstealable
format slot 1 of player with none named "" to act unstealable
format slot 7 of player with none named "" to act unstealable
command /materyalsec:
trigger:
wait 0.1 seconds
open chest with 1 rows named "&e&lMateryal&f/&cGelistirmeSec" to player
wait 1 ticks
format slot 3 of player with diamond sword named "&6✠ &aKILIC &6✠" with lore "&c&l● &7Kılıc Geliştirmek İstiyorsan Tıkla" to close then run [make player execute command "materyalkilic"]
format slot 5 of player with diamond pickaxe named "&6✠ &aKAZMA &6✠" with lore "&c&l● &7Kazma Geliştirmek İstiyorsan Tıkla" to close then run [make player execute command "materyalkazma"]
format slot 8 of player with compass named "&6✠ &cGERİ DÖN &6✠" with lore "&c&l● &7Geri Dönmek İçin Tıkla" to close then run [make player execute command "materyal"]
command /materyalbilgi:
trigger:
wait 0.1 seconds
open chest with 1 rows named "&e&lMateryal&f/&cBilgi" to player
wait 1 ticks
format slot 4 of player with diamond sword named "&6✠ &aBILGI &6✠" with lore "&c&l● &6Lapis&7, &6Yosunlu Taş &7Kırdığınızda Şansa Göre Verir||&c&l● &7Eventlerde Verilir||&c&l● &7Materyallerine Bakmak İçin &6/materyalim" to act unstealable
format slot 8 of player with compass named "&6✠ &cGERİ DÖN &6✠" with lore "&c&l● &7Geri Dönmek İçin Tıkla" to close then run [make player execute command "materyal"]
command /materyalkilic:
trigger:
wait 0.1 seconds
open chest with 4 rows named "&e&lMateryal&f/&cKilic" to player
wait 1 ticks
format slot 10 of player with diamond sword named "&6✠ &e&lPREMİUM KILIC &6✠" with lore "&c&l● &6Premium Kılıcı +1 &7Yapmak İstiyorsan Tıkla||&a|| &3&lGereken Materyaller|| &7&lDemir &f» &6150|| &7&lKrom &f» &6200|| &7&lTitanyum &f» &6300||&a|| &3&lYeni Özellikler|| &7Keskinlik &f» &627|| &7Kırılmazlık &f» &627|| &7Darbe &f» &68" to close then run [make player execute command "premium+1"]
format slot 19 of player with nether star named "&6✠ &e&lPREMİUM KILIC &6✠" with lore "&c&l● &6Premium Kılıcı +2 &7Yapmak İstiyorsan Tıkla||&a|| &3&lGereken Materyaller|| &7&lDemir &f» &6300|| &7&lKrom &f» &6350|| &7&lTitanyum &f» &6500||&a|| &3&lYeni Özellikler|| &7Keskinlik &f» &629|| &7Kırılmazlık &f» &629|| &7Darbe &f» &69" to close then run [make player execute command "premium+2"]
format slot 28 of player with nether star named "&6✠ &e&lPREMİUM KILIC &6✠" with lore "&c&l● &6Premium Kılıcı +3 &7Yapmak İstiyorsan Tıkla||&a|| &3&lGereken Materyaller|| &7&lDemir &f» &6450|| &7&lKrom &f» &6500|| &7&lTitanyum &f» &6650||&a|| &3&lYeni Özellikler|| &7Keskinlik &f» &630|| &7Kırılmazlık &f» &630|| &7Darbe &f» &610" to close then run [make player execute command "premium+3"]
format slot 35 of player with compass named "&6✠ &cGERİ DÖN &6✠" with lore "&c&l● &7Geri Dönmek İçin Tıkla" to close then run [make player execute command "materyalsec"]
command /materyalkazma:
trigger:
wait 0.1 seconds
open chest with 4 rows named "&e&lMateryal&f/&cKazma" to player
wait 1 ticks
format slot 10 of player with diamond pickaxe named "&6✠ &e&lPREMİUM KAZMA &6✠" with lore "&c&l● &6Premium Kazmayı +1 &7Yapmak İstiyorsan Tıkla||&a|| &3&lGereken Materyaller|| &7&lDemir &f» &6150|| &7&lKrom &f» &6200|| &7&lTitanyum &f» &6350||&a|| &3&lYeni Özellikler|| &7Verimlilik &f» &627|| &7Kırılmazlık &f» &617|| &7Servet &f» &67" to close then run [make player execute command "premium+1"]
format slot 19 of player with nether star named "&6✠ &e&lPREMİUM KAZMA &6✠" with lore "&c&l● &6Premium Kazmayı +2 &7Yapmak İstiyorsan Tıkla||&a|| &3&lGereken Materyaller|| &7&lDemir &f» &6350|| &7&lKrom &f» &6500|| &7&lTitanyum &f» &6600||&a|| &3&lYeni Özellikler|| &7Verimlilik &f» &629|| &7Kırılmazlık &f» &619|| &7Servet &f» &68" to close then run [make player execute command "premium+2"]
format slot 28 of player with nether star named "&6✠ &e&lPREMİUM KAZMA &6✠" with lore "&c&l● &6Premium Kazmayı +3 &7Yapmak İstiyorsan Tıkla||&a|| &3&lGereken Materyaller|| &7&lDemir &f» &6600|| &7&lKrom &f» &6700|| &7&lTitanyum &f» &6800||&a|| &3&lYeni Özellikler|| &7Verimlilik &f» &630|| &7Kırılmazlık &f» &620|| &7Servet &f» &69" to close then run [make player execute command "premium+3"]
format slot 35 of player with compass named "&6✠ &cGERİ DÖN &6✠" with lore "&c&l● &7Geri Dönmek İçin Tıkla" to close then run [make player execute command "materyalsec"]