Hepinize merhabalar sayın MC-TR halkı, bugün sizlere oKomut ile beraber yaptığımız skripti tanıtacağım.
BU SKRIPT NE İŞE YARAR?
Bu skriptde "/market" komutunu girdiğiniz zaman önünüze bir menü açılır, bu menüde 3 adet seçeneğiniz vardır. [Kriptonik Kan], [Kriptonik Buzul Eller] ve [Kriptonik Hayalet]BU SKRIPT NE İŞE YARAR?
KRIPTONIK KAN
Fiyatı 5000KP (Kriptonik Para)'dır, size 30 saniyeliğine 2 ekstra can, ve anında sağlık verir.
KRIPTONIK BUZUL ELLER
Fiyatı 6000KP (Kriptonik Para)'dır, size 30 saniyeliğine (aktif edildiği zaman) bir sopa verir, bu sopayla kartopu fırlatırsınız, ve kartopuna değen kişi donar.
KRIPTONIK HAYALET
Fiyatı 7000KP (Kriptonik Para)'dır. Sizi görünmez ve havada uçabilir yapar.
Gördüğünüz gibi yukarıda kullanım örnekleri mevcuttur. Bandicam yazısını aldırış etmeyiniz cracklemeye üşendim.
KOD:
Fiyatı 5000KP (Kriptonik Para)'dır, size 30 saniyeliğine 2 ekstra can, ve anında sağlık verir.
KRIPTONIK BUZUL ELLER
Fiyatı 6000KP (Kriptonik Para)'dır, size 30 saniyeliğine (aktif edildiği zaman) bir sopa verir, bu sopayla kartopu fırlatırsınız, ve kartopuna değen kişi donar.
KRIPTONIK HAYALET
Fiyatı 7000KP (Kriptonik Para)'dır. Sizi görünmez ve havada uçabilir yapar.
Gördüğünüz gibi yukarıda kullanım örnekleri mevcuttur. Bandicam yazısını aldırış etmeyiniz cracklemeye üşendim.
KOD:
Kod:
#----------------------#
# Made By #
# EKTEAM #
#----------------------#
on first join:
set {kriptonikpara::%player%} to 0
set {kkan::%player%} to 0
set {kbeller::%player%} to 0
set {kbeller2::%player%} to 0
set {kbellerbekle::%player%} to 0
on join:
if {kriptonikpara::%player%} is not set:
set {kriptonikpara::%player%} to 0
if {kkan::%player%} is not set:
set {kkan::%player%} to 0
if {kbeller::%player%} is not set:
set {kbeller::%player%} to 0
if {kbeller2::%player%} is not set:
set {kbeller2::%player%} to 0
if {kbellerbekle::%player%} is not set:
set {kbellerbekle::%player%} to 0
if {kkanbekle::%player%} is not set:
set {kkanbekle::%player%} to 0
if {buzulasa::%player%} is not set:
set {buzulasa::%player%} to 0
if {buzulasavictim::%player%} is not set:
set {buzulasavictim::%player%} to 0
if {khayalet::%player%} is not set:
set {khayalet::%player%} to 0
if {khbekle::%player%} is not set:
set {khbekle::%player%} to 0
if {donmus::%player%} is not set:
set {donmus::%player%} to 0
if {buzulasavictim::%player%} is 1:
set {buzulasavictim::%player%} to 0
remove jump boost from player
remove slowness from player
send "&aÇıktığından bu yana, yavaşlık süren bitti." to player
if {kkan::%player%} is 1:
set max health of player to 10
set {kkan::%player%} to 0
set {kkanbekle::%player%} to 0
send "&cBug yapmaya çalışmadın umarım." to player
if {kbeller::%player%} is 1:
set {kbeller::%player%} to 0
set {kbeller2::%player%} to 0
set {kbellerbekle::%player%} to 0
set {buzulasa::%player%} to 0
remove 1 Stick named "&c[Buzul Asa]" with lore "&aSağ tıkladığınız yöne bir kartopu atar.&r" from player
send "&cBug yapmaya çalışmadın umarım." to player
if {khayalet::%player%} is 1:
execute console command "minecraft:effect %player% clear"
set flight state of player to false
send "&cBug yapmaya çalışmadın umarım." to player
set {khbekle::%player%} to 0
on load:
execute console command "gamerule sendCommandFeedback false"
#-------------------------------------------------------------------------------------------------#
every 1 seconds:
loop all players:
if {kriptonikpara::%loop-player%} is less than 0:
set {kriptonikpara::%loop-player%} to 0
if {donmus::%loop-player%} is 1:
apply potion of slowness of tier 255 to loop-player for 10 seconds
apply potion of jump boost of tier 150 to loop-player for 10 seconds
#-------------------------------------------------------------------------------------------------#
command /kriptonikpara [<text>] [<number>] [<player>]:
permission: ekteam.kpara
description: Bu komut kriptonikpara komutudur.
trigger:
if arg 1 is not set:
send "&c/kriptonikpara <ekle> <miktar> <oyuncu>" to player
send "&c/kriptonikpara <sil> <miktar> <oyuncu>" to player
send "&c/kriptonikpara <goster>" to player
if arg 1 is set:
if arg 1 is "ekle":
if arg 2 is not set:
send "&cKomudu düzgün giriniz." to player
if arg 2 is set:
if arg 3 is not set:
send "&cKomudu düzgün giriniz." to player
if arg 3 is set:
add arg 2 to {kriptonikpara::%arg 3%}
if arg 1 is "sil":
if arg 2 is not set:
send "&cKomudu düzgün giriniz." to player
if arg 2 is set:
if arg 3 is not set:
send "&cKomudu düzgün giriniz." to player
if arg 3 is set:
remove arg 2 from {kriptonikpara::%arg 3%}
if arg 1 is "goster":
send "&aParaniz: %{kriptonikpara::%player%}%"
command /market:
permission: ekteam.market
permission message: &c&lBu komudu kullanacak yetkiniz yok.
description: Bu komut super guc marketini acar.
trigger:
open chest with 1 row named "&6Süper Güç Marketi" to player
wait 0.3 ticks
format slot 1 of player with Rose Red named "&4&lKriptonik Kan" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Canınızı yeniler.||&b-Size 2 ek can kazandırır||&6Fiyat: 5000KP" to close then run [run player command "ekmarket1" as op]
format slot 4 of player with Cyan Dye named "&4&lKriptonik Buzul Eller&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Sağ tıkladığınız yöne bir kartopu atar||&bkartopu düşmana değerse donar.||&b-Size rejenerasyon sağlar.||&6Fiyat: 6000KP" to close then run [run player command "ekmarket2" as op]
format slot 7 of player with Bone Meal named "&4&lKriptonik Hayalet&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Sağ tıkladığınız zaman sizi görünmez ve uçabilir yapar.||&6Fiyat: 6000KP" to close then run [run player command "ekmarket3" as op]
command /ekmarket1:
permission: op
trigger:
if {kriptonikpara::%player%} is bigger than 4999:
give 1 Rose Red named "&4&lKriptonik Kan&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Canınızı yeniler.||&b-Size 2 ek can kazandırır&r" to player
remove 5000 from {kriptonikpara::%player%}
send player title "&aSatın Alım Başarılı&r" with subtitle "&c1 Adet &4&l[Kriptonik Kan] &csatın aldın!&r" for 1 seconds
else:
send player title "" with subtitle "&cKriptonik Paran yetersiz&r" for 1 seconds
run player command "playsound mob.villager.no %player% ~ ~ ~ 10 1" as op
command /ekmarket2:
permission: op
trigger:
if {kriptonikpara::%player%} is bigger than 5999:
give 1 Cyan Dye named "&4&lKriptonik Buzul Eller&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Sağ tıkladığınız yöne bir kartopu atar||&bkartopu düşmana değerse donar.||&b-Size rejenerasyon sağlar." to player
remove 6000 from {kriptonikpara::%player%}
send player title "&aSatın Alım Başarılı&r" with subtitle "&c1 Adet &4&l[Kriptonik Buzul Eller] &csatın aldın!&r" for 1 seconds
else:
send player title "" with subtitle "&cKriptonik Paran yetersiz&r" for 1 seconds
run player command "playsound mob.villager.no %player% ~ ~ ~ 10 1" as op
command /ekmarket3:
permission: op
trigger:
if {kriptonikpara::%player%} is bigger than 6999:
give 1 Bone Meal named "&4&lKriptonik Hayalet&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Sağ tıkladığınız zaman sizi görünmez ve uçabilir yapar." to player
remove 7000 from {kriptonikpara::%player%}
send player title "&aSatın Alım Başarılı&r" with subtitle "&c1 Adet &4&l[Kriptonik Hayalet] &csatın aldın!&r" for 1 seconds
else:
send player title "" with subtitle "&cKriptonik Paran yetersiz&r" for 1 seconds
run player command "playsound mob.villager.no %player% ~ ~ ~ 10 1" as op
#-------------------------------------------------------------------------------------------------#
on right click with Rose Red:
if name of player's tool is "&4&lKriptonik Kan&r":
if {kkanbekle::%player%} is 0:
send player title "" with subtitle "&aBir adet &4&l[Kriptonik Kan]&a yedin!"
set max health of player to 12
set {kkanbekle::%player%} to 1
wait 1 ticks
apply potion of instant health of tier 100 to player for 1 seconds
remove 1 Rose Red named "&4&lKriptonik Kan&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Canınızı yeniler.||&b-Size 2 ek can kazandırır&r" from player
wait 30 seconds
if player is offline:
set {kkan::%player%} to 1
if player is online:
set max health of player to 10
send "&aYediginiz &4&l[Kriptonik Kan]&a'ın süresi bitmiş bulunmaktadır."
set {kkanbekle::%player%} to 0
else:
send "&cŞu anda tekrar yiyemezsin." to player
on right click with Cyan Dye:
if name of player's tool is "&4&lKriptonik Buzul Eller&r":
wait 1 ticks
if {kbellerbekle::%player%} is 0:
send player title "" with subtitle "&aBir adet &4&l[Kriptonik Buzul Eller]&a yedin!"
set {kbellerbekle::%player%} to 1
set {kbeller2::%player%} to 1
remove 1 Cyan Dye named "&4&lKriptonik Buzul Eller&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Sağ tıkladığınız yöne bir kartopu atar||&bkartopu düşmana değerse donar.||&b-Size rejenerasyon sağlar." from player
give 1 Stick named "&c[Buzul Asa]" with lore "&aSağ tıkladığınız yöne bir kartopu atar.&r" to player
wait 30 seconds
if player is offline:
set {kbeller::%player%} to 1
if player is online:
send "&aYediginiz &4&l[Kriptonik Buzul Eller]&a'in süresi bitmiş bulunmaktadır."
remove 1 Stick named "&c[Buzul Asa]" with lore "&aSağ tıkladığınız yöne bir kartopu atar.&r" from player
set {kbeller::%player%} to 0
set {kbeller2::%player%} to 0
set {kbellerbekle::%player%} to 0
set {buzulasa::%player%} to 0
else:
send "&cŞu anda tekrar yiyemezsin." to player
on right click with Bone Meal:
if name of player's tool is "&4&lKriptonik Hayalet&r":
if {khbekle::%player%} is 0:
cancel event
set {khbekle::%player%} to 1
send player title "" with subtitle "&aBir adet &4&l[Kriptonik Hayalet]&a yedin!"
remove 1 Bone Meal named "&4&lKriptonik Hayalet&r" with lore "&aBu etkiler 30 saniyeliginedir.||&b-Sağ tıkladığınız zaman sizi görünmez ve uçabilir yapar." from player
execute console command "minecraft:effect %player% invisibility 30 1 true"
set flight state of player to true
wait 30 seconds
if player is offline:
set {khayalet::%player%} to 1
if player is online:
execute console command "minecraft:effect %player% clear"
set flight state of player to false
send "&aYediğiniz &4&l[Kriptonik Hayalet]&a'in süresi bitmiştir."
set {khbekle::%player%} to 0
on right click with Stick:
if name of player's tool is "&c[Buzul Asa]":
if {kbeller2::%player%} is 1:
set {buzulasa::%player%} to 1
shoot a snowball at speed 2
on damage:
if {kbeller2::%attacker%} is 1:
if {buzulasa::%attacker%} is 1:
if {donmus::%victim%} is 0:
attacker is a player
victim is a player
set {donmus::%victim%} to 1
send "&a[%victim%] adlı kişiyi dondurdun!" to attacker
send "&a[%attacker%] tarafından DONDURULDUN!" to victim
wait 10 seconds
set {donmus::%victim%} to 0
if victim is offline:
set {buzulasavictim::%victim%} to 1
if victim is online:
remove jump boost from victim
remove slowness from victim
send "&aYavaşlık süresi bitti." to victim
else:
cancel event
send "&cDonmuş oyuncu tekrar dondurulamaz!" to attacker
on break of stone:
chance of 90%:
add 10 to {kriptonikpara::%player%}
set action bar of player to "&a10 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
chance of 10%:
add 20 to {kriptonikpara::%player%}
set action bar of player to "&a20 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
on break of coal ore:
chance of 90%:
add 20 to {kriptonikpara::%player%}
set action bar of player to "&a20 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
chance of 10%:
add 40 to {kriptonikpara::%player%}
set action bar of player to "&a40 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
on break of iron ore:
chance of 90%:
add 50 to {kriptonikpara::%player%}
set action bar of player to "&a50 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
chance of 10%:
add 100 to {kriptonikpara::%player%}
set action bar of player to "&a100 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
on break of gold ore:
chance of 90%:
add 100 to {kriptonikpara::%player%}
set action bar of player to "&a100 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
chance of 10%:
add 200 to {kriptonikpara::%player%}
set action bar of player to "&a200 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
on break of diamond ore:
chance of 90%:
add 200 to {kriptonikpara::%player%}
set action bar of player to "&a200 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
chance of 10%:
add 400 to {kriptonikpara::%player%}
set action bar of player to "&a400 Kriptonik Para Kazandınız. Şuanda toplam %{kriptonikpara::%player%}% kriptonik paranız bulunmaktadır."
on death:
attacker is a player
victim is a player
add 100 to {kriptonikpara::%attacker%}
send "&a[%victim%] adlı oyuncu öldürdüğünüz için 100 kriptonik para kazandınız." to attacker
if {kriptonikpara::%victim%} is greater than 25:
remove 25 from {kriptonikpara::%victim%}
send "&c[%attacker%] Oyuncusuna öldüğünüz için 25 kriptonik para kaybettiniz. Mevcut kriptonik para durumunuz: %{kriptonikpara::%victim%}%" to victim
#-------------------------------------------------------------------------------------------------#
Yenilikler 1.1:
-Artık dondurduğunuz oyuncunun donma süresi geçmeden tekrar donduramazsınız.
-Belirli taşlardan artık kriptonik para kazanabilirsiniz.
-Oyunculardan artık kriptonik para kazanabilirsiniz.
Kod budur, kriptonik para kullanımlarını görmek için "/kriptonikpara" komudunu yazmanız yeterlidir. Kriptonik Parayı şuanda kazanmanın bir yolu yoktur, 1.1 güncellemesinde getireceğiz.
KULLANILAN ADDONLAR:
TuSKe
WildSkript
skRayFall
Son düzenleme: