kt-template-online-api/src/modules/qqbot/plugins/ff14-market/plugin.json

55 lines
1.5 KiB
JSON
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.

{
"pluginKey": "ff14-market",
"name": "FF14 市场价格",
"version": "1.0.0",
"minApiSdkVersion": "1.0.0",
"description": "对接 XIVAPI v2 与 Universalis提供 FF14 物品解析和市场价格查询能力。",
"author": "KT",
"entry": "src/index.ts",
"legacyAliases": ["ff14Market"],
"permissions": ["runtime.http", "plugin.config.read"],
"runtime": {
"workerType": "thread",
"timeoutMs": 30000,
"memoryMb": 256,
"maxConcurrency": 1,
"configKeys": [
"FF14_DEFAULT_WORLD",
"FF14_UNIVERSALIS_BASE_URL",
"FF14_XIVAPI_BASE_URL",
"FF14_XIVAPI_CHS_BASE_URL"
]
},
"configSchema": {
"type": "object",
"properties": {
"xivapiBaseUrl": { "type": "string" },
"universalisBaseUrl": { "type": "string" },
"defaultWorld": { "type": "string" }
}
},
"operations": [
{
"key": "ff14.item.resolve",
"name": "解析物品",
"handlerName": "resolveItem",
"description": "按物品名称或 ID 解析 XIVAPI 物品信息。",
"aliases": ["物品", "item", "ff14item"],
"permissions": ["runtime.http", "plugin.config.read"],
"timeoutMs": 15000
},
{
"key": "ff14.market.price",
"name": "市场查价",
"handlerName": "getPrice",
"description": "查询指定服务器的 FF14 市场最低价、均价与近期挂单。",
"aliases": ["查价", "price", "ff14price"],
"permissions": ["runtime.http", "plugin.config.read"],
"timeoutMs": 15000
}
],
"events": [],
"assets": [],
"migrations": []
}