- Katılım
- 11 Mart 2019
- Mesajlar
- 13
- Elmaslar
- 15
- Puanlar
- 0
- Yaş
- 20
- Minecraft
- DarkLine0147
Sürüm: 1.12.2
Gereken addon: Vixio
Skript belirtilen kanal içerisinde Minecrafttan DC ye, DC den Minecrafta mesajlar göndermenizi sağlar.
Bunlar dışında ölüm mesajlarını da desteklemekte. İleride oyundaki tagımızı dcde göstermeyi de ayarlamayı düşünmekteyim.
NOT: Config.sk den "Plugin Priority: highest" yaparsanız küfür ve reklam bugu engellenecektir.
Gereken addon: Vixio
Skript belirtilen kanal içerisinde Minecrafttan DC ye, DC den Minecrafta mesajlar göndermenizi sağlar.
Bunlar dışında ölüm mesajlarını da desteklemekte. İleride oyundaki tagımızı dcde göstermeyi de ayarlamayı düşünmekteyim.
Kod:
options:
botToken: "botToken"
bot: "botAdı"
channelID: "kanalID"
on load:
if {@bot} parsed as bot is not set:
login to {@botToken} with name {@bot}
set status of {@bot} to online
send ":white_check_mark: **Sunucu** açıldı!" to channel with id {@channelID} with {@bot}
on unload:
set status of {@bot} to do not disturb
on chat:
send ":loudspeaker: %player%: %message%" to channel with id {@channelID} with {@bot}
on message receive:
if id of event-channel is {@channelID}:
if bot state of event-member is false:
broadcast "&b&l| &3Discord &b&l| &3%event-user%: &b%event-message%"
on join:
send ":white_check_mark: **%player%** sunucuya katıldı!" to channel with id {@channelID} with {@bot}
on quit:
send ":x: **%player%** sunucudan ayrıldı!" to channel with id {@channelID} with {@bot}
on death:
if attacker is player:
if victim is player:
send ":x: **%victim%**, **%attacker%** tarafından öldürüldü!" to channel with id {@channelID} with {@bot}
on skript stop:
send ":x: **Sunucu** kapatıldı!" to channel with id {@channelID} with {@bot}
on command "/whitelist on":
send ":loudspeaker: **Sunucu** bakım moduna alındı! @everyone" to channel with id {@channelID} with {@bot}
on command "/whitelist off":
send ":loudspeaker: **Sunucu** bakım modundan çıkarıldı! @everyone" to channel with id {@channelID} with {@bot}
NOT: Config.sk den "Plugin Priority: highest" yaparsanız küfür ve reklam bugu engellenecektir.
Son düzenleme: