Chat-With-NPC
🟠 Updated over a year ago⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (8 images)
🔍 Analysis
- 👍 0.7% endorsement rate
- 🏆 #514 of 581 adventure mods in this game by downloads
📋 About This Mod
# Chat-with-NPC !(https://img.shields.io/github/v/release/Team-Jackdaw/chat-with-NPC?include_prereleases) !(https://img.shields.io/github/license/Team-Jackdaw/chat-with-NPC) !(https://github.com/Team-Jackdaw/chat-with-NPC/actions/workflows/build.yml/badge.svg) > The mod is still in public test, please submit an issue if you find any problems. If you want to use the latest version, > please compile the source code yourself, see (#8-build). (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/README_zh.md) ## 1. Introduction **Chat With NPC** allows players to freely chat with NPCs, who will answer questions based on his setting (Basic Prompt) and the setting of their Groups (Nation, City, Town ,etc.). Suitable for RPG maps or puzzle maps. The NPCs would not change the game rule (if you don't use the advanced features). NPC can also perform some actions based on the chat content if you define it. In the future version, we will add innovative features such as NPCs chatting with each other, NPCs' viewpoints on events, etc., so that NPCs in the same Group can interact with each other. ## 2. How to use Any player can **talk to NPCs by shift+clicking** on them, if the NPC has been registered by OPs. Then the NPC will greet with players. The NPC's speech can be seen by everyone (in the **chat bubble** above their head), or by players within a certain range around NPC (in the **Chat bar**). Any nearby players can **reply to the NPC in the chat bar directly** (or the nearest NPC if there are multiple NPCs near the player). !(https://cdn.modrinth.com/data/cached_images/128f0caebc1edebfb0d05fd4246bd147710b697d.png) If you are administrator, see the (#5-installation) for more information. ## 3. Features 1. Each `NPC` has his own `Instructions`, and he can belong to a `Group`. 2. Each `NPC` will manager their context of the conversation automatically by OpenAI. 3. Each `Group` also has its own `Instructions` to describe them, and can also record some `Event` that can be easy to change. 4. Each `Group` can record a `ParentGroup` until the group's parent group is `Global`, `Global` cannot have a parent group. 5. Each `NPC`'s conversation will combine his own `Instructions`, the context of this conversation (or all the conversation if needMemory is true), the `Intructions` of his `Group` and all its `ParentGroup`, and the content of `Event`. 6. You can define the `Functions` that could be call by the NPC in the conversation. ## 4. Requirements - Minecraft Server 1.19.4 or higher - Fabric Loader 0.12.0 or higher - Fabric API included ## 5. Installation 1. After installing the mod in `mods` folder, grab your OpenAI API key from (https://platform.openai.com/api-keys), and set it with the `/npchat setkey <key>` command. 2. You can use the command in (#6-commands) to set the basic configuration of the mod. 3. For register the NPCs, please read (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/RegisterNPC.md). 4. For register the Groups, please read (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/RegisterGroup.md). 5. To know about the configuration of the mod, please read (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/Config.md). 6. If you want to use some advanced features, please read (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/Advanced.md). ## 6. Commands - `/npchat` - View configuration status - `/npchat help` - View commands help - `/npchat enable/disable` - Enable/disable the mod - `/npchat setKey <key>` - Set OpenAI API key - `/npchat setModel <model>` - Set AI model - `/npchat setRange <range>` - Set the range of the conversation - `/npchat setLanguage <language>` - Set the response language - `/npchat setWordLimit <wordLimit>` - Set the word limit of the response - `/npchat setURL <url>` - Set the OpenAI API proxy URL - `/npchat saveAll` - Save all the data to the disk - `/npchat setChatBar <true/false>` - Set to display the conversation at the chat bat at the bottom left or not, `true` to display, `false` to hide. - `/npchat setBubble <true/false>` - Set to display the bubble of the conversation above our lovely NPC or not, `true` to display, `false` to hide. - `/npchat setBubbleStyle Color <color preset>` - Set the preset colors for font and background. - `/npchat setBubbleStyle timeLastingPerChar <time>` - Set the time lasting for a character in unit of second. For example, setting the time to 1.5 seconds means a sentence with 6 characters will have its bubble displayed for a total of 9 seconds. ## 7. To do list - Improve the chat bubble. - NPCs chat with each other and communicate their opinion of events. (See (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/Advanced.md)) - NPCs have their opinion on ev
# Chat-with-NPC
!(https://img.shields.io/github/v/release/Team-Jackdaw/chat-with-NPC?include_prereleases) !(https://img.shields.io/github/license/Team-Jackdaw/chat-with-NPC) !(https://github.com/Team-Jackdaw/chat-with-NPC/actions/workflows/build.yml/badge.svg)
> The mod is still in public test, please submit an issue if you find any problems. If you want to use the latest version, > please compile the source code yourself, see (#8-build).
(https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/README_zh.md)
## 1. Introduction
Chat With NPC allows players to freely chat with NPCs, who will answer questions based on his setting (Basic Prompt) and the setting of their Groups (Nation, City, Town ,etc.). Suitable for RPG maps or puzzle maps. The NPCs would not change the game rule (if you don't use the advanced features). NPC can also perform some actions based on the chat content if you define it.
In the future version, we will add innovative features such as NPCs chatting with each other, NPCs' viewpoints on events, etc., so that NPCs in the same Group can interact with each other.
## 2. How to use
Any player can talk to NPCs by shift+clicking on them, if the NPC has been registered by OPs. Then the NPC will greet with players.
The NPC's speech can be seen by everyone (in the chat bubble above their head), or by players within a certain range around NPC (in the Chat bar).
Any nearby players can reply to the NPC in the chat bar directly (or the nearest NPC if there are multiple NPCs near the player).
!(https://cdn.modrinth.com/data/cached_images/128f0caebc1edebfb0d05fd4246bd147710b697d.png)
If you are administrator, see the (#5-installation) for more information.
## 3. Features
1. Each `NPC` has his own `Instructions`, and he can belong to a `Group`. 2. Each `NPC` will manager their context of the conversation automatically by OpenAI. 3. Each `Group` also has its own `Instructions` to describe them, and can also record some `Event` that can be easy to change. 4. Each `Group` can record a `ParentGroup` until the group's parent group is `Global`, `Global` cannot have a parent group. 5. Each `NPC`'s conversation will combine his own `Instructions`, the context of this conversation (or all the conversation if needMemory is true), the `Intructions` of his `Group` and all its `ParentGroup`, and the content of `Event`. 6. You can define the `Functions` that could be call by the NPC in the conversation.
## 4. Requirements
- Minecraft Server 1. 19. 4 or higher
- Fabric Loader 0. 12. 0 or higher
- Fabric API included
## 5. Installation
1. After installing the mod in `mods` folder, grab your OpenAI API key
from (https://platform.openai.com/api-keys), and set it with the `/npchat setkey
## 6. Commands
- `/npchat` - View configuration status
- `/npchat help` - View commands help
- `/npchat enable/disable` - Enable/disable the mod
- `/npchat setKey
` - Set OpenAI API key - `/npchat setModel
` - Set AI model - `/npchat setRange
` - Set the range of the conversation - `/npchat setLanguage
` - Set the response language - `/npchat setWordLimit
` - Set the word limit of the response - `/npchat setURL
` - Set the OpenAI API proxy URL - `/npchat saveAll` - Save all the data to the disk
- `/npchat setChatBar
` - Set to display the conversation at the chat bat at the bottom left or not, `true` to display, `false` to hide. - `/npchat setBubble
` - Set to display the bubble of the conversation above our lovely NPC or not, `true` to display, `false` to hide. - `/npchat setBubbleStyle Color
` - Set the preset colors for font and background. - `/npchat setBubbleStyle timeLastingPerChar
## 7. To do list
- Improve the chat bubble.
- [ ] NPCs chat with each other and communicate their opinion of events. (See (https://github.com/Team-Jackdaw/chat-with-NPC/blob/main/docs/Advanced.md))
- [ ] NPCs have their opinion on ev
📊 Mod Details
- Game
- Minecraft Mods
- Author
- WDRshadow
- Version
- 0.1.2-1.19.4
- Downloads
- 4,280
- Endorsements
- 32
- Category
- adventure
- Created
- 3/30/2024
- Updated
- 3/20/2025
- Game Versions
- 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3
- Tags
- adventure, decoration, social
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Chat-With-NPC support?
The author lists 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4. Other versions may work but are untested by the author.
What is the latest version of Chat-With-NPC?
Version 0.1.2-1.19.4, published 2025-03-20 with 4,280 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await







