DreamVoid / MiraiMC

适用于Minecraft服务器的Mirai机器人
https://docs.miraimc.dreamvoid.me
GNU Affero General Public License v3.0
181 stars 15 forks source link

mirai 无法加载核心服务 `net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated` #281

Closed Unmeldy closed 1 year ago

Unmeldy commented 1 year ago

问题描述

如题

复现方法

  1. 本地测试后放入服务器插件报错并且无法使用

服务端类型

Bukkit

服务端版本

spigot-1.12.2

MiraiMC 插件版本

1.7.1

服务端日志

[11:18:58] [Server thread/INFO]: [MiraiMC] Loading MiraiMC v1.7.1
[11:18:59] [Server thread/INFO]: [MiraiMC] Verifying mirai-core-all-2.13.2.jar
[11:18:59] [Server thread/INFO]: [MiraiMC] Loading library plugins\MiraiMC\MiraiBot\libs\mirai-core-all-2.13.2.jar
[11:19:00] [Server thread/INFO]: [TitleBroadCast] Loading TitleBroadCast v1.0-SNAPSHOT
[11:19:00] [Server thread/INFO]: [TAB-Bridge] Loading TAB-Bridge v2.0.1
[11:19:00] [Server thread/INFO]: [WorldBorder] Loading WorldBorder v1.8.7
[11:19:00] [Server thread/INFO]: [CommandNPC] Loading CommandNPC v1.9.1
[11:19:00] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v4.6.1-SNAPSHOT-b501
[11:19:00] [Server thread/INFO]: [NoPlugins] Loading NoPlugins v8.1
[11:19:00] [Server thread/INFO]: [Images] Loading Images v2.2.3
[11:19:00] [Server thread/INFO]: [MiaoChat] Loading MiaoChat v2.1.2
[11:19:00] [Server thread/INFO]: [AuthMe] Loading AuthMe v5.6.0-beta2-b2453
[11:19:00] [Server thread/INFO]: [VexView] Loading VexView v2.6.10
[11:19:00] [Server thread/INFO]: [CMI] Loading CMI v8.8.2.10
[11:19:00] [Server thread/INFO]: [TrMenu] Loading TrMenu v2.08
[11:19:00] [Server thread/INFO]: [BungeeTabListPlus] Loading BungeeTabListPlus v3.4.4
[11:19:00] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.2.76
[11:19:00] [Server thread/INFO]:         __    
[11:19:00] [Server thread/INFO]:   |    |__)   LuckPerms v5.2.76
[11:19:00] [Server thread/INFO]:   |___ |      Running on Bukkit - CraftBukkit
[11:19:00] [Server thread/INFO]: 
[11:19:00] [Server thread/INFO]: [LuckPerms] Loading configuration...
[11:19:00] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[11:19:00] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[11:19:01] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[11:19:01] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 517ms)
[11:19:01] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v4.6.1-SNAPSHOT-b501
[11:19:01] [Server thread/INFO]: [ProtocolLib] Started structure compiler thread.
[11:19:01] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[11:19:01] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[11:19:01] [Server thread/WARN]: Whilst this makes it possible to use BungeeCord, unless access to your server is properly restricted, it also opens up the ability for hackers to connect with any username they choose.
[11:19:01] [Server thread/WARN]: Please see http://www.spigotmc.org/wiki/firewall-guide/ for further information.
[11:19:01] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[11:19:01] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[11:19:01] [Server thread/INFO]: Preparing level "world"
[11:19:01] [Server thread/INFO]: -------- World Settings For [world] --------
[11:19:01] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[11:19:01] [Server thread/INFO]: View Distance: 10
[11:19:01] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617 Monument: 10387313 Slime: 987234911
[11:19:01] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[11:19:01] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[11:19:01] [Server thread/INFO]: Arrow Despawn Rate: 1200
[11:19:01] [Server thread/INFO]: Mob Spawn Range: 4
[11:19:01] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
[11:19:01] [Server thread/INFO]: Cactus Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Cane Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Melon Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Sapling Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Wheat Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Vine Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[11:19:01] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[11:19:01] [Server thread/INFO]: Random Lighting Updates: false
[11:19:01] [Server thread/INFO]: Structure Info Saving: true
[11:19:01] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[11:19:01] [Server thread/INFO]: Max TNT Explosions: 100
[11:19:01] [Server thread/INFO]: Item Despawn Rate: 6000
[11:19:01] [Server thread/INFO]: Item Merge Radius: 2.5
[11:19:01] [Server thread/INFO]: Experience Merge Radius: 3.0
[11:19:01] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[11:19:01] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[11:19:01] [Server thread/INFO]: View Distance: 10
[11:19:01] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617 Monument: 10387313 Slime: 987234911
[11:19:01] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[11:19:01] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[11:19:01] [Server thread/INFO]: Arrow Despawn Rate: 1200
[11:19:01] [Server thread/INFO]: Mob Spawn Range: 4
[11:19:01] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
[11:19:01] [Server thread/INFO]: Cactus Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Cane Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Melon Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Sapling Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Wheat Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Vine Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[11:19:01] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[11:19:01] [Server thread/INFO]: Random Lighting Updates: false
[11:19:01] [Server thread/INFO]: Structure Info Saving: true
[11:19:01] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[11:19:01] [Server thread/INFO]: Max TNT Explosions: 100
[11:19:01] [Server thread/INFO]: Item Despawn Rate: 6000
[11:19:01] [Server thread/INFO]: Item Merge Radius: 2.5
[11:19:01] [Server thread/INFO]: Experience Merge Radius: 3.0
[11:19:01] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[11:19:01] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[11:19:01] [Server thread/INFO]: View Distance: 10
[11:19:01] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617 Monument: 10387313 Slime: 987234911
[11:19:01] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[11:19:01] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[11:19:01] [Server thread/INFO]: Arrow Despawn Rate: 1200
[11:19:01] [Server thread/INFO]: Mob Spawn Range: 4
[11:19:01] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
[11:19:01] [Server thread/INFO]: Cactus Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Cane Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Melon Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Sapling Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Wheat Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Vine Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[11:19:01] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[11:19:01] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[11:19:01] [Server thread/INFO]: Random Lighting Updates: false
[11:19:01] [Server thread/INFO]: Structure Info Saving: true
[11:19:01] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[11:19:01] [Server thread/INFO]: Max TNT Explosions: 100
[11:19:01] [Server thread/INFO]: Item Despawn Rate: 6000
[11:19:01] [Server thread/INFO]: Item Merge Radius: 2.5
[11:19:01] [Server thread/INFO]: Experience Merge Radius: 3.0
[11:19:01] [Server thread/INFO]: Preparing start region for level 0 (Seed: 853416381904350420)
[11:19:01] [Server thread/INFO]: Preparing start region for level 1 (Seed: -6310300636659849671)
[11:19:01] [Server thread/INFO]: Preparing start region for level 2 (Seed: -6310300636659849671)
[11:19:02] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.22-SNAPSHOT (build 1487)
[11:19:02] [Server thread/ERROR]: [Citizens] Missing preferred location bundle.
[11:19:02] [Server thread/INFO]: [Citizens] Unable to use economy handling. Has Vault been enabled?
[11:19:02] [Server thread/INFO]: [Notbuild] Enabling Notbuild v1.5
[11:19:02] [Server thread/INFO]: [Notbuild] Notbuild插件已被加载!
[11:19:02] [Server thread/INFO]: [NoSpawnChunks] Enabling NoSpawnChunks v2.0-b147
[11:19:02] [Server thread/INFO]: [NoSpawnChunks] NoSpawnChunks v2.0-b147 has been enabled. Took 2 ms.
[11:19:02] [Server thread/INFO]: [HallAssistant] Enabling HallAssistant v0.3.8.5
[11:19:02] [Server thread/INFO]: [HallAssistant] replaceMode开启将会比不开启更加消耗性能,在人数过多的情况下建议关闭这个模式
[11:19:02] [Server thread/INFO]: [HallAssistant] 插件初始化参数完成
[11:19:02] [Server thread/INFO]: [HallAssistant] Ver. 0.3.8.5 Start-Up
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.9.2
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: Animations
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: bungee
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: checkitem
[11:19:02] [Server thread/WARN]: [PlaceholderAPI] File: example.js for javascript placeholder: example is empty
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: javascript
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: math
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: progress
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: server
[11:19:02] [Server thread/INFO]: §a称号变量启动成功
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: Chenghao
[11:19:02] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[11:19:02] [Server thread/INFO]: [JoinMessagePlus] Enabling JoinMessagePlus v4.0
[11:19:02] [Server thread/INFO]: [CMILib] Enabling CMILib v1.2.4.1
[11:19:02] [Server thread/INFO]: Server version: v1_12_R1 - 1.12.2 - spigot
[11:19:03] [Server thread/INFO]: CMI hooked.
[11:19:03] [Server thread/INFO]: PlaceholderAPI hooked.
[11:19:03] [Server thread/INFO]: Updated (EN) language file. Took 33ms
[11:19:03] [Server thread/INFO]: [Chenghao] Enabling Chenghao v2.3
[11:19:03] [Server thread/INFO]: [Chenghao] §a称号插件启动成功感谢使用此插件 版本:2.2.0
[11:19:03] [Server thread/INFO]: [Chenghao] §a作者:疯子冰棍(F_Binggun)
[11:19:03] [Server thread/INFO]: [Chenghao] §a作者QQ:1728482805
[11:19:03] [Server thread/INFO]: [Chenghao] §c接定制插件 技术接单
[11:19:03] [Server thread/INFO]: [Chenghao] §c如有对此插件任何疑问或建议 请联系作者
[11:19:03] [Server thread/INFO]: [MiraiMC] Enabling MiraiMC v1.7.1
[11:19:03] [Server thread/INFO]: [MiraiMC] Mirai working dir: default
[11:19:03] [Server thread/INFO]: [MiraiMC] Starting Mirai-Events listener.
[11:19:03] [Server thread/INFO]: [MiraiMC] Loading auto-login file.
[11:19:03] [Server thread/INFO]: [MiraiMC] Registering commands.
[11:19:03] [Server thread/INFO]: [MiraiMC] Registering events.
[11:19:03] [Server thread/INFO]: [MiraiMC] Initializing MySQL database.
[11:19:03] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[11:19:03] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[11:19:03] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[11:19:03] [Server thread/INFO]: [MiraiMC] Initializing bStats metrics.
[11:19:03] [Server thread/WARN]: [MiraiMC] 确保您正在使用开源的MiraiMC插件,未知来源的插件可能会盗取您的账号!
[11:19:03] [Server thread/WARN]: [MiraiMC] 请始终从Github或作者指定的其他途径下载插件: https://github.com/DreamVoid/MiraiMC
[11:19:03] [Server thread/INFO]: [MiraiMC] All tasks done. Welcome to use MiraiMC!
[11:19:03] [Server thread/INFO]: [TitleBroadCast] Enabling TitleBroadCast v1.0-SNAPSHOT
[11:19:03] [Server thread/INFO]: §aTitle公告插件已加载!QQ:476915861
[11:19:03] [Server thread/INFO]: [TAB-Bridge] Enabling TAB-Bridge v2.0.1
[11:19:03] [Server thread/INFO]: [WorldBorder] Enabling WorldBorder v1.8.7
[11:19:03] [Server thread/INFO]: [WorldBorder] [CONFIG] Using elliptic/round border, knockback of 3.0 blocks, and timer delay of 5.
[11:19:03] [Server thread/INFO]: [WorldBorder] [CONFIG] Border-checking timed task started.
[11:19:03] [Server thread/INFO]: [WorldBorder] [CONFIG] World "world" has border radius 75 at X: -39.2 Z: 48.4
[11:19:03] [Server thread/INFO]: [WorldBorder] For reference, the main world's spawn location is at X: -40.0 Y: 27.0 Z: 48.0
[11:19:03] [Server thread/INFO]: [CommandNPC] Enabling CommandNPC v1.9.1
[11:19:03] [Server thread/INFO]: [CommandNPC] Vault not found! Economy support for CommandNPC has been disabled.
[11:19:03] [Server thread/INFO]: [CommandNPC] Initiating Database
[11:19:03] [Server thread/INFO]: [CommandNPC] Injecting command info into Citizens.
[11:19:03] [Thread-16/INFO]: [CommandNPC] Loading commands complete!
[11:19:03] [Server thread/INFO]: [CommandNPC] CommandNPC successfully loaded!
[11:19:03] [Server thread/INFO]: [NoPlugins] Enabling NoPlugins v8.1
[11:19:03] [Server thread/INFO]: [NoPlugins] Minecraft version: v1_12_R1
[11:19:03] [Server thread/INFO]: [NoPlugins] Registered ProtocolLib support for older minecraft
[11:19:04] [Server thread/INFO]: [NoPlugins] Successfully loaded.
[11:19:04] [Server thread/INFO]: [Images] Enabling Images v2.2.3
[11:19:04] [Server thread/INFO]: [Images] ProtocolLib detected. Enabling generic packet handling...
[11:19:04] [Server thread/INFO]: [MiaoChat] Enabling MiaoChat v2.1.2
[11:19:04] [Server thread/INFO]: [MiaoChat] 已开启 BungeeCord 模式!
[11:19:04] [Server thread/INFO]: [MiaoChat] 异步初始化本地化工具...
[11:19:04] [Server thread/INFO]: [AuthMe] Enabling AuthMe v5.6.0-beta2-b2453
[11:19:04] [Server thread/INFO]: [AuthMe] SQLite Setup finished
[11:19:04] [Thread-17/INFO]: [MiaoChat] 配置 Item_zh_CN.yml 来自 YUMC 数据中心...
[11:19:04] [Thread-17/INFO]: [MiaoChat] 远程汉化文件词条数量: 1912
[11:19:04] [Thread-17/INFO]: [MiaoChat] 本地化工具初始化完毕...
[11:19:04] [Server thread/INFO]: [AuthMe] Hooked into LuckPerms!
[11:19:04] [Server thread/WARN]: [AuthMe] Note: Hooks.bungeecord is set to false but your server appears to be running in bungeecord mode (see your spigot.yml). In order to allow the datasource caching and the AuthMeBungee add-on to work properly you have to enable this option!
[11:19:04] [Server thread/INFO]: [AuthMe] AuthMe 5.6.0-beta2 build n.2453 successfully enabled!
[11:19:05] [Server thread/INFO]: [VexView] Enabling VexView v2.6.10
[11:19:05] [Server thread/INFO]: ======== VexView > 开始启动 ========
[11:19:05] [Server thread/INFO]: > 欢迎使用VexView!
[11:19:05] [Server thread/INFO]: > 已将您的语言设置为:中国 (zh_CN)
[11:19:05] [Server thread/INFO]: > 当前服务器版本: 1.12.2 (已兼容)
[11:19:05] [Server thread/INFO]: > 该游戏版本已开放使用的功能:
[11:19:05] [Server thread/INFO]:  ┣ GUI基础功能 √
[11:19:05] [Server thread/INFO]:  ┣ TAG基础功能 √
[11:19:05] [Server thread/INFO]:  ┣ VexViewStore商店 √
[11:19:05] [Server thread/INFO]:  ┣ GUI高级功能(物品槽) √
[11:19:05] [Server thread/INFO]:  ┣ 自定义药水效果 √
[11:19:05] [Server thread/INFO]:  ┣ 高级特效 √
[11:19:05] [Server thread/INFO]:  ┣ 高级物品提示框 √
[11:19:05] [Server thread/INFO]:  ┣ 自定义游戏菜单 √
[11:19:05] [Server thread/INFO]:  ┗ 其他功能 √
[11:19:05] [Server thread/INFO]: > 检测到未启用数据库
[11:19:05] [Server thread/INFO]: > AuthMe 插件成功兼容!
[11:19:05] [Server thread/INFO]: > BetonQuest 插件未安装,跳过兼容!
[11:19:05] [Server thread/INFO]: > Cronus 插件未安装,跳过兼容!
[11:19:05] [Server thread/INFO]: > PlaceholderAPI 插件成功兼容!
[11:19:05] [Server thread/INFO]: > 已完成VexView插件全部功能载入!
[11:19:05] [Server thread/INFO]: > 作者 LK520 | 版本: 2.6.10
[11:19:05] [Server thread/INFO]: ======== VexView > 启动完成 ========
[11:19:05] [Server thread/INFO]: [CMI] Enabling CMI v8.8.2.10
[11:19:06] [Server thread/INFO]: ┏━━━┓ ┏━┓┏━┓ ┏━━┓
[11:19:06] [Server thread/INFO]: ┃┏━┓┃ ┃ ┗┛ ┃ ┗┫┣┛
[11:19:06] [Server thread/INFO]: ┃┃ ┗┛ ┃┏┓┏┓┃  ┃┃ 
[11:19:06] [Server thread/INFO]: ┃┃ ┏┓ ┃┃┃┃┃┃  ┃┃ 
[11:19:06] [Server thread/INFO]: ┃┗━┛┃ ┃┃┃┃┃┃ ┏┫┣┓
[11:19:06] [Server thread/INFO]: ┗━━━┛ ┗┛┗┛┗┛ ┗━━┛
[11:19:06] [Server thread/INFO]: _______________________________________________________
[11:19:06] [Server thread/INFO]:   Citizens found.
[11:19:06] [Server thread/INFO]:   55 Enabled and 0 Disabled modules
[11:19:06] [Server thread/INFO]:   Permission plugin: LuckPerms5.2.76
[11:19:06] [Server thread/WARN]: org.bukkit.configuration.InvalidConfigurationException: unacceptable code point ' ' (0x0) special characters are not allowed
in "'string'", position 0
[11:19:06] [Server thread/WARN]:    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
[11:19:06] [Server thread/WARN]:    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.FileHandler.ConfigReader.getyml(ConfigReader.java:225)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.FileHandler.ConfigReader.<init>(ConfigReader.java:43)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.FileHandler.ConfigReader.<init>(ConfigReader.java:35)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.utils.CMIEncoder.initialize(CMIEncoder.java:27)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.CMI.onEnable(CMI.java:1441)
[11:19:06] [Server thread/WARN]:    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:19:06] [Server thread/WARN]:    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[11:19:06] [Server thread/WARN]:    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[11:19:06] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[11:19:06] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[11:19:06] [Server thread/WARN]:    at java.lang.Thread.run(Thread.java:748)
[11:19:06] [Server thread/WARN]: Caused by: unacceptable code point ' ' (0x0) special characters are not allowed
in "'string'", position 0
[11:19:06] [Server thread/WARN]:    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:67)
[11:19:06] [Server thread/WARN]:    at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:45)
[11:19:06] [Server thread/WARN]:    at org.yaml.snakeyaml.Yaml.load(Yaml.java:437)
[11:19:06] [Server thread/WARN]:    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
[11:19:06] [Server thread/WARN]:    ... 17 more
[11:19:06] [Server thread/INFO]:   Failed to load security.key! Backup have been saved into plugins\CMI\FileBackups\2022-12-16 11-19-06 security.key
[11:19:06] [Server thread/WARN]: org.bukkit.configuration.InvalidConfigurationException: unacceptable code point ' ' (0x0) special characters are not allowed
in "'string'", position 0
[11:19:06] [Server thread/WARN]:    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
[11:19:06] [Server thread/WARN]:    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.FileHandler.ConfigReader.getyml(ConfigReader.java:225)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.FileHandler.ConfigReader.<init>(ConfigReader.java:43)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.FileHandler.ConfigReader.<init>(ConfigReader.java:35)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.utils.CMIEncoder.initialize(CMIEncoder.java:27)
[11:19:06] [Server thread/WARN]:    at com.Zrips.CMI.CMI.onEnable(CMI.java:1441)
[11:19:06] [Server thread/WARN]:    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:19:06] [Server thread/WARN]:    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[11:19:06] [Server thread/WARN]:    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[11:19:06] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[11:19:06] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[11:19:06] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[11:19:06] [Server thread/WARN]:    at java.lang.Thread.run(Thread.java:748)
[11:19:06] [Server thread/WARN]: Caused by: unacceptable code point ' ' (0x0) special characters are not allowed
in "'string'", position 0
[11:19:06] [Server thread/WARN]:    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:67)
[11:19:06] [Server thread/WARN]:    at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:45)
[11:19:06] [Server thread/WARN]:    at org.yaml.snakeyaml.Yaml.load(Yaml.java:437)
[11:19:06] [Server thread/WARN]:    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
[11:19:06] [Server thread/WARN]:    ... 17 more
[11:19:06] [Server thread/INFO]:   Loaded (54) regular alias into memory. Took 28ms
[11:19:06] [Server thread/INFO]:   Loaded (1) custom text's into memory. Took 1ms
[11:19:06] [Server thread/INFO]:   3.21.0 data base type detected
[11:19:06] [Server thread/INFO]:   Started SqLite data base. Took 90ms
[11:19:06] [Server thread/INFO]:   Vault was not found, you will have limited economy support
[11:19:06] [Server thread/INFO]:   Loaded (2) holograms into memory. Took 14ms
[11:19:06] [Server thread/INFO]:   Loaded (5) warning categories into memory. Took 0ms
[11:19:06] [Server thread/INFO]:   Loaded (3) warning commands into memory. Took 0ms
[11:19:06] [Server thread/INFO]:   Loaded (95) custom mob heads into memory. Took 23ms
[11:19:06] [Server thread/INFO]:   Loaded (0) cooldowns into memory. Took 29ms
[11:19:06] [Server thread/INFO]:   Enabling BungeeCord Support
[11:19:06] [Server thread/INFO]:   Initializing BungeeCord
[11:19:06] [Server thread/INFO]:   Loaded (1) kits into memory. Took 30ms
[11:19:07] [Server thread/INFO]:   Loaded (7) ranks into memory. Took 16ms
[11:19:07] [Server thread/INFO]:   Loaded (8) playtime rewards into memory. Took 2ms
[11:19:07] [Server thread/INFO]:   
Attention! Found 3 duplicates in database. Same name, different UUID. This can cause some minor issues. Please remove one of them from database with /cmi removeuser [uuid] or /cmi removeuser duplicates 
DeadpoolRem c6872ef6-2f42-3f14-9de5-e3033d87b0d6 last seen: 180 天 6 小时 45 分钟 42 秒  
deadpoolRem 2fdf090c-7ee0-3f11-ab32-374373cc5ad6 last seen: 335 天 4 小时 56 分钟 44 秒  
DeadoolRem 17f631d1-92a8-3ddd-ae84-d3196b6a8bc5 last seen: 145 天 21 小时 29 分钟 49 秒  
Deadoolrem 5e0ab832-b545-3575-9e86-70ac31cda3f2 last seen: 180 天 6 小时 39 分钟 28 秒  
DeadoolRem 17f631d1-92a8-3ddd-ae84-d3196b6a8bc5 last seen: 145 天 21 小时 29 分钟 49 秒  
deadoolRem 8db95bfa-2531-3f30-9c45-6f66f4c2ce81 last seen: 180 天 6 小时 31 分钟 49 秒 
[11:19:07] [Server thread/INFO]:   Loaded (19599) player data into memory. Took 329ms
[11:19:07] [Server thread/INFO]:   Loaded (0) playtime records into memory. Took 0ms
[11:19:07] [Server thread/INFO]:   Loaded (0) playtime reward records into memory. Took 0ms
[11:19:07] [Server thread/INFO]:   Registered events. Took 236ms
[11:19:07] [Server thread/INFO]:   Loaded (0) event action commands into memory. Took 3ms
[11:19:07] [Server thread/INFO]:   Updated (EN) language file. Took 61ms
[11:19:07] [Server thread/INFO]:   Loaded (245) worth values into memory. Took 11ms
[11:19:07] [Server thread/INFO]:   PlaceholderAPI hooked.
[11:19:07] [Server thread/INFO]:   PlaceholderAPI was found - Enabling capabilities.
[11:19:07] [Server thread/INFO]:   Starting world timer.
[11:19:07] [Server thread/INFO]:   Initializing world manager.
[11:19:07] [Server thread/INFO]:   Loaded (5) schedules into memory. Took 11ms
[11:19:07] [Server thread/INFO]:   Loaded GeoIP
[11:19:07] [Server thread/INFO]:   Loaded (0) skin cache entries into memory. Took 0ms
[11:19:07] [Server thread/INFO]:   Version 8.8.2.10 has been enabled
[11:19:07] [Server thread/INFO]: ???????????????????????????????????????????????????????
[11:19:07] [Server thread/INFO]: [AuthMe] Hooked successfully into CMI
[11:19:07] [Server thread/INFO]: [TrMenu] Enabling TrMenu v2.08
[11:19:07] [Server thread/INFO]:   ___________         _____                        ________
[11:19:07] [Server thread/INFO]:     \__    ___/______  /     \   ____   ____  __ __  \_____  \
[11:19:07] [Server thread/INFO]:     |    |  \_  __ \/  \ /  \_/ __ \ /    \|  |  \  /  ____/
[11:19:07] [Server thread/INFO]:     |    |   |  | \/    Y    \  ___/|   |  \  |  / /       \
[11:19:07] [Server thread/INFO]:     |____|   |__|  \____|__  /\___  >___|  /____/  \_______ \
[11:19:07] [Server thread/INFO]:     \/     \/     \/                \/
[11:19:07] [Server thread/INFO]:                                                       
[11:19:07] [Server thread/INFO]: 
[11:19:07] [Server thread/INFO]: Loading TrMenu Premium... v1_12_R1
[11:19:07] [Server thread/INFO]: 
[11:19:07] [Server thread/INFO]: [TrMenu][INFO] 插件 TabooLib 注册新的连接池: jdbc:sqlite:plugins\TabooLib\playerdata\v2\data.db
[11:19:07] [Server thread/INFO]: [BungeeTabListPlus] Enabling BungeeTabListPlus v3.4.4
[11:19:07] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[11:19:08] [Server thread/INFO]: Done (6.896s)! For help, type "help" or "?"
[11:19:10] [Craft Scheduler Thread - 5/INFO]: [MiraiMC] Checking update...
[11:19:10] [Craft Scheduler Thread - 4/INFO]: [MiraiMC] [AutoLogin] Starting auto login task.
[11:19:10] [Craft Scheduler Thread - 5/INFO]: [MiraiMC] You are using the latest version!
[11:19:10] [Craft Scheduler Thread - 4/INFO]: [MiraiMC] [AutoLogin] Auto login bot account: 1311047142 Protocol: ANDROID_PHONE
[11:19:10] [Server thread/INFO]:    <密语仙林公告>                                                                                                                                                                                                                         打开 时钟 或者右键 NPC 选择区服
[11:19:10] [Server thread/INFO]: [TitleBroadCast] 正在推送公告..完成,耗时:3.0 ms
[11:19:10] [Craft Scheduler Thread - 4/INFO]: [MiraiMC] 登录新的机器人账号: 1322337142, 协议: ANDROID_PHONE
[11:19:10] [Craft Scheduler Thread - 7/INFO]: [AuthMe] Downloading GEO IP database, because the old database is older than 30 days or doesn't exist
[11:19:10] [Craft Scheduler Thread - 6/WARN]: [AuthMe] YOU'RE USING THE SQLITE DATABASE WITH 17866+ ACCOUNTS; FOR BETTER PERFORMANCE, PLEASE UPGRADE TO MYSQL!!
[11:19:10] [Craft Scheduler Thread - 7/WARN]: [AuthMe] No MaxMind credentials found in the configuration file! GeoIp protections will be disabled.
[11:19:10] [Craft Scheduler Thread - 7/INFO]: [AuthMe] There is no newer GEO IP database uploaded to MaxMind. Using the old one for now.
[11:19:10] [Craft Scheduler Thread - 7/WARN]: [AuthMe] Could not download GeoLiteAPI database [FileNotFoundException]: plugins\AuthMe\GeoLite2-Country.mmdb (系统找不到指定的文件。)
[11:19:10] [Craft Scheduler Thread - 4/WARN]: [MiraiMC] Plugin MiraiMC v1.7.1 generated an exception while executing task 27
java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated
    at java.util.ServiceLoader.fail(ServiceLoader.java:232) ~[?:1.8.0_301]
    at java.util.ServiceLoader.access$100(ServiceLoader.java:185) ~[?:1.8.0_301]
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) ~[?:1.8.0_301]
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[?:1.8.0_301]
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[?:1.8.0_301]
    at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:240) ~[org.kotlinlang-kotlin-stdlib-1.4.20.jar:1.4.20-release-308 (1.4.20)]
    at net.mamoe.mirai.utils.ServicesKt.loadService(Services.kt:18) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:348) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:39) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.BotFactory$INSTANCE.newBot(BotFactory.kt:120) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at me.dreamvoid.miraimc.api.MiraiBot.login(MiraiBot.java:330) ~[MiraiMC-Bukkit.jar:?]
    at me.dreamvoid.miraimc.api.MiraiBot.doBotLogin(MiraiBot.java:132) ~[MiraiMC-Bukkit.jar:?]
    at me.dreamvoid.miraimc.api.MiraiBot.doBotLogin(MiraiBot.java:173) ~[MiraiMC-Bukkit.jar:?]
    at me.dreamvoid.miraimc.bukkit.MiraiAutoLogin.lambda$doStartUpAutoLogin$0(MiraiAutoLogin.java:80) ~[MiraiMC-Bukkit.jar:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-f4830a1]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.12.2.jar:git-Spigot-79a30d7-f4830a1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_301]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_301]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_301]
Caused by: java.lang.NoSuchMethodError: kotlin.text.CharsKt.digitToInt(CI)I
    at net.mamoe.mirai.utils.MiraiUtils__ConversionsKt.parseFromHexChunk(Conversions.kt:201) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.utils.MiraiUtils.parseFromHexChunk(Unknown Source) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.utils.MiraiUtils__ConversionsKt.hexToBytes(Conversions.kt:187) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.utils.MiraiUtils.hexToBytes(Unknown Source) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.message.protocol.encode.MessageEncoderPipelineImpl.<clinit>(MessageEncoderPipeline.kt:83) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacadeImpl.<init>(MessageProtocolFacade.kt:197) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacadeImpl.<init>(MessageProtocolFacade.kt:193) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacade$INSTANCE.<init>(MessageProtocolFacade.kt:162) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacade$INSTANCE.<clinit>(MessageProtocolFacade.kt) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacade.<clinit>(MessageProtocolFacade.kt) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.MiraiImplKt._MiraiImpl_static_init(MiraiImpl.kt:25) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at net.mamoe.mirai.internal.MiraiImpl.<clinit>(MiraiImpl.kt:94) ~[mirai-core-all-2.13.2.jar:2.13.2]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_301]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_301]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_301]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_301]
    at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_301]
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ~[?:1.8.0_301]
    ... 17 more
[11:19:10] [Server thread/INFO]: [TrMenu] HOOK | Soft-Dependencies detected! Hooking into LuckPerms.
[11:19:10] [Server thread/INFO]: [TrMenu] HOOK | Soft-Dependencies detected! Hooking into CMI.
[11:19:10] [Server thread/INFO]: [TrMenu] INFO | Plugin loaded! Currently running version 2.08.
[11:19:10] [Server thread/INFO]: [TrMenu] SUCCESS | 1 menus were loaded (9 ms)
[11:19:10] [Server thread/INFO]: [Citizens] Loaded 2 NPCs.
[11:19:11] [Craft Scheduler Thread - 0/INFO]: [PlaceholderAPI] 190 placeholder expansions are available on the cloud.
[11:19:11] [Craft Scheduler Thread - 0/INFO]: [PlaceholderAPI] 6 installed expansions have updates available.
[11:19:11] [Craft Scheduler Thread - 0/INFO]: [MiraiMC] ========== [ MiraiMC 公告版 ] ==========
[11:19:11] [Craft Scheduler Thread - 0/INFO]: [MiraiMC] 1.7.1 已适配 mirai 2.12.0 及以上版本,
[11:19:11] [Craft Scheduler Thread - 0/INFO]: [MiraiMC] 请及时更新使用。
[11:19:11] [Craft Scheduler Thread - 0/INFO]: [MiraiMC] =======================================

额外说明

协议

DreamVoid commented 1 year ago

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

Unmeldy commented 1 year ago

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

整个配置文件以及插件都是复制过去的 还有这个问题的嘛 要不看下报错?

DreamVoid commented 1 year ago

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

整个配置文件以及插件都是复制过去的 还有这个问题的嘛 要不看下报错?

确认 /plugins/MiraiMC 目录具有普通用户读取和写入的权限,或者让 java 进程以管理员权限运行

Unmeldy commented 1 year ago

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

整个配置文件以及插件都是复制过去的 还有这个问题的嘛 要不看下报错?

确认 /plugins/MiraiMC 目录具有普通用户读取和写入的权限,或者让 java 进程以管理员权限运行

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

整个配置文件以及插件都是复制过去的 还有这个问题的嘛 要不看下报错?

确认 /plugins/MiraiMC 目录具有普通用户读取和写入的权限,或者让 java 进程以管理员权限运行

是有权限的

Unmeldy commented 1 year ago

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

整个配置文件以及插件都是复制过去的 还有这个问题的嘛 要不看下报错?

确认 /plugins/MiraiMC 目录具有普通用户读取和写入的权限,或者让 java 进程以管理员权限运行

好像是插件冲突 我排查一下

Unmeldy commented 1 year ago

无法复现,请自行检查 MiraiMC 工作目录有读写权限。

整个配置文件以及插件都是复制过去的 还有这个问题的嘛 要不看下报错?

确认 /plugins/MiraiMC 目录具有普通用户读取和写入的权限,或者让 java 进程以管理员权限运行

已经发现了 是我使用的旧版本Trmenu导致的不正常加载 占用了您的时间十分抱歉 另外感谢解答