求教删除插件方法
-
使用指令安装插件后,单纯在plugins里删除是删不掉的。怎么删除,或者说怎么用指令删除呢
-
编辑config.json
把你用命令安装的那一段自动更新配置删掉
比如{ "module_packages": [ "mcl:org.itxtech.mcl.module.builtin" ], "mirai_repo": "https://repo.mirai.mamoe.net/keep/mcl", "maven_repo": [ "https://repo.huaweicloud.com/repository/maven" ], "packages": { "net.mamoe:mirai-console": { "channel": "maven-stable", "version": "2.14.0", "type": "libs", "versionLocked": false }, "net.mamoe:mirai-console-terminal": { "channel": "maven-stable", "version": "2.14.0", "type": "libs", "versionLocked": false }, "net.mamoe:mirai-core-all": { "channel": "maven-stable", "version": "2.14.0", "type": "libs", "versionLocked": false }, "org.itxtech:mcl-addon": { "channel": "maven-stable", "version": "2.1.1", "type": "plugins", "versionLocked": false }, "net.mamoe:mirai-api-http": { "channel": "stable-v2", "version": "2.9.1", "type": "plugins", "versionLocked": false } }, "archiveSuffix": [ ".zip", ".mirai2.jar", ".mirai.jar", "-all.jar", ".jar" ], "disabled_modules": [], "proxy": "", "log_level": 1, "modules_props": {} }
删掉Mirai-http-api的自动更新
把插件 versionLocked 那一行下面的大括号删掉
删到 net.mamoe:mirai-api-http 上面一行结尾的逗号
然后保存,删掉插件全部文件
下次Mirai就不会自动更新了 -
或者用 mcl --remove-package [package-name]
-