Files
astrbot_plugin_jx3/_conf_schema.json
T
2026-09-06 19:22:56 +08:00

83 lines
2.2 KiB
JSON

{
"prefix": {
"description": "指令前缀",
"type": "object",
"items": {
"enable": {
"description": "是否启用",
"type": "bool",
"default": false,
"hint": "是否启用指令前缀检查功能"
},
"text": {
"description": "前缀内容",
"type": "string",
"default": "剑三",
"hint": "为了避免和其他插件的指令冲突可以增加指令前缀;开启后内容为空或只有空格时按未开启前缀处理。"
}
}
},
"jx3api_token": {
"description": "JX3API Token",
"type": "string",
"default": "",
"hint": "前往https://www.jx3api.com/注册并购买Token。"
},
"jx3api_ticket": {
"description": "推栏标识",
"type": "string",
"default": "",
"hint": "通过抓包推栏APP账号登录信息获取推栏标识。"
},
"jx3api_wss": {
"description": "事件通道地址",
"type": "string",
"default": "wss://socket.nicemoe.cn",
"hint": "事件推送的WebSocket地址。"
},
"jx3api_wss_token": {
"description": "事件推送令牌",
"type": "string",
"default": "",
"hint": "用于付费事件推送,不填写只推送免费事件。"
},
"image_render_quality": {
"description": "图片渲染质量",
"type": "object",
"items": {
"device_scale_factor": {
"description": "渲染清晰度",
"type": "string",
"options": [
"1.0",
"1.3",
"1.8"
],
"default": "1.0",
"hint": "数值越高越清晰,同时图片更大、渲染耗时更多。"
},
"format": {
"description": "输出格式",
"type": "string",
"options": [
"jpeg",
"png"
],
"default": "jpeg",
"hint": "JPEG 文件通常更小;PNG 为无损格式但文件更大。透明背景的特殊页面仍会自动使用 PNG。"
},
"jpeg_quality": {
"description": "JPEG 质量",
"type": "int",
"default": 100,
"slider": {
"min": 1,
"max": 100,
"step": 1
},
"hint": "仅输出格式为 JPEG 时生效;数值越高细节越完整,文件也越大。"
}
}
}
}