diff --git a/en/use/webui.md b/en/use/webui.md index 9869463..7c84e24 100644 --- a/en/use/webui.md +++ b/en/use/webui.md @@ -43,7 +43,23 @@ You can also click the + button in the bottom right corner to manually install p ### Handling Plugin Load Failures -If a plugin fails to load, the admin panel will display the error message and provide a **"Try one-click reload fix"** button. This allows you to quickly reload the plugin after fixing the environment (e.g., installing missing dependencies) or modifying the code, without having to restart the entire application. +When a plugin fails to load, the admin panel displays a **"Failed to Load Plugins"** section at the top of the installed plugins page, listing all failed plugins along with their error messages. + +For each failed plugin, you can: + +- **Reload**: Click the reload button to attempt reloading the plugin. This is useful after fixing the environment (e.g., installing missing dependencies) or modifying the code. +- **Uninstall**: Directly uninstall the failed plugin. You can choose whether to also delete configuration files and persistent data during uninstallation. + +> [!TIP] +> When plugin installation fails, the plugin directory is preserved for troubleshooting. You can try reloading after fixing the issue, or uninstall it directly to clean up. + +### Plugin Market + +In the Plugin Market page, you can browse and install plugins officially listed by AstrBot. + +- Click the button next to **Plugin Source** to show or hide the random recommended plugins section +- The random recommendations section automatically collapses when searching or paginating +- The search box is located on the right side of the page for quick plugin lookup ## Command Management @@ -76,4 +92,4 @@ Modify the `port` in the `dashboard` configuration in the data/cmd_config.json f ## Forgot Password -Modify the `password` in the `dashboard` configuration in the data/cmd_config.json file and delete the entire password key-value pair. +Modify the `password` in the `dashboard` configuration in the data/cmd_config.json file and delete the entire password key-value pair. \ No newline at end of file diff --git a/zh/use/webui.md b/zh/use/webui.md index f52f4a3..bb7263b 100644 --- a/zh/use/webui.md +++ b/zh/use/webui.md @@ -43,7 +43,23 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看 ### 插件加载失败处理 -如果插件加载失败,管理面板会显示错误信息,并提供 **“尝试一键重载修复”** 按钮。这允许你在修复环境(如安装缺失依赖)或修改代码后,无需重启整个程序即可快速重新加载插件。 +当插件加载失败时,管理面板会在已安装插件页面顶部显示一个 **"加载失败插件"** 区域,列出所有加载失败的插件及其错误信息。 + +对于每个失败的插件,你可以: + +- **重载**:点击重载按钮尝试重新加载插件。适用于修复环境(如安装缺失依赖)或修改代码后的场景。 +- **卸载**:直接卸载失败的插件。卸载时可选择是否同时删除配置文件和持久化数据。 + +> [!TIP] +> 插件安装失败时,插件目录会被保留以便排查问题。你可以在修复问题后尝试重载,或直接卸载清理。 + +### 插件市场 + +在插件市场页面,你可以浏览和安装 AstrBot 官方上架的插件。 + +- 点击 **插件源** 右侧的按钮可以显示或隐藏随机推荐插件区域 +- 搜索或翻页时,随机推荐区域会自动收起 +- 搜索框位于页面右侧,方便快速查找插件 ## 指令管理 @@ -76,4 +92,4 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看 ## 忘记密码 -修改 data/cmd_config.json 文件内 `dashboard` 配置中的 `password`,将 password 整个键值对删除。 +修改 data/cmd_config.json 文件内 `dashboard` 配置中的 `password`,将 password 整个键值对删除。 \ No newline at end of file