Files
Mofox-Core/plugins/example_plugin/config.toml
2025-06-16 13:53:33 +08:00

63 lines
1.2 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 综合示例插件配置文件
[plugin]
name = "example_plugin"
version = "2.0.0"
enabled = true
description = "展示新插件系统完整功能的示例插件"
# 组件启用控制
[components]
enable_greeting = false
enable_helpful = false
enable_help = false
enable_send = false
enable_echo = false
enable_info = false
enable_dice = false
# 智能问候配置
[greeting]
template = "你好,{username}欢迎使用MaiBot综合插件系统"
enable_emoji = true
enable_llm = false # 是否使用LLM生成个性化问候
# 消息发送配置
[send]
max_message_length = 500
enable_length_check = true
default_platform = "qq"
# 回声命令配置
[echo]
max_length = 200
enable_formatting = true
# 消息信息配置
[info]
show_detailed_info = true
include_stream_info = true
max_content_preview = 100
# 智能帮助配置
[helpful]
enable_llm = false
enable_emoji = true
random_activation_probability = 0.15
# 帮助系统配置
[help]
show_extended_help = true
include_action_info = true
include_config_info = true
enable_llm = false
enable_emoji = true
# 骰子命令配置
[dice]
enable_dice = true
# 日志配置
[logging]
level = "INFO"
prefix = "[ExampleComprehensive]"