dsh-status-rotator 使用指南
替换 DSH Web 界面回合底部的 "Deep diving..." 状态文案,支持阶段感知切换、打字机、炫彩渐变和可视化词库编辑。
本文为派生内容(基于 wiki / faq / compatibility_json 自动组装),非 AI 即时创作。
本文由本站基于该插件已收录的字段自动派生(wiki / faq / compatibility_json / readme),非 AI 即时创作。每节末尾标源字段。
快速上手
dsh-status-rotator
— 源: plugin_wiki.wiki_content
安装与验证
dsh plugin --profile web add dsh-status-rotator
复制以上命令在 DSH Web Profile 内运行。安装完成后在「插件列表」启用即可。
— 源: plugins.install
关键要点
- From npm (easiest):
dsh plugin --profile web add dsh-status-rotator - From a clone:
dsh plugin --profile web add ./dsh-status-rotator - From a release package: download the packaged tarball from the Release page, then
dsh plugin --profile web add /path/to/dsh-status-rotator-<version>.tgz. -
- id: status-rotator
- Typewriter effect: phrases are typed out character by character, speed configurable, 0 disables it;
— 源: plugin_wiki.readme_zh (fallback readme_raw)
常见问题
首次安装后需要重启 dsh web 吗?
需要。node 端的 HTTP 路由(/plugins/dsh-status-rotator/config.json)必须重启一次 dsh web 才会注册,之后改文案就不用再重启。
修改文案后页面要刷新才会生效吗?
不需要。插件默认每 reloadIntervalMs(默认 15000 毫秒)自动重读配置,切回标签页时立即重读;通过设置页保存是即时热应用。
看不到炫彩渐变怎么办?
渐变默认开启。若被关闭,可在 config.json 的 gradient.enabled 改为 true,或在 DSH 设置 → 状态文案页检查同一项。关闭时只显示纯文字。
localStorage 覆盖生效是什么意思?
如果浏览器 localStorage 里设置了 dsh-status-rotator.texts / .config / .url 三个键之一,外部 config.json 会被静默压住,浏览器控制台会打 ⚠ 警告。清除对应 localStorage 键即可恢复。
QQ 群成员文案生成器怎么用?
需要一个 OneBot v11 兼容的 HTTP API(如 NapCat / LLOneBot / go-cqhttp / OpenShamrock),运行 node scripts/fetch-qq-group.cjs --url ... --token ...;没有机器人也可以用 --input members.txt 喂本地名单。
怎么卸载?
从 cordis.patch.yml 里删除 status-rotator 那一行,重启 dsh web。
— 源: plugin_wiki.faq_json
兼容性
- DSH: 未声明
- Node: 未声明
— 源: plugin_wiki.compatibility_json
踩坑提醒
安装前请审阅上游仓库;本指南基于已收录字段自动派生,可能滞后于最新版本。如发现与官方文档冲突,请以上游为准。
— 来源:通用规则