gearConfiguration

General configuration

# Displayname of the bot
botname: "<gradient:#E9C113:#E99E13>PS ChatBot</gradient>"

# Key words to listen - Case insensitive
key-words:
- "ChatBot"
- "help"

# Format of the bot responses, DO NOT USE COLORS HERE, for colors use botname or ai_messages_format
format: "{botname}: {message}"
# AI messages format:
ai_messages_format: "<gray>{message}</gray>"

# Convert MiniMessage to CMI Chat
convert_to_cmi: false

# Should the bot send a message when a player joins the server?
message_on_join: true
# Message to send when a player joins the server
message_to_send: "<gray>Hello! i'm {botname}."

botname : The displayname of the bot, you can use MiniMessage for colors.

key-words : List of words that will trigger a bot response, in the example the bot will only answer a question if it contains the words "chatbot" or "help". Case insensitive.

format : Order of the displayname and the message content.

ai_message_format: The color of the response of the bot, use minimessage for colors.

convert_to_cmi : If you are using CMI Chat, set it to "true".

message_on_join : The bot will send a message to a player when joins

message_to_send : The message to send, if message_on_join is true.

AI Configuration

api-key : Your Openrouter or Google AI API Key, you can ask on the discord server how to get one. When changing this option, restart the server.

provider : If your AI API Key is google, or openrouter.

response-delay : How many miliseconds will the bot wait for a response, a delay is recommended for best user experience.

max-response-length : How many characters should the response have at max.

context : In this category, you can give the AI information about your server to get the best responses.

ignore-players : Players in this list will not be able to get bot responses.

filters : Content the bot will ignore for safety reasons, customizable

response_language : The language of the bot responses, "auto" recommended.

Last updated