Maks-gaming / mineflayer-plasmovoice

A lightweight plugin for Mineflayer that allows use VoiceChat for PlasmoVoice plugin
MIT License
20 stars 2 forks source link

the bot does not speak! #68

Closed ZERO28822 closed 6 months ago

ZERO28822 commented 6 months ago

### I've installed everything I need. I took an example of your code and ran it, but for some reason there is an icon above the bot's head (photo attached). Please help me!!! Снимок экрана 2024-05-03 205858 Also here is the code I used: const mineflayer = require('mineflayer'); const plasmo = require('mineflayer-plasmovoice');

const bot = mineflayer.createBot({ port: 57873, host: '', username: '', version: '1.16.5', });

bot.loadPlugin(plasmo.plugin)

bot.on("plasmovoice_connected", () => { bot.setControlState("sneak", true)

// Path to file with any audio format bot.plasmovoice.sendAudio("C:\Users\fdewf\misc\1.mp3") })

bot.on("plasmovoice_audio_end", () => { bot.setControlState("sneak", false) }) bot.on("login", () => { bot.plasmovoice.enableDebug(); })

Maks-gaming commented 6 months ago

send me debug logs first

ZERO28822 commented 6 months ago

I hope this is what you nee Снимок экрана 2024-05-04 115159 d. The fact is that the debug log is empty and there are no errors in it!

Maks-gaming commented 6 months ago

I can't help you, this shouldn't happen, or you're giving me too few details