Skip to content

forester302/mineflayer-simple-voice-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mineflayer-simple-voice-chat

Features

  • Send any soundfile through the queue using FFMPEG
  • Uses protodef to define the protocol
  • Queue system for soundfiles

Getting Started

Installation

  1. Compile with tsc --skipLibCheck
  2. put the mineflayer-simple-voice-chat folder into your project folder

Simple Sound Player

A bot that plays a sound file on connecting to voice chat

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

let bot = mineflayer.createBot({
	host: 'localhost'
});

bot.loadPlugin(simple_voice_chat.plugin)

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

Listening to sounds

bot.on("voicechat_sound", (data) => {

})

Contributors

  • Forester302 - Made the plugin

Based off of mineflayer-plasmovoice (but done my way)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published