vicdum
Demir Madencisi
- Mesajlar
- 272
- En iyi cevaplar
- 2
- Beğeniler
- 102
- Puanları
- 635
- Ruh hali
Skript'te özel olarak benim adımı içeren bir yer zaten yok.Kullandığımız zaman sizin yaptığınızı söylememiz mecburmu (sunucuda) ?
Skript'te özel olarak benim adımı içeren bir yer zaten yok.Kullandığımız zaman sizin yaptığınızı söylememiz mecburmu (sunucuda) ?
Yapıldığı ve güncellemelerine devam edildiği sıralarda aynı özellikleri taşıyarak ihtiyacımı karşılayacak bir skript bulunmadığı için ortaya çıkan bir ürün, paylaşılmasından sonra alternatifleri çıktığında "gereksiz, boş zaman kaybı" gibi gözükebiliyor. İyi günlerYapılanlar hep hep hep aynı
Yaa arkadaş neden hep aynı şeyleri yapıyorsunuz. Farklı fikirler üretin veya yapılan skriptleri geliştirin ama aynı amaca yönelik yapılan gereksiz, boş zaman kaybı
Skript'in kodlanışına göre değil de ne kadar uzun olduğuna göre eleştirerek mesaj kasmaya çalışmak yerine lütfen deneyerek eleştir.Skript Çok Uzun Muhtemelen Lag Yaratıcaktır.
options:
prefix: &3&lJack&b&lpot &8&l>&7
otomatik çekiliş: 1 # ( 1 - açık / 0 - kapalı)
minimum katılım: 2
maksimum katılım: 50
versiyon: 2.1 # Burası sadece karşılaştırmanız için!
function jackpot():
size of {jackpot::liste::katılan::*} is bigger than {@minimum katılım}
set {jackpot::dönüyor} to 1
set {_z} to 6
loop 5 times:
remove 1 from {_z}
broadcast "{@prefix} JackPot için son %{_z}% saniye."
wait 1 second
broadcast "{@prefix} JackPot dönüyor, katılan herkese bol şans!"
wait 1 second
loop {jackpot::liste::katılan::*}:
set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%loop-value%::yatırılan}))*100
set {_sans} to rounded {_sans}
loop {_sans} times:
add loop-value-1 to {_jackpotdönüyor::*}
wait 1 second
set {_kazanan} to random element out of {_jackpotdönüyor::*}
wait 1 second
broadcast "{@prefix} &3JackPot kazananı &a%{_kazanan}%!"
broadcast "&3Yatırdığı Para &8&l> &f%{jackpot::%{_kazanan}%::yatırılan}%$"
broadcast "&3Toplam Kazandığı Para &8&l> &f%{jackpot::liste::yatırılan}%$"
wait 3 tick
add {jackpot::liste::yatırılan} to {_kazanan}'s money
wait 3 tick
delete {jackpot::*}
command /jackpot [<int>]:
usage: /jackpot [<Yatırılacak Miktar>]
aliases: jp
trigger:
if {event::pzt} is not "&aAktif":
send "{@prefix} &aJackpot sistemi pazartesi günlerinde açıktır."
stop trigger
arg 1 is not set:
{jackpot::liste::yatırılan} is not set:
set {jackpot::liste::yatırılan} to 0
create a gui with virtual chest with 6 rows named "&4&lJack&f&lPot":
make gui integers from 1 to 52 with black stained glass pane
make gui 0 with paper named "&7&l> > > &a&lBilgiler &7&l< < <" with lore "&eKatılan Kişi Sayısı &8&l> &f%size of {jackpot::liste::katılan::*}% Kişi" and "&ePottaki Para &8&l> &f%{jackpot::liste::yatırılan}%$"
make gui 53 with sunflower named "&7&l&m > > > > >&r &aPara Yatır &7&l&m< < < < <":
execute player command "/jackpot 10000"
set {_x} to 0
loop {jackpot::liste::katılan::*}:
add 1 to {_x}
set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%loop-value%::yatırılan}))*100
make gui {_x} with loop-value's skull named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "", "&eOyuncu &8&l> &f%loop-value%", "&eYatırılan &8&l> &f%{jackpot::%loop-value%::yatırılan}%$", "&eŞans &8&l> &f%%%{_sans}%", "" and "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <"
open last gui to player
arg 1 is set:
arg is bigger than 0:
{jackpot::dönüyor} isn't set:
size of {jackpot::liste::katılan::*} is bigger than {@maksimum katılım}:
send "{@prefix} Üzgünüm, JackPot'a maksimum sayıda kişi katılmış."
stop
player's money is less than arg:
send "{@prefix} JackPot'a yatırmak istediğin kadar paran yok."
stop
set {m::%player%} to arg
create a gui with virtual chest named "&4&lJack&f&lPot" and shape "xxxxxxxxxxqwexaxdxxxxxxxxxz":
make gui slot "x" with black stained glass pane
make gui slot "q" with iron ingot named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "&eSol Tıklayarak", "&a10.000$ Ekle", "&eSağ Tıklayarak" and "&c10.000$ Azalt":
gui-click-action is left mouse button:
add 10000 to {m::%player%}
make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
gui-click-action is right mouse button:
{m::%player%} is bigger than 9999
remove 10000 from {m::%player%}
make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
make gui slot "w" with gold ingot named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "&eSol Tıklayarak", "&a100.000$ Ekle", "&eSağ Tıklayarak" and "&c100.000$ Azalt":
gui-click-action is left mouse button:
add 100000 to {m::%player%}
make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
gui-click-action is right mouse button:
{m::%player%} is bigger than 99999
remove 100000 from {m::%player%}
make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
make gui slot "e" with diamond named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "&eSol Tıklayarak" and "&a1.000.000$ Ekle", "&eSağ Tıklayarak", "&c1.000.000$ Azalt":
gui-click-action is left mouse button:
add 1000000 to {m::%player%}
make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
gui-click-action is right mouse button:
{m::%player%} is bigger than 999999
remove 1000000 from {m::%player%}
make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
make gui slot "a" with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $"
make gui slot "d" with nether star named "&7&l&m > > > > >&r &aOnayla &7&l&m< < < < <":
{m::%player%} is bigger than 0:
remove {m::%player%} from player's money
{jackpot::liste::katılan::*} contains player:
add {m::%player%} to {jackpot::%player%::yatırılan}
add {m::%player%} to {jackpot::liste::yatırılan}
set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%player%::yatırılan}))*100
send "{@prefix} JackPot'a para yatırdın!"
send "&eToplam Yatırdığın Para &8&l> &f%{jackpot::%player%::yatırılan}%$"
send "&eŞans &8&l> &f%%%{_sans}%"
delete {m::%player%}
close player's inventory
else:
add player to {jackpot::liste::katılan::*}
add {m::%player%} to {jackpot::%player%::yatırılan}
add {m::%player%} to {jackpot::liste::yatırılan}
set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%player%::yatırılan}))*100
send "{@prefix} JackPot'a para yatırdın!"
send "&eToplam Yatırdığın Para &8&l> &f%{jackpot::%player%::yatırılan}%$"
send "&eŞans &8&l> &f%%%{_sans}%"
delete {m::%player%}
close player's inventory
else:
send "{@prefix} Geçersiz bir değer girdin!" to player
close player's inventory
make gui slot "z" with barrier named "&7&l&m > > > > >&r &aListeye Dön &7&l&m< < < < <":
execute player command "/jackpot"
run when close gui:
delete {m::%player%}
open last gui to player
else:
send "{@prefix} JackPot şuanda dönüyor, lütfen bitmesini bekle."
else:
send "{@prefix} Geçersiz bir değer girdin!"
Çalışmayan yer neresi acaba? Yanılmıyorsam 1.14 ile de denediğimi hatırlıyorum, bir hata almamıştım.Beğendim. Sunucumda kullanıyorum. 1.14.4 sürüme göre düzenledim. İsteyenler için;
Kod:options: prefix: &3&lJack&b&lpot &8&l>&7 otomatik çekiliş: 1 # ( 1 - açık / 0 - kapalı) minimum katılım: 2 maksimum katılım: 50 versiyon: 2.1 # Burası sadece karşılaştırmanız için! function jackpot(): size of {jackpot::liste::katılan::*} is bigger than {@minimum katılım} set {jackpot::dönüyor} to 1 set {_z} to 6 loop 5 times: remove 1 from {_z} broadcast "{@prefix} JackPot için son %{_z}% saniye." wait 1 second broadcast "{@prefix} JackPot dönüyor, katılan herkese bol şans!" wait 1 second loop {jackpot::liste::katılan::*}: set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%loop-value%::yatırılan}))*100 set {_sans} to rounded {_sans} loop {_sans} times: add loop-value-1 to {_jackpotdönüyor::*} wait 1 second set {_kazanan} to random element out of {_jackpotdönüyor::*} wait 1 second broadcast "{@prefix} &3JackPot kazananı &a%{_kazanan}%!" broadcast "&3Yatırdığı Para &8&l> &f%{jackpot::%{_kazanan}%::yatırılan}%$" broadcast "&3Toplam Kazandığı Para &8&l> &f%{jackpot::liste::yatırılan}%$" wait 3 tick add {jackpot::liste::yatırılan} to {_kazanan}'s money wait 3 tick delete {jackpot::*} command /jackpot [<int>]: usage: /jackpot [<Yatırılacak Miktar>] aliases: jp trigger: if {event::pzt} is not "&aAktif": send "{@prefix} &aJackpot sistemi pazartesi günlerinde açıktır." stop trigger arg 1 is not set: {jackpot::liste::yatırılan} is not set: set {jackpot::liste::yatırılan} to 0 create a gui with virtual chest with 6 rows named "&4&lJack&f&lPot": make gui integers from 1 to 52 with black stained glass pane make gui 0 with paper named "&7&l> > > &a&lBilgiler &7&l< < <" with lore "&eKatılan Kişi Sayısı &8&l> &f%size of {jackpot::liste::katılan::*}% Kişi" and "&ePottaki Para &8&l> &f%{jackpot::liste::yatırılan}%$" make gui 53 with sunflower named "&7&l&m > > > > >&r &aPara Yatır &7&l&m< < < < <": execute player command "/jackpot 10000" set {_x} to 0 loop {jackpot::liste::katılan::*}: add 1 to {_x} set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%loop-value%::yatırılan}))*100 make gui {_x} with loop-value's skull named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "", "&eOyuncu &8&l> &f%loop-value%", "&eYatırılan &8&l> &f%{jackpot::%loop-value%::yatırılan}%$", "&eŞans &8&l> &f%%%{_sans}%", "" and "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" open last gui to player arg 1 is set: arg is bigger than 0: {jackpot::dönüyor} isn't set: size of {jackpot::liste::katılan::*} is bigger than {@maksimum katılım}: send "{@prefix} Üzgünüm, JackPot'a maksimum sayıda kişi katılmış." stop player's money is less than arg: send "{@prefix} JackPot'a yatırmak istediğin kadar paran yok." stop set {m::%player%} to arg create a gui with virtual chest named "&4&lJack&f&lPot" and shape "xxxxxxxxxxqwexaxdxxxxxxxxxz": make gui slot "x" with black stained glass pane make gui slot "q" with iron ingot named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "&eSol Tıklayarak", "&a10.000$ Ekle", "&eSağ Tıklayarak" and "&c10.000$ Azalt": gui-click-action is left mouse button: add 10000 to {m::%player%} make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" gui-click-action is right mouse button: {m::%player%} is bigger than 9999 remove 10000 from {m::%player%} make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" make gui slot "w" with gold ingot named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "&eSol Tıklayarak", "&a100.000$ Ekle", "&eSağ Tıklayarak" and "&c100.000$ Azalt": gui-click-action is left mouse button: add 100000 to {m::%player%} make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" gui-click-action is right mouse button: {m::%player%} is bigger than 99999 remove 100000 from {m::%player%} make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" make gui slot "e" with diamond named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "&eSol Tıklayarak" and "&a1.000.000$ Ekle", "&eSağ Tıklayarak", "&c1.000.000$ Azalt": gui-click-action is left mouse button: add 1000000 to {m::%player%} make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" gui-click-action is right mouse button: {m::%player%} is bigger than 999999 remove 1000000 from {m::%player%} make gui slot 14 with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" make gui slot "a" with sunflower named "&7&l&m > > > > >&r &4Jack&fPot &7&l&m< < < < <" with lore "" and "&eYatıracağın miktar &8&l> &f%{m::%player%}% $" make gui slot "d" with nether star named "&7&l&m > > > > >&r &aOnayla &7&l&m< < < < <": {m::%player%} is bigger than 0: remove {m::%player%} from player's money {jackpot::liste::katılan::*} contains player: add {m::%player%} to {jackpot::%player%::yatırılan} add {m::%player%} to {jackpot::liste::yatırılan} set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%player%::yatırılan}))*100 send "{@prefix} JackPot'a para yatırdın!" send "&eToplam Yatırdığın Para &8&l> &f%{jackpot::%player%::yatırılan}%$" send "&eŞans &8&l> &f%%%{_sans}%" delete {m::%player%} close player's inventory else: add player to {jackpot::liste::katılan::*} add {m::%player%} to {jackpot::%player%::yatırılan} add {m::%player%} to {jackpot::liste::yatırılan} set {_sans} to (1/({jackpot::liste::yatırılan}/{jackpot::%player%::yatırılan}))*100 send "{@prefix} JackPot'a para yatırdın!" send "&eToplam Yatırdığın Para &8&l> &f%{jackpot::%player%::yatırılan}%$" send "&eŞans &8&l> &f%%%{_sans}%" delete {m::%player%} close player's inventory else: send "{@prefix} Geçersiz bir değer girdin!" to player close player's inventory make gui slot "z" with barrier named "&7&l&m > > > > >&r &aListeye Dön &7&l&m< < < < <": execute player command "/jackpot" run when close gui: delete {m::%player%} open last gui to player else: send "{@prefix} JackPot şuanda dönüyor, lütfen bitmesini bekle." else: send "{@prefix} Geçersiz bir değer girdin!"
Kullananlar var, ama aynı sürümler ile çalıştığını garanti edemem.1.8.8 destekliyor mu?
Ancak bu skriptin yapılma amacını taşıyan bir eklenti değil kendisi. Konunun en başını okumayan kişiler için; isteyen kişinin istediği kadar para yatırarak katılmasını ve bununla orantılı bir şans ile kazanması için oluşturuldu.Skript yerine bir plugin var onu kullanabilirsiniz.
Plugin indirme link : Lottery
Kod bu linkte: Tıkla!