-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_conf_schema.json
More file actions
92 lines (92 loc) · 2.99 KB
/
_conf_schema.json
File metadata and controls
92 lines (92 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"rcon_host": {
"type": "string",
"title": "RCON主机地址",
"description": "Minecraft服务器的IP地址或域名",
"default": "localhost"
},
"rcon_port": {
"type": "int",
"title": "RCON端口",
"description": "Minecraft服务器的RCON端口(默认25575)",
"default": 25575
},
"rcon_password": {
"type": "string",
"title": "RCON密码",
"description": "Minecraft服务器的RCON密码",
"default": ""
},
"admin_ids": {
"type": "list",
"title": "管理员列表",
"description": "允许使用此插件的QQ号/MC账号(填游戏名)列表,留空表示所有人可用",
"default": []
},
"enable_dangerous_commands": {
"type": "bool",
"title": "启用危险命令",
"description": "是否启用stop等危险命令",
"default": false
},
"enable_log_monitor": {
"type": "bool",
"title": "启用日志监控",
"description": "是否启用Minecraft服务器日志实时监控功能",
"default": false
},
"log_server_host": {
"type": "string",
"title": "日志服务器地址",
"description": "日志服务器的IP地址(运行log_server.py的机器)",
"default": "127.0.0.1"
},
"log_server_port": {
"type": "int",
"title": "日志服务器端口",
"description": "日志服务器监听的端口号",
"default": 25576
},
"log_reconnect_interval": {
"type": "int",
"title": "日志服务器重连间隔",
"description": "与日志服务器断开连接后,自动重连的时间间隔(秒),设为0禁用自动重连",
"default": 10
},
"log_max_reconnect_attempts": {
"type": "int",
"title": "最大重连次数",
"description": "自动重连的最大尝试次数,设为0表示无限重试",
"default": 0
},
"enable_chat_response": {
"type": "bool",
"title": "启用聊天响应",
"description": "是否将LLM的响应发送回MC聊天框(需要启用日志监控)。注意:所有MC消息会提交到AstrBot框架,由AstrBot的wake_prefix配置控制是否调用LLM",
"default": true
},
"bot_nickname": {
"type": "string",
"title": "机器人昵称",
"description": "在MC聊天框中显示的机器人名称",
"default": "Bot"
},
"enable_unified_context": {
"type": "bool",
"title": "启用统一上下文",
"description": "是否启用MC和QQ群的统一上下文功能(需同时配置unified_group_umo)",
"default": false
},
"unified_group_umo": {
"type": "string",
"title": "统一上下文UMO",
"description": "用于send_to_qq_group工具发送消息的完整UMO字符串。格式:平台ID:GroupMessage:群号,示例:aiocqhttp_default:GroupMessage:123456789",
"default": ""
},
"mc_message_prefix": {
"type": "string",
"title": "MC消息前缀",
"description": "MC玩家消息在统一上下文中的前缀标识",
"default": "[MC]"
}
}