Speaking Villagers - ChatGPT and TTS
Please read the full description before installation!
Speaking Villagers is a Minecraft modification that fundamentally transforms interactions with villagers. Now each villager has a unique personality, they are aware of their surroundings, remember your past conversations, and react to your reputation in the village.
Villagers don't just exchange lines - they can track your actions, equipment, and surrounding environment. If you befriend them, they may start following you around the world. In addition to regular conversations, villagers offer randomly generated quests, with successful completion strengthening your relationship.
All interactions are saved between game sessions and stored in the .minecraft/speakingvillagersmod folder. This data can be viewed and edited even without running the game, allowing you to create custom personalities for villagers.
Available commands:
/speak <message>- start conversation with nearest villager/setvillagerstyle <VillagerName> <Style>- change villager's character/befriend- manually befriend nearest villager/unfriend- manually end friendship with nearest villager
Installation
- Place the mod file in the
modsfolder - (Optional but recommended) For better voice functionality install Natural Voice SAPI Adapter (Windows only)
- Important: Set an OpenAI API key as environment variable (
OPENAI_API_KEY) in your system for response generation. Without the key, responses won't be generated but no charges will occur - Using OpenAI API incurs costs based on usage. Make sure you have sufficient credits - regular use may cost approximately $10-30 per month
Setting up OpenAI API Key (Windows):
- Register at OpenAI and generate an API key
- Open "Environment Variables" in system
- Under "User variables" or "System variables" click "New"
- Set
OPENAI_API_KEYas variable name and paste your API key as value
Compatibility
- Compatible with other mods
Notes
- Works only on Windows
- Tested in singleplayer only
Enjoy the game!