The Basics
Before diving into the detailed configuration options, it's important to understand the basic structure and purpose of the various folders and files used by ServerAssistantAI for configuration.
This is the main configuration file for ServerAssistantAI. It contains settings for the AI's behavior, appearance, and performance, such as model selection and customization options. You can modify this file to tailor the AI assistant to your server's specific needs.
This file stores the necessary credentials for providers and addons used by ServerAssistantAI, such as API keys and access tokens. It is important to keep this file secure and not share it publicly.
This directory contains configuration files specific to ServerAssistantAI's Discord integration.
prompt-header.txt
: This file defines the AI's persona and behavior when responding to questions on Discord.information-message.txt
: This is the file where information is automatically extracted from the documents in thedocuments/
directory based on the relevance to the player's question. It also allows you to provide additional information to the AI when generating responses on Discord, including the conversation history from the Discord channel.question-message.txt
: This file defines the format for the question message sent to the AI assistant on Discord.
This directory stores all the server-related information, such as rules, features, and commands. The AI assistant uses this information to provide accurate and context-aware responses to player queries. Add as much information as you can about your server to files within this directory. You can use various file formats including .txt, .md, .pdf, and Microsoft Office formats.
This directory contains configuration files specific to ServerAssistantAI's Minecraft integration.
prompt-header.txt
: Similar to the Discord version, this file defines the AI's persona and behavior when responding to questions in Minecraft chat.information-message.txt
: This is the file where information is automatically extracted from the documents in thedocuments/
directory based on the relevance to the player's question and also allows you to provide additional information to the AI when generating responses in Minecraft, including the conversation history from the Minecraft chat.question-message.txt
: This file defines the format for the question message sent to the AI assistant in Minecraft, including custom placeholders for player information.
This directory contains JSON files that define the format and content of the interaction logs sent to designated Discord channels or webhooks whenever a player or bot interacts with the AI assistant on Minecraft or Discord.
discord-interaction-message.json
: Defines the format for Discord bot interactions.minecraft-interaction-message.json
: Defines the format for Minecraft player interactions.
This file allows you to customize various messages and responses that ServerAssistantAI sends to players in both Minecraft and Discord. It uses the MiniMessage format for Minecraft messages and Discord formatting for Discord messages. You can modify command responses, error messages, and status texts to match your server's style and language.
To get started with configuring ServerAssistantAI, follow these steps:
Open the
config.yml
file and familiarize yourself with the available settings. Adjust the values according to your preferences and server requirements.Fill the
credentials.yml
file with the credentials required for your configuration.Review and customize the files in the
discord/
andminecraft/
directories to fine-tune the AI's behavior and responses on each platform.Populate the
documents/
directory with relevant information about your server, such as rules, features, and commands. You can use multiple files in various formats (.txt, .md, .pdf, Word, Excel, PowerPoint). Keep these files up-to-date to ensure accurate responses from the AI.Review and customize the
messages.yml
file to adapt the messages displayed by ServerAssistantAI in Minecraft and Discord to your server's style and language.If desired, modify the
discord-interaction-message.json
andminecraft-interaction-message.json
files in theinteraction-messages/
directory to customize the appearance and content of the interaction logs sent to Discord channels or Discord webhooks.
By understanding the purpose and structure of these configuration files and folders, you'll be well-equipped to customize ServerAssistantAI to best suit your server's needs. The following sections will provide more detailed information on each configuration aspect.