AItop Plugin Description:
AItop is a fun and interactive plugin that brings AI-powered communication to your Minecraft server. It allows players to chat with advanced neural networks, making the in-game experience more dynamic and entertaining. You can choose between two cutting-edge AI technologies:
GPT and
Gemini, offering flexibility based on your needs. Simple to set up and use, AItop ensures seamless interaction with minimal hassle.
AItop Commands:
- /ai reload — Reloads the configuration and message settings.
AItop Permissions:
- aitop.admin — Grants permission to reload the plugin configuration.
- aitop.ask — Allows users to send queries to the AI.
Features Based on the Configuration:
- Dual AI Support:
Choose between GPT and Gemini. Whether you prefer the precision of GPT or the cost-efficiency of Gemini, you have both options available.
- Customizable Commands:
Set a unique command name like /бот or /help, allowing for personalized interactions to fit your server's theme.
- Configurable Cooldown:
Prevent spamming by setting a cooldown period between player requests.
- Chat Prefixes for AI Activation:
Fine-tune when the AI responds by specifying prefixes such as $ or #. This ensures the AI only engages when needed.
- Flexible Token Limit:
Manage the length of responses by adjusting the token cap, keeping chats concise and relevant.
- Dynamic Role Settings:
Customize the AI's communication style. For example, the system can respond with brief, game-themed messages to match the Minecraft environment.
- Free and Paid AI Options:
Use Gemini for free or leverage the powerful capabilities of GPT if you have an OpenAI subscription.
- Easy API Integration:
Simply insert your API keys into the configuration, and you're ready to go.
Why Download AItop?
With its easy setup, personalized interactions, and the power of AI, AItop makes every player feel connected and entertained. Whether you want quick answers, immersive roleplay, or automated assistance, AItop has you covered.
Plugin Configuration:
Code (Text):
# Default AI
# Specify which AI will be used: GPT or GEMINI
ai: "GPT"
# Custom command for AI requests
# You can set any command name instead of /ask.
# For example: "ask", "bot", "help", etc.
# If you change settings while the server is running, make sure to restart the server for the changes to take effect.
ask-command: "ask"
# Cooldown time in seconds between requests from the same player
cooldown-seconds: 30
# List of prefixes to use in chat.
# If prefixes are specified, the AI will only respond to messages starting with them.
# Leave the list empty to allow the AI to react to all messages in the chat.
# If you change settings while the server is running, make sure to restart the server for the changes to take effect.
prefixes:
- "$"
- "#"
##########################
# OpenAI Settings #
##########################
# Configure the OpenAI model here.
# You can obtain your API key from: https://platform.openai.com/api-keys
# Remember, using GPT is not free. You can top up your balance here:
# https://platform.openai.com/settings/organization/billing/overview
gpt-api-key: "your_openai_api_key" # Your OpenAI API key
openai-model: "gpt-3.5-turbo" # Specify the desired OpenAI model
# Token limit for AI responses.
# This limits the number of words and characters in the response.
max-tokens: 500
# The role of the AI, defining its communication style and context.
# Example: "Respond briefly and to the point. Ignore complex queries."
system-role: "You are interacting with players on a Minecraft server. Keep responses short, ideally a single sentence. Avoid long words and maintain the Minecraft chat format."
##########################
# Gemini Settings #
##########################
# Unlike GPT, using Gemini is free.
# You can obtain your API key here:
# https://console.cloud.google.com/apis/library/generativelanguage.googleapis.com
gemini-api-key: "your_gemini_api_key" # Your Gemini API key
gemini-model: "gemini-1.0-pro-latest" # Specify the desired Gemini model
Plugin Message File:
Code (YAML):
messages:
ask-success
: |
<gradient:#6A0DAD:#FF4500><bold>──────────✧・゚: *✧・゚:* ──────────</bold></gradient>
<gradient:#FF6347:#8B0000><bold>Response from AI for <player>:</bold></gradient>
<hover:show_text:'<gray>Generated based on your data and my ruthless logic.'>
<gradient:#8A2BE2:#FF1493><italic><response></italic></gradient>
</hover>
<gradient:#6A0DAD:#FF4500><bold>──────────────────────────</bold></gradient>
reload-success
: |
<newline>
<gradient:#7FFF00:#32CD32><bold>✅ Configuration reloaded successfully!</bold></gradient>
<gray><italic>All changes applied. Good luck in the game!</italic></gray>
<newline>
no-permission
: |
<newline>
<red><bold>⛔ You don't have permission to execute this command!</bold></red>
<hover:show_text:'<gray>Contact an administrator to request access.'>
<dark_gray>[More Info]</dark_gray></hover>
<newline>
unknown-command
: |
<newline>
<gradient:#FF4500:#FFD700><bold>❓ Unknown command!</bold></gradient>
<hover:show_text:'<gray>Check the command or use /help for assistance.'>
<dark_gray>[Hint]</dark_gray></hover>
<newline>
error-occurred
: |
<newline>
<red><bold>⚠️ An error has occurred!</bold></red>
<hover:show_text:'<gray>Contact an administrator or developer.'>
<dark_red>[More Info]</dark_red></hover>
<newline>
cooldown
: |
<newline>
<yellow><bold>⏳ Please wait <time> seconds before making another request.</bold></yellow>
<newline>
usage-ask
: |
<newline>
<gradient:#7FFFD4:#4682B4><bold>Usage:</bold> <white>/ask [question]</white></gradient>
<newline>
usage-ai
: |
<newline>
<gradient:#FFD700:#FF8C00><bold>Usage:</bold> <white>/ai [reload]</white></gradient>
<newline>