After months of development, we are excited to announce the release of
ServerAssistantAI v1.3, packed with exciting new features, improvements, and bug fixes! All the detailed information for the new features in v1.3 are included on our
wiki.
IMPORTANT: After updating, please make the following changes:
- Delete the interaction-message.json file and let it regenerate.
- Manually add the new history exclude message.
- If you are using an addon, be sure to update the addon to the latest version.
- Update the prompts in the information-message.txt, prompt-header.txt and question-message.txt files for both Minecraft and Discord, as well as the updated ignore_question. Deleting these files will also regenerate with the updated text. The updated prompts are available on our wiki, as well as the following paste links:
- Update exclude: https://paste.code-solutions.dev/yotinotuko.yaml
Major New Features:
- Complete removal of required dependencies like DiscordSRV and DiscordSRVUtils for Discord features, now using built-in JDA 5 (Java Discord API) for improved Discord integration
- New messages.yml file for customizing most of the text on Minecraft and Discord
- Support for multiple information file types (.txt, .md, .pdf, Word, Excel, PowerPoint) and files in the new documents/ directory instead of just one document.txt file, including sub-folders within the new directory for better organization
- New Continuous Chat Mode for a continuous private conversation with the AI with context across multiple messages for Minecraft
- JSON mode to receive AI responses in JSON format and reduce unnecessary additional text
- Implemented chat history support for Minecraft
- Question detection for Discord with support for channels, forums, categories, and threads
New Commands:
Minecraft:
- /serverassistantai chat: Start a continuous private conversation mode with the AI
- /serverassistantai reset: Resets a specific player's usage for the day
- /serverassistantai usage now has an option for admins or those with permissions to check other users' usage
Discord:
- /ai toggle: Toggle automatically answering user's questions on Discord
- /ai reset: Resets a specific user's usage for the day on Discord
- /ai usage now has an option for admins or those with permissions to check other users' usage
- Ask AI App: Right-click any message, select 'Apps' > 'Ask AI' for an AI response to that message, even if it's not your own message
Enhancements:
- Major improvements related to providers and credentials system, more information about this available here
- Small API & JavaDoc improvements
- Updated default ignore_question text for better AI decision-making
- Improved prompt-header.txt, information-message.txt, and question-message.txt prompts for both Minecraft and Discord for better AI responses
- The help command now only shows commands that the player has permission for
Config Changes:
- Improved helpful_information section with detailed paste option and separate Discord/Minecraft settings
- Added reply_format for Discord responses with options for either embeds or plain text with custom messages, along with a new default footer text. Embed responses can be customized using our new Embed Creator interface, which also offers embed support for interaction-message.json file
- Added bot_status to set a custom status for your standalone Discord bot
- Added webhook_url option for sending interaction messages instead of using the Discord bot
- Added max_history and chat_max_history options to set the maximum number of messages sent to the AI model for context
- Updated default ignore_question text
- Added json_mode option to prompt the bot to respond in JSON format
- Added question_detection_channels to specify Discord channels, forums, or categories where the bot will detect and respond to questions
- Added admin_roles to specify Discord roles that can check the usage of other users and reset daily limits
- Added respond_to_pings to control whether the bot should respond to users on Discord who ping it in a message
- Question detection provider can now be set to 'none' to disable question detection
Other Changes:
- When helpful_information is enabled for Discord, buttons are now shown instead of embedded links
- Response time is now included in the response paste when helpful_information is enabled
- Added .text to the end of every paste URL when helpful_information is enabled
Addon Updates:
- All addons have been updated to be compatible with ServerAssistantAI v1.3. Make sure to download the latest versions from the #saai-addons channel on our Discord server
- Advanced Question Detection Addon: Fixed compatibility issue with Minecraft versions 1.20.2 and older