Skip to content

SuperZooper3/Voiceflow-MineFlow

Repository files navigation

Voiceflow-MineFlow

A Minecraft integration for Voiceflow! Demo video: https://youtu.be/yUGFjKahGUQ

image

Built based off the Python example from Voiceflow's Python API Example.

We connect to the Minecraft server's RCON interface to send commands to the server, and monitor the server's log file to get player messages.

Setup

Python and Voiceflow

  1. Install Python 3.8 or higher.
  2. Install the required packages with pip install -r requirements.txt.
  3. Create a .env file in the root directory of the project and set the your Voiceflow API key as VF_API_KEY="VF.DM.XXXXXXXXXX

Minecraft Server

  1. Download the Minecraft server application from here. Place the server in a subfolder called minecraft-server.
  2. Follow the installation instructions, run the server once, accept the ELUA, and then close the server.
  3. In server.properties, set enable-rcon=true and rcon.password=yourpasswordhere to enable RCON. Be sure to take note of the RCON port in rcon.port (usually 25575).
  4. In mrcon.py set the RCON_HOST (the server's IP), RCON_PORT, and RCON_PASSWORD variables to the values you set in server.properties.

Running

  1. Run the Minecraft server with java -Xmx1024M -Xms1024M -jar minecraft_server.1.20.4.jar.
  2. Start the Voiceflow integration with python main.py.
  3. To stop it, from in game, type !stop in the chat.
trackgit-views

About

A Minecraft integration for Voiceflow!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages