ServerAssistantAI | Advanced AI-Powered Support | FREE and Paid LLMs | 1.16-1.21.3 icon

ServerAssistantAI | Advanced AI-Powered Support | FREE and Paid LLMs | 1.16-1.21.3 -----

AI-powered assistant providing instant, accurate, and context-aware responses in-game and Discord




IMPORTANT: After updating, update your prompt files by either:

New Features:
  • Introduced a global limits system for both Minecraft and Discord to help manage usage.
  • Added title and bossbar support for in-game replying animation, now supporting TITLE, SUBTITLE, and BOSSBAR. Defaults to BOSSBAR.
  • Support for Discord user interactions and new separate interaction message files for Minecraft and Discord in the new interaction-messages/ directory, with the Discord Embed Creator now supporting interaction messages for both platforms as well.

Enhancements:
  • Removed token prompts and updated Discord and Minecraft prompts to generate single-line responses.
  • Rewrote API Response classes for Cohere to make sure it works with any Jackson version on any version.
  • Improved performance by handling the usage command mostly on executor service threads.
  • Added a configurable sound for when the AI starts processing a question.
  • Added a maximum character limit to both Minecraft and Discord.
  • Added xAI as a pre-configured provider for both Embedding and Chat Models.
  • Added Nvidia-Models as a pre-configured provider for Chat Models.
  • Added OpenAI-Variant as a pre-configured provider to be used for providers requiring custom base_url.

Bug Fixes & Improvements:
  • On Discord, if a user sends a message but immediately deletes the message or the message is auto-deleted by a bot, the handling process will be stopped.
  • On Discord, if a user tags the bot, the skip keyword will no longer be factored in.
  • Fixed some issues related to parsing history.
  • Fixed Jackson embedding store codec issues that were occurring on some servers.
  • Updated the replying_title field name in messages.yml file to just replying.

Addon Updates:
  • Google AI Studio Addon:
    • Embedding model support has been added back. We recommend using text-embedding-004 for embeddings.
----------, Nov 30, 2024

IMPORTANT: After updating, please make the following changes:

Enhancements:
  • Migrated Cohere’s API from v1 to their new v2 API
  • Added {channel} placeholder for question-message.txt file for Discord messages
  • Added a new comment line regarding how to obtain API keys for each provider in the credentials.yml header
  • Added {ignore-question} placeholder in the question-message.txt file for both Minecraft and Discord
  • Added Github-Models as a Pre-configured Provider
Config Changes:
  • Removed unnecessary thumbnail.icon_url field from the thumbnail section in default interaction-message.json file
----------, Oct 13, 2024

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:

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
----------, Sep 20, 2024

New Chat Listener Feature:
  • Added a chat_listener section to the config to help with compatibility issues with other plugins. You can now configure the chat listener priority, whether to use Paper's AsyncChatEvent, and ignore cancelled chat events.
Enhancements:
  • Added sample text in the document.txt file that provides a template for the document.
  • Discord functionality is now disabled by default when the plugin directory is first loaded.
  • The plugin will now fallback to old methods of getting the username if new methods are not available for compatibility with older DiscordSRV versions.
  • The Minecraft config section is now above the Discord section for better organization.
  • If the bot is tagged on Discord, the minimum word count for a response will no longer apply.
  • Updated the domain for uploading pastes when helpful_information is enabled in the config to paste.code-solutions.dev.
  • The Discord folder will now always generate even if DiscordSRV is not installed.
  • Improved some comments to better explain fields in the config.
  • More built-in texts that are automatically removed from AI responses to improve filtering.
  • Further small changes to the default prompt files for better AI interactions.
  • When helpful_information is enabled, the Result and Information text will now be shown as emojis on the same line at the end of the response for a cleaner look.
  • The Minecraft version will now show in the startup splash for servers that support it.
API Changes:
  • Removed langchain4j-embeddings from the Javadoc since it no longer applies.
Bug Fixes:
  • Fixed the /serverassistantai reload command not working properly on Folia servers.
  • Fixed issues with the plugin not loading properly on some Spigot servers.
Addon Updates:
  • Google AI Studio Addon (NEW!):
    • Leverage Google's most advanced Gemini generative AI models for free, including Gemini 1.5 Flash and Gemini 1.5 Pro.
    • Access Google's powerful embedding models.
  • Advanced Question Detection Addon:
    • Added support for regex patterns in the minecraft.question_detection.regex field of the config to detect questions more flexibly.
    • New debug_in_game option that will show the probability of each message being a question in-game to OPs and players with the serverassistantai.advanced-question-detection.debug permission.
----------, Jun 4, 2024

New Discord Command:
  • Added a new /ai usage slash command on Discord that allows users to privately check their daily AI usage statistics, including the number of questions asked and remaining daily limit.
Enhancements:
  • Small changes to the default prompt files for better AI interactions.
  • Renamed /ai stats in-game command to /ai usage for clarity.
  • Implemented an update checker to notify server owners about new ServerAssistantAI updates.
  • Added a new permission serverassistantai.updatecheck that allows players to be notified about ServerAssistantAI updates. This permission is granted to all OP players by default.
Config Changes:
  • Added support for defining multiple user groups with different daily limits for both Minecraft and Discord.
    • In-game users can be assigned to a specific group using the permission serverassistantai.group.<group>.
    • Discord users can be assigned to a group using either the role ID or role name in the config.
  • Introduced a new Response Filtering section in the config:
    • Added an exclude list to specify elements that should be removed from the AI's responses (case-insensitive). This is in addition to the built-in list of elements that are always removed.
    • Added a stop list to define words that will cause the AI to stop a response immediately after encountering them.
  • Added a new blocked_roles option in the Discord config section to restrict specific roles from using the AI.
  • Made some changes to the config comments for better clarity and understanding.
API Changes:
  • Renamed JDAManager#isStarted() to isReady() for more accurate naming.
  • Added API methods for getting current player/user limits.
Bug Fixes:
  • Fixed an issue where the plugin did not properly notify the player of an internal error if DiscordSRVUtils was not installed.
  • Split Cohere embedding requests if there are more than 96 segments to avoid exceeding the API limit.
Other Changes:
  • The plugin now fails to reload if there are syntax errors or type errors in the config, providing better error handling.
----------, May 15, 2024

Bug Fixes:
  • Fixed some bugs related to the {history} placeholder in the information-message.txt file.
API Changes:
  • Added JDAManager#isStarted() method to check if the JDAManager has been started.
  • Improved JDAManager Javadoc for better documentation and clarity.
----------, May 8, 2024

Enhancements:
  • Moved the history section for Discord to the information-message.txt file.
  • Allow {history} placeholder in information-message.txt.
Bug Fixes:
  • Fixed an issue with the DiscordSRV standalone bot not starting up.
API Changes:
  • When you add the plugin's API using maven/gradle it will no longer try to download langchain4j-embeddings and DiscordSRV dependencies.
Other Changes:
  • Update splitter.max_segment comment to provide information for longer documents.
----------, May 7, 2024

New Default Provider:
  • Added Cohere as the new default free provider for both embedding and chat models, replacing HuggingFace. Cohere’s models significantly improve response quality and speed.
New Features:
  • Added a config option to disable Discord functionality features.
  • Allow setting the base URL of OpenAI API compatible chat model/embedding model.
  • Added a config option to change or disable the sound played when player receives a response in-game.
New API Features:
  • Added isPrivately() to PreMinecraftHandleEvent and PostMinecraftHandleEvent.
  • Added waitForPlugin() to API which forces ServerAssistantAI to wait for a plugin to enable before loading configurations.
Enhancements:
  • Updated default message prompts to work best with Cohere.
  • Allow more properties to be set for built-in providers.
  • Use minimum words for both Minecraft and Discord, defaulting both to 3.
  • Further improved responses starting on the next line.
  • Allow setting frequency & presence penalty for Cohere & OpenAI chat model providers.
Bug Fixes:
  • Fixed credentials not calling fillDefaults().
Other Changes:
  • HuggingFace is now available as an addon since it has been replaced by Cohere as the default free provider.
  • Print a message on successful configurations load.
  • Changed website in plugin.yml to code-solutions.dev.
  • Avoid automatic remapping on paper servers as it is not needed since NMS is not used.
  • Added a workaround for some Spigot versions not properly loading libraries.
----------, May 4, 2024

Resource Information
Author:
----------
Total Downloads: 70
First Release: Apr 22, 2024
Last Update: Nov 30, 2024
Category: ---------------
All-Time Rating:
8 ratings
Find more info at wiki.code-solutions.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings