FatihE
Java Dev
- Katılım
- 19 Ağustos 2019
- Mesajlar
- 158
- Elmaslar
- 115
- Puan
- 1.290
- Konum
- Ankara
- Minecraft
- Fatih
Discord:
Fatih#1469
Merhaba,
Yapmış olduğum bu discord botu veya komudu, oyundaki oyuncuların ismini görüntüleyebilir, oyunda kaç kişi olduğunu görebilirsiniz.
Skript ve Vixio gereklidir.
Görsel
Kod
Yapmış olduğum bu discord botu veya komudu, oyundaki oyuncuların ismini görüntüleyebilir, oyunda kaç kişi olduğunu görebilirsiniz.
Skript ve Vixio gereklidir.
Görsel
Kod
JavaScript:
options:
token: ""
bot: "Bilge"
botName: Bilge
sürüm: 1.8.x-1.14.x
on load:
if {@bot} parsed as bot is not set:
login to {@token} with name {@bot}
set status of {@bot} to online
on join:
if {list::*} is "Kimse oynamıyor.":
clear {list::*}
add player to {list::*}
replace "and" with "," in {list::*}
add 1 to {aktifoyuncu}
on quit:
remove 1 from {aktifoyuncu}
replace "and" with "," in {list::*}
if {aktifoyuncu} = 0:
set {list::*} to "Kimse oynamıyor."
remove player from {list::*}
discord command !sunucubilgi:
trigger:
create embed:
set description of the embed to ":fire: Nexus Realty Sunucu Bilgileri"
set color of the embed to color from rgb 255, 0, 0
add field named ":notebook_with_decorative_cover: Sürüm" with value "" to embed
add field named "{@sürüm}" with value "" to embed
add field named ":trophy: Aktif Oyuncu" with value "" to embed
add field named "%{aktifoyuncu}%/2019" with value "%{list::*}%" to embed
send the last created embed to event-channel with {@bot}
İyi Günler.