大佬,我检查了一下,好像是2.10.0-dev-6+null版本不能用了,我去github下载了一个LuckPerms-Mirai-2.14.0-dev-7+null放在plugins后就可以正常启动mirai了,并弹出LuckPerms的弹窗
sides 发布的最新帖子
-
RE: 2024.7.4 目前可用的mirai登陆全过程含安装插件
-
RE: 2024.7.4 目前可用的mirai登陆全过程含安装插件
大佬,又出现了新的问题,Mirai Console 尝试加载 LuckPerms 插件时失败了,插件文件损坏
22:38:24 [INFO] Verifying "net.mamoe:mirai-console" v2.16.0
22:38:25 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.16.0
22:38:25 [INFO] Verifying "net.mamoe:mirai-core-all" v2.16.0
22:38:25 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
22:38:26 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.64
22:38:26 [INFO] Verifying "net.mamoe:chat-command" v0.6.0
22:38:26 [INFO] Verifying "io.github.karlatemp:luckperms" v2.10.0-dev-6+null
22:38:26 [ERROR] "io.github.karlatemp:luckperms" is corrupted.
22:38:26 [INFO] Updating "io.github.karlatemp:luckperms" to v2.10.0-dev-6+null
Downloading luckperms-2.10.0-dev-6+null.jar [==============================] 84 Downloading luckperms-2.10.0-dev-6+null.jar [==============================] 84 B
Downloading luckperms-2.10.0-dev-6+null.jar.sha1 [============================= Downloading luckperms-2.10.0-dev-6+null.jar.sha1 [==============================] 84 B
22:38:27 [ERROR] The local file "io.github.karlatemp:luckperms" is still corrupted, please check the network.
2024-07-17 22:38:27 I/main: Starting mirai-console...
2024-07-17 22:38:27 I/main:===================================[ Mirai console 2.16.0 ]===================================
| \ / \ \ | / \ |
| ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______
| ▓▓▓\ / ▓▓▓ / \ | | \ ▓▓ \▓▓/ | \ / / | ▓▓/
| ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓
\▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓2024-07-17 22:38:27 I/main: Backend: version 2.16.0, built on 2023-10-20 06:28:10.
2024-07-17 22:38:27 I/main: Frontend Terminal: version 2.16.0, provided by Mamoe Technologies
2024-07-17 22:38:27 I/main: Welcome to visit https://mirai.mamoe.net/
2024-07-17 22:38:27 E/main: Failed to init MiraiConsole.
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1695)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1703)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1541)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1504)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:724)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:251)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:180)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:194)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.init0(JvmPluginClassLoader.kt:304)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.init1(JvmPluginClassLoader.kt:296)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.<init>(JvmPluginClassLoader.kt:291)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.<init>(JvmPluginClassLoader.kt)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN$Companion.newLoader(JvmPluginClassLoader.kt:431)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.extractPlugins(BuiltInJvmPluginLoaderImpl.kt:258)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.listPlugins(BuiltInJvmPluginLoaderImpl.kt:72)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.listPlugins(JvmPluginLoader.kt)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:207)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:153)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:163)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:303)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)
Suppressed: java.lang.RuntimeException: Failed to initialize new JvmPluginClassLoader, file=D:\mirai\chmod -R 777\root\mirai\mcl-2.1.2\plugins\luckperms-2.10.0-dev-6+null.jar
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.init1(JvmPluginClassLoader.kt:298)
... 25 more -
RE: 2024.7.4 目前可用的mirai登陆全过程含安装插件
@zhaodice 大佬我问了一下gpt,现在搞明白了password是一个包含两个子字段的字典,kind是指定密码类型,value才是实际的密码内容对吗
-
RE: 2024.7.4 目前可用的mirai登陆全过程含安装插件
accounts:
-
账号, 现只支持 QQ 数字账号
account: 3660940892
password: db8a086d14410b6136cd7c58a6099c04331e55825d6ca92cac42187cbebfd87c密码种类, 可选 PLAIN 或 MD5
kind: PLAIN密码内容, PLAIN 时为密码文本, MD5 时为 16 进制
value: pwd账号配置. 可用配置列表 (注意大小写):
protocol: ANDROID_PHONE / ANDROID_PAD / ANDROID_WATCH / MACOS / IPAD
device: device.json
enable: true
heartbeatStrategy: STAT_HB / REGISTER / NONE
configuration:
protocol: ANDROID_PAD
device: device.json
enable: true
heartbeatStrategy: STAT_HB
-
-
RE: 2024.7.4 目前可用的mirai登陆全过程含安装插件
大佬大佬,按照您的教程操作,在为bot添加自动登录后启动mirai,出现一下信息,怎么办啊
2024-07-17 02:47:48 I/main: Backend: version 2.16.0, built on 2023-10-20 06:28:10.
2024-07-17 02:47:48 I/main: Frontend Terminal: version 2.16.0, provided by Mamoe Technologies
2024-07-17 02:47:48 I/main: Welcome to visit https://mirai.mamoe.net/
2024-07-17 02:47:48 E/main: Failed to init MiraiConsole.
net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for 'accounts' in 'AutoLogin'
value: pwd
^ at line 8, column 17at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181) at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:533) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:88) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:51) at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162) at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:49) at net.mamoe.mirai.console.internal.data.builtins.ConsoleDataScopeImpl.addAndReloadConfig(ConsoleDataScopeImpl.kt:45) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:276) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84)
Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '0' in 'kotlin.collections.ArrayList'
...密码内容, PLAIN 时为密码文本, MD5 时为 16 进制
^ at line 7, column 41at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181) at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:533) at kotlinx.serialization.internal.CollectionLikeSerializer.readElement(CollectionSerializers.kt:80) at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36) at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43) at net.mamoe.mirai.console.data.SerializableValue$Companion$serializableValueWith$$inlined$map$1.deserialize(serializerHelper.kt:171) at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179) ... 22 more
Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for 'password' in 'net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig.Account'
kind: PLAIN
^ at line 6, column 18at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181) at net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig$Account$$serializer.deserialize(AutoLoginConfig.kt:31) at net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig$Account$$serializer.deserialize(AutoLoginConfig.kt:31) at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179) ... 29 more
Caused by: net.mamoe.yamlkt.YamlDecodingException: There must be a COLON between class key and value but found STRING for 'net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig.Account.Password'
kind: PLAIN
^ at line 6, column 12at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException$default(ContextualException.kt:128) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException$default(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$BlockClassDecoder.decodeElementIndex(YamlDecoder.kt:294) at net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig$Account$Password$$serializer.deserialize(AutoLoginConfig.kt:47) at net.mamoe.mirai.console.internal.data.builtins.AutoLoginConfig$Account$Password$$serializer.deserialize(AutoLoginConfig.kt:47) at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179) ... 32 more