forester302 / mineflayer-simple-voice-chat

1 stars 0 forks source link

dont working #1

Open deosync opened 1 month ago

deosync commented 1 month ago

I need your help, no matter how hard I tried, I couldn't get it to work on the server. mc.playrw.ru (1.16.5) can you help me make this plugin work with this server

Failed to connect to UDP server: Error: getaddrinfo ENOTFOUND 162.19.249.238:2010 commenting on the authorization, I realized that the problem was with it and also, what is the secret that he gets has about 135 array elements, and in this.secret there are only 15 of them

forester302 commented 1 month ago

Does this server have Simple Voice Chat installed? Can you provide the code your using?

deosync commented 1 month ago

I'll use your example:

const mineflayer = require('mineflayer'); const simple_voice_chat = require('./mineflayer-simple-voice-chat')

let bot = mineflayer.createBot({ host: 'mc.playrw.ru' });

bot.loadPlugin(simple_voice_chat.plugin)

bot.on("audio_player_initialised", () => { bot.simple_voice_chat.AudioPlayer.enQueue("music.mp3") })

Yes, the server has a simple voice chat.