options:
1biletpara: 1000 #Her Biletin Fiyatı
restartdakika: 1 #Kaç Dakikada Bir Yeni raund başlasın?
prefix: &8[&6Jackpot&8] &7 #Mesaj Prefixi
otomesaj: on
mesajdelay: 3 #Kaç Dakikada Bir Bilgi MEsajı Yollasın
duyurumesaj: Bu Sunucu dSK Jackpot KUllanıyor Katılabilmek İçin: /jackpot
adminyetki: dSK.jackpot.admin
command /jackpot [<text>] [<int>]:
aliases: /pot
trigger:
arg 1 is set:
arg 1 is "ne":
send "{@prefix} Sistemi Ortaya Herkesin Bir Para Yatırdığı"
send "&7Tamamen Şansa Bir Şekilde Bir Kişinin Kazandığı Bir İhale Sistemidir"
arg 1 is "durum":
if {başladı.jackpot} is set:
send "{@prefix} Katılanlar: &6%{jackpottakiler::*}%"
send "{@prefix} Devredilecek Para %{potpara::*}%"
send "{@prefix} Çekilmesine Kalan Süre: %{bitecek.sure}%Dakika %{bitecek.s}%Saniye"
send "{@prefix} Senin Yatırdığın Para:$%{yatırdı.%player%}%"
else:
send "&6{@prefix} Aktif Değil"
arg 1 is "kazanç":
if {başladı.jackpot} is set:
send "{@prefix} Pottan Toplam Kazancınız: $-%{yatırdı.%player%}%"
else:
send "&6{@prefix} Aktif Değil"
arg 1 is "başlat":
if {başladı.jackpot} is not set:
set {başladı.jackpot} to true
set {bitecek.sure} to "&41"
set {bitecek.s} to "&40"
broadcast "{@prefix} Pot Başladı Yatırmak İçin /jackpot yatır [<miktar>]"
wait 30 second
broadcast "{@prefix} 30 Saniye Kaldı"
wait 27 second
broadcast "{@prefix} 3"
wait 1 second
broadcast "{@prefix} 2"
wait 1 second
broadcast "{@prefix} 1"
wait 1 second
loop all players:
set {jkazanan} to random element of {jackpottakiler::*}
send "{@prefix} Jackpot Bitti"
broadcast "{@prefix} Kazanan %{jkazanan}%"
set {_miktar} to {potpara}
set {_miktar} to {_miktar} parsed as number
execute console command "eco give %{jkazanan}% %{yatırdı.%loop-player%}%000"
delete {başladı.jackpot}
delete {potpara::*}
delete {yatırdı.%loop-player%}
delete {başladı.sure}
delete {başladı.s}
delete {jackpottakiler::*}
delete {_miktar}
delete {jkazanan}
else:
send "{@prefix} Zaten Aktif"
arg 1 is "yatır":
arg 2 is set:
set {_grk1} to arg-2 * 1000
if player's balance is greater than {_grk1}:
if {başladı.jackpot} is set:
loop all players:
add arg-2 to {potpara::*}
add arg-2 to {yatırdı.%player%}
add player to {jackpottakiler::*}
execute console command "eco take %player% %arg 2%000"
broadcast "{@prefix} &6%player% &7pota &6+%arg 2% bilet &7ekledi! (Dönen Para %{yatırdı.%loop-player%}%)"
else:
send "{@prefix} Aktif değil"
else:
send "{@prefix} Yeterli Paraya Sahip Değilsin"
else:
send "{@prefix} Miktar Girmeliydin"
arg 1 is "ekstra":
arg 2 is set:
set {_grk} to arg-2 * 1000
if player's balance is greater than {_grk}:
if {başladı.jackpot} is set:
loop all players:
add arg-2 to {potpara::*}
add arg-2 to {yatırdı.%player%}
add player to {jackpottakiler::*}
execute console command "eco take %player% %{_grk}%"
add {_grk} to {%player%.aktif}
broadcast "{@prefix} &6%player% &7pota &6+%arg 2% bilet &7ekledi! (Dönen Para %{yatırdı.%loop-player%}%)"
else:
send "{@prefix} Aktif Değil"
else:
send "{@prefix} Yeterli Paraya Sahip Değilsin"
else:
send "{@prefix} Miktar Girmeliydin"
arg 1 is "sonlandır":
if player has permission "{@adminyetki}":
delete {başladı.jackpot}
delete {potpara}
delete {yatırdı.%player%}
delete {başladı.sure}
delete {başladı.s}
delete {jackpottakiler}
send "{@prefix} Başarılı"
else:
send "{@prefix} Yetkin Yok"
arg 1 is "reload":
if player has permission "{@adminyetki}":
execute player command "sk reload b"
else:
send "{@prefix}"
send "{@prefix} &6/jackpot ne &c-> &4Açıklama"
send "{@prefix} &6/jackpot yatır [Miktar] &c-> &4Bilet Yatırma"
send "{@prefix} &6/jackpot durum &c-> &4Şuanki Pot Hakkında bilgi Verir"
send "{@prefix} &6/jackpot kazanç &c-> &4Şuanki Karın"
send "{@prefix} &6/jackpot başlat &c-> &4Aktif Pot Yoksa Başlatır"
send "{@prefix} &6/jackpot ekstra [Miktar] &c-> &4Pota Ekstra Para Ekler"
TheLudoBile#3485
Ekli dosyayı görüntüle 85336
Bu jackpot plugini hangi plugin acaba? veya skript se nerden ulaşabilirim?
Sherlock#5773
variables:
{jackpottoplam} = 0
{jyatirdigimiktar.%player%} = 0
{jackpotkalansure} = 5
{jackpotgirdi.%player%} = false
{jackpotdurum} = false
{jackpotgirdi1taneadam} = false
{jackpotbilettiklandi.%player%} = false
command /jackpot [<number>]:
trigger:
if arg-1 is set:
if {jackpotdurum} is true:
if arg-1 is set:
if {jackpotbilettiklandi.%player%} is false:
if player's balance is higher than or equal to arg-1:
if {jackpotkisi} is less than 150:
if arg-1 is between 1 and 300000000:
if {jackpotgirdi.%player%} is false:
send "&3JackPot &8» &eJackpota başarıyla katıldın!"
add arg-1 to {jackpottoplam}
add arg-1 to {jyatirdigimiktar.%player%}
set {jackpotbilettiklandi.%player%} to false
add player to {jackpottakiler::*}
set {jackpottür.%player%} to "Para"
add 1 to {jackpotkisi}
set {jackpotgirdi.%player%} to true
remove arg-1 from player's balance
set {jackpotgirdi.%player%} to true
set {jackpotyatirmabasladi} to true
set {jackpotgirdi1taneadam} to true
loop {jackpottakiler::*}:
set {sans.%loop-value%} to (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
execute console command "/tm abc &3JackPot &8» &a%player% &eisimli oyuncu Para ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
else:
send "&3JackPot &8» &cZaten Jackpota Katılmışsın!"
else:
send "&3JackPot &8» &7En az &61TL &7en fazla &6200.000.000TL &7yatırabilirsiniz."
else:
send "&3JackPot &8» &720 Kişiden Fazlası Jackpota Katılamaz!"
else:
send "&3JackPot &8» &cYeterli Miktarda Paran Yok!"
else:
if {jackpotkisi} is less than 150:
if {jackpotgirdi.%player%} is false:
send "&3JackPot &8» &eJackpota başarıyla katıldın!"
add arg-1 to {jackpottoplam}
add arg-1 to {jyatirdigimiktar.%player%}
set {jackpotbilettiklandi.%player%} to false
add player to {jackpottakiler::*}
add 1 to {jackpotkisi}
set {jackpotgirdi.%player%} to true
remove arg-1 from player's balance
set {jackpottür.%player%} to "Bilet"
set {jackpotgirdi.%player%} to true
set {jackpotyatirmabasladi} to true
set {jackpotgirdi1taneadam} to true
loop {jackpottakiler::*}:
set {sans.%loop-value%} to (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
broadcast "&3JackPot &8» &a%player% &eisimli oyuncu Bilet ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
else:
send "&3JackPot &8» &cMiktar Yazmadın!"
else:
send "&3JackPot &8» &cJackpot Şuanda Kapalı" to player
else:
close player's inventory
open chest with 6 rows named "&8Jackpot" to player
wait a tick
set {_x} to 0
loop {jackpottakiler::*}:
format slot {_x} of player with loop-value's skull named "&e&l%loop-value%" with lore "||&aYatırdığı Mitar: &f%{jyatirdigimiktar.%loop-value%}% TL||||&aŞans: &f%%%{sans.%loop-value%}%" to be unstealable
add 1 to {_x}
if inventory name of current inventory of player is "&8Jackpot":
format slot 45 of player with stained glass named "" to close
format slot 46 of player with stained glass named "" to close
format slot 52 of player with stained glass named "" to close
format slot 53 of player with stained glass named "" to close
format slot 47 of player with book named "&e&nAmacı Nedir?" with lore "||&eHerkesin para kazanması için oluşturulmuştur.||&eKatılmak için &b/jackpot <miktar> &eyazın." to close
format slot 50 of player with redstone named "&e&nÖnceki Oyun" with lore "||&aKazanan: &f%{jsonkazanan}%||&aŞansı: &f%%%{joncekisans.%{jsonkazanan}%}%||&aYatırdığı para: &f%{joncekimiktar.%{jsonkazanan}%}% TL||&aKazandığı para: &f%{joncekitoplam}% TL||&aTür: &f%{jackpottürübelli.%{jsonkazanan}%}%" to close
format slot 51 of player with lapis block named "&e&nJackPot" with lore "&aJackpottaki para: &f%{jackpottoplam}% TL" to close
if {jackpotkalansure} is not "Kapalı":
format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &f%{jackpotkalansure}% dakika||||&aTıklayarak Hemen başlatabilirsin!" to close then run [execute player command "/jackpotbaslat"]
else:
format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &c%{jackpotkalansure}%" to close
on inventory click:
if inventory name of current inventory of player is "&8Jackpot":
cancel event
every 1 minutes:
if {jackpotdurum} is true:
if {jackpotbasladi} is false:
if {jackpotkalansure} is equal to 1:
if {jackpotkisi} is between 2 and 150:
broadcast "&3JackPot &8» &eJackpot &65 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &64 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &63 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &62 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &61 Saniye &eiçinde başlıyor!"
wait 1 seconds
loop {jackpottakiler::*}:
set {kazanicaksans.%loop-value%} to (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
loop {kazanicaksans.%loop-value%} times:
add loop-value-1 to {_jackpotbelli::*}
set {jackpotbasladi} to true
close {jackpottakiler::*}'s inventory
loop 12 times:
open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
set {jkazanan} to random element out of {_jackpotbelli::*}
play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
format slot 13 of {jackpottakiler::*} with skull of {jkazanan} named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
wait 1 seconds
close {jackpottakiler::*}'s inventory
play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
loop 200 times:
broadcast " "
add 1 to {jackpotkazanma.%{jkazanan}%}
set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
add {jackpottoplam} to {jkazanilanpara}
broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
broadcast ""
broadcast " &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
broadcast " &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
broadcast ""
broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
execute console command "eco give %{jkazanan}% %{jackpottoplam}%"
set {jackpotkisi} to 0
set {jkazanilanpara} to 0
set {jsonkazanan} to {jkazanan}
set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
delete {jkazanan}
loop {jackpottakiler::*}:
set {jyatirdigimiktar.%loop-value%} to 0
set {jackpotgirdi.%loop-value%} to false
set {jackpotyatirmabasladi} to false
set {jackpotbasladi} to false
set {joncekitoplam} to {jackpottoplam}
set {jackpottoplam} to 0
set {jackpotkalansure} to 5
delete {jackpottakiler::*}
else:
broadcast "&3JackPot &8» &7Jackpotta Yeterli Oyuncu olmadığı için Başlamadı."
set {jackpotkalansure} to 5
else:
if {jackpotkalansure} is not "Kapalı":
remove 1 from {jackpotkalansure}
broadcast "&3JackPot &8» &7Jackpotun Başlamasına Son &6%{jackpotkalansure}% Dakika &7Kaldı, Bilgi için &a/jackpot"
command /jackpotbaslat:
permission: jackpotbaslat
trigger:
broadcast "&3JackPot &8» &eJackpot &65 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &64 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &63 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &62 Saniye &eiçinde başlıyor!"
wait 1 seconds
broadcast "&3JackPot &8» &eJackpot &61 Saniye &eiçinde başlıyor!"
wait 1 seconds
loop {jackpottakiler::*}:
set {kazanicaksans.%loop-value%} to (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
loop {kazanicaksans.%loop-value%} times:
add loop-value-1 to {_jackpotbelli::*}
set {jackpotbasladi} to true
close {jackpottakiler::*}'s inventory
loop 12 times:
open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
set {jkazanan} to random element out of {_jackpotbelli::*}
play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
format slot 13 of {jackpottakiler::*} with {jkazanan}'s skull named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
wait 0.4 seconds
close {jackpottakiler::*}'s inventory
play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
loop 200 times:
broadcast " "
add 1 to {jackpotkazanma.%{jkazanan}%}
set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
add {jackpottoplam} to {jkazanilanpara}
broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
broadcast ""
broadcast " &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
broadcast " &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
broadcast ""
broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
execute console command "eco give %{jkazanan}% %{jkazanilanpara}%"
set {jackpotkisi} to 0
set {jsonkazanan} to {jkazanan}
set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
delete {jkazanan}
set {jkazanilanpara} to 0
loop {jackpottakiler::*}:
set {jyatirdigimiktar.%loop-value%} to 0
set {jackpotgirdi.%loop-value%} to false
set {jackpotyatirmabasladi} to false
set {jackpotbasladi} to false
set {joncekitoplam} to {jackpottoplam}
set {jackpottoplam} to 0
set {jackpotkalansure} to 5
delete {jackpottakiler::*}
command /jackpotdurum [<text>]:
permission: jackpotdurum
trigger:
if arg-1 is "ac":
if {jackpotdurum} is false:
set {jackpotdurum} to true
send "&3JackPot &8» &7Jackpot Başarıyla &aAçtın"
broadcast "&3JackPot &8» &7Jackpot Yetkili Tarafından &aAçıldı"
set {jackpotkalansure} to 5
else:
send "&3JackPot &8» &7Zaten Jackpot &aAçık"
if arg-1 is "kapat":
if {jackpotdurum} is true:
set {jackpotdurum} to false
send "&3JackPot &8» &7Jackpot Başarıyla &cKapattın"
broadcast "&3JackPot &8» &7Jackpot Yetkili Tarafından &cKapatıldı"
set {jackpotkalansure} to "Kapalı"
else:
send "&3JackPot &8» &7Zaten Jackpot &cKapalı"
command /jackpotyardım:
trigger:
if player has permission "op":
loop 300 times:
send " "
send " &7Jackpota Katılmak için &6/jackpot <miktar>"
send " &7Jackpot durumunu değiştirmek için &6/jackpotdurum &6<&aaç&6,&ckapat&6>"
send " &7Jackpotu Hızlı bir şekilde Kısa yoldan başlatmak için &6/jackpotbaslat"
send " "
send " &7Yapımcı: &6&lBlackTG"
else:
loop 300 times:
send " "
send " &7Jackpota Katılmak için &6/jackpot <miktar>"
send " "
send " &7Yapımcı: &6&lBlackTG"
send " &7Lütfen Başka Sunucularda &c&nPaylaşılmamasına &7Özen gösteriniz."
on inventory click:
if inventory name of player's current inventory is "Jackpot":
cancel event
command /herkesebiletver [<integer>]:
permission: herkesebiletver
permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
executable by: players and console
trigger:
if arg-1 is set:
if command sender is not console:
loop all players:
give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
broadcast "&c&lBILET &8» &6%player% &7isimli yetkili herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
else:
loop all players:
give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
broadcast "&c&lBILET &8» &6Console &7herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
else:
send "&c&lHATA &8» &7Bilet miktarı girmedin!"
command /jackpotbiletver [<player>] [<integer>]:
permission: jackpotbiletver
permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
executable by: players and console
trigger:
if arg-1 is set:
if arg-2 is set:
if command sender is not console:
send "&c&lJACKPOTBILET &8» &6%arg-1% &7isimli oyuncuya &b%arg-2% TL &7Jackpot Bilet verildi!" to player
send "&c&lJACKPOTBILET &8» &6%player% &7isimli yetkili sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
else:
send "&c&lJACKPOTBILET &8» &6Console &7sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
else:
send "&c&lHATA &8» &7Bilet miktarı girmedin!"
else:
send "&c&lHATA &8» &7Oyuncu ismi girmedin!"
on rightclick with paper:
if "%name of player's tool%" contains "&6&lJACKPOTBILET":
if {jackpotdurum} is true:
if {jackpotgirdi.%player%} is false:
if {jackpotbilettiklandi.%player%} is false:
set {_jackpotbiletmiktar} to "%numbers of uncoloured name of player's tool%"
set {jackpotbilettiklandi.%player%} to true
remove 1 of player's tool from player's inventory
send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l3" for 1 seconds
wait 1 seconds
send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l2" for 1 seconds
wait 1 seconds
send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l1" for 1 seconds
wait 1 seconds
send player title "&6&lBILET" with subtitle "&7Miktar &8» &b%{_jackpotbiletmiktar}% TL" for 2 seconds
wait 1 seconds
execute player command "jackpot %{_jackpotbiletmiktar}%"
else:
send "&6&lJACKPOTBILET &8» &7Zaten Bilet kullandın Kullandığın bilet &8» &6%numbers of uncoloured name of player's tool% TL"
else:
send "&3JackPot &8» &cZaten Jackpota Katılmışsın!"
else:
send "&3JackPot &8» &cJackpot Şuanda Kapalı" to player
Tam özelliklerini yazarmısın?Teşekkürler fakat,
bu plugini arıyorum ben. Yardımcı olabilecek varmı
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!