F
Furkan Doğan
Ziyaretçi
Merhabalar;
Vixio Serimizin 2. Konusunda Çoğu Sunucu Sahibinin Aradığı Discord Günlük Ödül Sistemini Sizlerle Paylaşıyorum. Kodlama Tamamen Bana Aittir.
GEREKSİNİMLER;
- Vixio | Vixio Hakkında Bilgi Sahibi Olmak İçin; https://www.mc-tr.com/konu/vixio-skript-ile-discord-botu-yaratin.80660/
GÖRSELLER;
Komutumuz;
( !günlüködül <Sunucudaki Adınız>
Sunucudayım Ve Ödülüm Verildi;
Ödülü Tekrar Almayı Deniyorum;
Sunucuda Değilim;
Komutu Başka Bir Kanalda Kullanıyorum;
KOD;
EK AÇIKLAMALAR;
- options'da Bulunan Ayarlar Doğru Biçimde Düzenlenmelidir, Aksi Halde Sistem Çalışmaz.
- Ödül Kağıt Biçimde Envantere Gelir, Ödülleri Değiştirmek İçin 93. Satıra İnin.
- Prefixi, Yazıları & Mesajları Dilediğiniz Gibi Değiştirebilirsiniz.
IYI KULLANIMLAR, IYI FORUMLAR..
Vixio Serimizin 2. Konusunda Çoğu Sunucu Sahibinin Aradığı Discord Günlük Ödül Sistemini Sizlerle Paylaşıyorum. Kodlama Tamamen Bana Aittir.
GEREKSİNİMLER;
- Vixio | Vixio Hakkında Bilgi Sahibi Olmak İçin; https://www.mc-tr.com/konu/vixio-skript-ile-discord-botu-yaratin.80660/
GÖRSELLER;
Komutumuz;
Sunucudayım Ve Ödülüm Verildi;
Ödülü Tekrar Almayı Deniyorum;
Sunucuda Değilim;
Komutu Başka Bir Kanalda Kullanıyorum;
KOD;
Kod:
options:
p: !
botToken: "buraya yapıştır"
botName: "buraya yapıştır"
sunucuID: "buraya yapıştır"
komutuYazmaKanaliID: "buraya yapıştır"
on load:
if {@botName} parsed as bot is not set:
login to {@botToken} with name {@botName}
on unload:
logout {@botName}
on join:
set {durum::%player%} to "Çevrimiçi"
on quit:
set {durum::%player%} to "Çevrimdışı"
discord command {@p}günlüködül <text>:
trigger:
if discord id of event-channel is {@komutuYazmaKanaliID}:
if arg 1 is set:
if {durum::%arg 1%} is "Çevrimdışı":
make embed:
set author info of embed to an author named "Günlük Ödül" with no url and icon icon of guild with id {@sunucuID}
set description of embed to "**%arg 1%**, Günlük Ödülü Almak İçin Sunucuda Olmalısın."
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%"
set color of the embed to color from rgb 255, 0, 0
set the timestamp of embed to now
send last created embed to channel with id {@komutuYazmaKanaliID} with {@botName}
else:
execute console command "dcödül %arg 1%"
else if arg 1 is not set:
make embed:
set author info of embed to an author named "Günlük Ödül" with no url and icon icon of guild with id "813369127614939178"
set description of embed to "**%arg 1%**, Doğru Kullanım: **{@p}günlüködül <Minecraft Adın>**"
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%"
set color of the embed to color from rgb 255, 0, 0
set the timestamp of embed to now
send last created embed to channel with id {@komutuYazmaKanaliID} with {@botName}
else:
make embed:
set author info of embed to an author named "Günlük Ödül" with no url and icon icon of guild with id "813369127614939178"
set description of embed to "Bu Komut Sadece **günlük-ödül** Kanalında Kullanılabilir."
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%"
set color of the embed to color from rgb 255, 0, 0
set the timestamp of embed to now
send last created embed to event-channel with {@botName} and store the message in {_odul}
wait 5 second
purge {_odul} with {@botName}
command /dcödül [<player>]:
permission: op
permission message: &7Yetkin Yok.
trigger:
if arg 1 is set:
if {durum::%arg 1%} is "Çevrimiçi":
set {beklemesurrresi::%arg 1%} to difference between {dcodulsure::%arg 1%} and now
if {beklemesurrresi::%arg 1%} is less than 24 hours:
set {beklemesurrresi::%arg 1%} to difference between {beklemesurrresi::%arg 1%} and 24 hours
set {beklemesurrresi::%arg 1%} to "%{beklemesurrresi::%arg 1%}%"
replace all "hours" with "Saat" in {beklemesurrresi::%arg 1%}
replace all "hour" with "Saat" in {beklemesurrresi::%arg 1%}
replace all "minutes" with "Dakika" in {beklemesurrresi::%arg 1%}
replace all "minute" with "Dakika" in {beklemesurrresi::%arg 1%}
replace all "seconds" with "Saniye" in {beklemesurrresi::%arg 1%}
replace all "second" with "Saniye" in {beklemesurrresi::%arg 1%}
replace all " and " with " " in {beklemesurrresi::%arg 1%}
make embed:
set author info of embed to an author named "Günlük Ödül" with no url and icon icon of guild with id {@sunucuID}
set description of embed to "**%arg 1%**, Günlük Ödülünü Zaten Almışsın, Tekrar Almak İçin **%{beklemesurrresi::%arg 1%}%** Beklemelisin."
set color of the embed to color from rgb 255, 255, 0
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%"
set the timestamp of embed to now
send last created embed to channel with id {@komutuYazmaKanaliID} with {@botName}
else:
set {dcodulsure::%arg 1%} to now
give a paper named "&bDiscord Ödül" to arg-1
send "&6&l> &9Discord &7Ödülün Verildi." to arg-1
make embed:
set author info of embed to an author named "Günlük Ödül" with no url and icon icon of guild with id {@sunucuID}
set description of embed to "**%arg 1%**, Günlük Ödülünün Verildi."
set color of the embed to color from rgb 173, 255, 47
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%"
set the timestamp of embed to now
send last created embed to channel with id {@komutuYazmaKanaliID} with {@botName}
on right click with paper:
if tool's name is "&bDiscord Ödül":
remove 1 paper named "&bDiscord Ödül" from player's inventory
give 64 42 to player
give 64 42 to player
give 64 42 to player
give 64 42 to player
send "&6&l> &bDiscord &7Ödülü Kullanıldı." to player
play "LEVEL_UP" to player at volume 10
EK AÇIKLAMALAR;
- options'da Bulunan Ayarlar Doğru Biçimde Düzenlenmelidir, Aksi Halde Sistem Çalışmaz.
- Ödül Kağıt Biçimde Envantere Gelir, Ödülleri Değiştirmek İçin 93. Satıra İnin.
- Prefixi, Yazıları & Mesajları Dilediğiniz Gibi Değiştirebilirsiniz.
IYI KULLANIMLAR, IYI FORUMLAR..