HomeJavaModsAI Friend - your personal server assistant
AI Friend - your personal server assistant
ModsJava

AI Friend - your personal server assistant

⬇ Download on Spigot
AI Friend Plugin for Minecraft
AI Friend is a plugin designed to enhance player interactions in Minecraft by integrating an AI-powered chatbot that responds to player messages. It leverages OpenAI's API to generate contextual responses based on player chat history.

[​IMG]

Key Features
Available Commands
Configuration Details (config.yml)
The behavior of the plugin can be customized through the config.yml file. Below is an example configuration:

Code (Text):
# OpenAI API key for accessing the OpenAI services
# You can get an API key at https://platform.openai.com/signup
# Trial API key is available for free, but has limited functionality
# To use trial API key, set the value to "trial" (3 days of free trial)
openai_api_key: trial

# Enable or disable the AI Friend plugin
enabled: true

# Disable the AI Friend plugin when players are not interested in talking to AI
player_dissinterest: true

# Interval in seconds for the timer to call the OpenAI API
# Must be positive, determines how often the AI Friend will respond to player messages
timer_interval: 60

# Version of the GPT model to use gpt-4o-mini, gpt-4o, ...
# Changes doesn't apply if you use trial API key.
gpt_version: gpt-4o-mini

# Name of the OpenAI chatbot
chatbot_name: AI Friend

# Preferred language for the chatbot responses - English, German, Czech, ...
preffered_language: English

# Personalization for the chatbot responses
# You can add some personalization for the chatbot responses
# For example: Our website is https://www.example.com and sometimes tell a joke.
# Can be empty
personalization:
[​IMG]
Installation Instructions
  1. Download the latest AI Friend plugin jar file.
  2. Move the jar file into your server's plugins folder.
  3. Start your Minecraft server to auto-generate the config.yml file.
  4. Edit the config.yml to include your OpenAI API key and modify other settings as needed.
  5. Restart your server to apply any configuration changes.
How to Use
Once installed and configured, the AI chatbot will respond to player messages at the defined intervals. Server operators can view the plugin’s configuration using the /aifriend command.

Authors & Support

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AI Friend - your personal server assistant is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 1,145 times (via Spigot). Download it and open it directly in the game.

Explore more