amsam0 / voicechat-discord

A mod and plugin to make a bridge between Simple Voice Chat and Discord to allow for players without the mod to hear and speak.
https://modrinth.com/mod/simple-voice-chat-discord-bridge
MIT License
24 stars 7 forks source link

Ошибка при включении плагина #41

Closed Dani4eks closed 8 months ago

Dani4eks commented 8 months ago

Когда запускаеться сервер на Paper 1.20.4 с Simple Voice chat 2.5.9 Когда в config 1 бот все работает но я добавил 2 бота и выдает ошибку

`[18:23:17 ERROR]: Error occurred while enabling voicechat-discord v2.1.1 (Is it up to date?) java.lang.RuntimeException: dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.configuration.InvalidConfigurationException: expected '', but found '' in 'reader', line 37, column 1: alert_ops_of_updates: true ^

    at dev.naturecodevoid.voicechatdiscord.Core.loadConfig(Core.java:60) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.Core.enable(Core.java:36) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.PaperPlugin.onEnable(PaperPlugin.java:62) ~[voicechat-discord-paper-2.1.1.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[paper-1.20.4.jar:git-Paper-450]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper-450]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.4.jar:git-Paper-450]
    at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.4.jar:git-Paper-450]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:671) ~[paper-1.20.4.jar:git-Paper-450]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.20.4.jar:git-Paper-450]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:309) ~[paper-1.20.4.jar:git-Paper-450]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[paper-1.20.4.jar:git-Paper-450]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-450]
    at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Caused by: dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.configuration.InvalidConfigurationException: expected '', but found '' in 'reader', line 37, column 1: alert_ops_of_updates: true ^

    at dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:175) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.file.FileConfiguration.load(FileConfiguration.java:157) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.file.FileConfiguration.load(FileConfiguration.java:176) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.Core.loadConfig(Core.java:56) ~[voicechat-discord-paper-2.1.1.jar:?]
    ... 14 more

Caused by: dev.naturecodevoid.voicechatdiscord.shadow.snakeyaml.parser.ParserException: expected '', but found '' in 'reader', line 37, column 1: alert_ops_of_updates: true ^

    at dev.naturecodevoid.voicechatdiscord.shadow.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:251) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:162) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:152) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.snakeyaml.composer.Composer.getSingleNode(Composer.java:160) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.snakeyaml.Yaml.compose(Yaml.java:575) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:168) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.file.FileConfiguration.load(FileConfiguration.java:157) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.shadow.yamlconfiguration.file.FileConfiguration.load(FileConfiguration.java:176) ~[voicechat-discord-paper-2.1.1.jar:?]
    at dev.naturecodevoid.voicechatdiscord.Core.loadConfig(Core.java:56) ~[voicechat-discord-paper-2.1.1.jar:?]
    ... 14 more

[18:23:17 INFO]: [voicechat-discord] Disabling voicechat-discord v2.1.1 [18:23:18 INFO]: [voicechat-discord] Shutting down 0 bots [18:23:18 INFO]: [voicechat-discord] Successfully shutdown 0 bots [18:23:18 INFO]: [voicechat-discord] Successfully unregistered voicechat discord plugin [18:23:18 INFO]: [GSit] Enabling GSit v1.8.0 [18:23:19 INFO]: [GSit] Плагин был включен. [18:23:19 INFO]: [BlockDisplayer] Enabling BlockDisplayer v1.4-SNAPSHOT [18:23:20 INFO]: [BlockDisplayer] Enabled! [18:23:20 INFO]: [DebugStickCraftingInSurvival] Enabling DebugStickCraftingInSurvival v1.19 [18:23:20 INFO]: [COMPOSTER, CACTUS, KELP, SUGAR_CANE, GRASS_BLOCK, ACACIA_LEAVES, AZALEA_LEAVES, BIRCH_LEAVES, DARK_OAK_LEAVES, FLOWERING_AZALEA_LEAVES, JUNGLE_LEAVES, MANGROVE_LEAVES, OAK_LEAVES, SPRUCE_LEAVES, BIG_DRIPLEAF, BIG_DRIPLEAF_STEM, CHORUS_FLOWER, CHORUS_FRUIT, CHORUS_PLANT, SEA_PICKLE, RESPAWN_ANCHOR, TRIPWIRE_HOOK, TURTLE_EGG, BEE_NEST, BEEHIVE, CAKE, SWEET_BERRY_BUSH, BEETROOT_SEEDS, MELON_SEEDS, PUMPKIN_SEEDS, WHEAT_SEEDS, CHEST, END_PORTAL_FRAME, END_PORTAL, PISTON, PISTON_HEAD, SNOW, SCULK_SENSOR, SCULK_SCHRIEKER, ACACIA_SLAB, ANDESITE_SLAB, BIRCH_SLAB, BLACKSTONE_SLAB, BRICK_SLAB, COBBLED_DEEPSLATE_SLAB, COBBLESTONE_SLAB, CRIMSON_SLAB, CUT_COPPER_SLAB, CUT_RED_SANDSTONE_SLAB, CUT_SANDSTONE_SLAB, DARK_OAK_SLAB, DARK_PRISMARINE_SLAB, DEEPSLATE_TITLE_SLAB, DIORITE_SLAB, END_STONE_BRICK_SLAB, EXPOSED_CUT_COPPER_SLAB, GRANITE_SLAB, JUNGLE_SLAB, MANGROVE_SLAB, MOSSY_STONE_BRICK_SLAB, MUD_BRICK_SLAB, NETHER_BRICK_SLAB, OAK_SLAB, OXIDIZED_CUT_COPPER_SLAB, PETRIFIED_OAK_SLAB, POLISHED_ANDESITE_SLAB, POLISHED_BLACKSTONE_BRICK_SLAB, POLISHED_BLACKSTONE_SLAB, POLISHED_DEEPSLATE_SLAB, POLISHED_DIORITE_SLAB, PRISMARINE_BRICK_SLAB, PRISMARINE_SLAB, PURPUR_SLAB, QUARTZ_SLAB, RED_NETHER_BRICK_SLAB, RED_SANDSTONE_SLAB, SANDSTONE_SLAB, SMOOTH_QUARTZ_SLAB, SMOOTH_RED_SANDSTONE_SLAB, SMOOTH_STONE_SLAB, SPRUCE_SLAB, STONE_BRICK_SLAB, STONE_SLAB, WARPED_SLAB, WAXED_CUT_COPPER_SLAB, WAXED_EXPOSED_CUT_COPPER_SLAB, WAXED_OXIDIZED_CUT_COPPER_SLAB, WAXED_WEATHERED_CUT_COPPER_SLAB, WEATHERED_CUT_COPPER_SLAB] [18:23:20 INFO]: [MultiWorld] Enabling MultiWorld v5.2.8* [18:23:21 INFO]: [MultiWorld] v5.2.8 enabled. 18:23:22 INFO: [Geyser-Spigot] **

18:23:22 INFO: [Geyser-Spigot] Loading Geyser version 2.2.2-SNAPSHOT (git-master-e1e09a6)

18:23:22 INFO: [Geyser-Spigot] ** [18:23:37 INFO]: [Geyser-Spigot] Started Geyser on 0.0.0.0:26514 [18:23:37 INFO]: [Geyser-Spigot] Done (15.583s)! Run /geyser help for help! 18:23:38 INFO: Running delayed init tasks

18:23:38 INFO: Timings Reset 18:23:38 INFO: [voicechat] Loading plugins 18:23:38 INFO: [voicechat] Loaded 1 plugin(s) 18:23:38 INFO: [voicechat] Initializing plugins [18:23:38 ERROR]: [voicechat] Failed to initialize plugin 'voicechat-discord' java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:846) ~[?:?] at java.util.zip.ZipFile.getEntry(ZipFile.java:338) ~[?:?] at java.util.jar.JarFile.getEntry(JarFile.java:516) ~[?:?] at java.util.jar.JarFile.getJarEntry(JarFile.java:471) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:593) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:169) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?] at dev.naturecodevoid.voicechatdiscord.VoicechatPlugin.initialize(VoicechatPlugin.java:19) ~[voicechat-discord-paper-2.1.1.jar:?] at de.maxhenkel.voicechat.plugins.PluginManager.init(PluginManager.java:40) ~[voicechat-bukkit-2.5.9.jar:?] at de.maxhenkel.voicechat.Voicechat.lambda$onEnable$0(Voicechat.java:128) ~[voicechat-bukkit-2.5.9.jar:?] at de.maxhenkel.voicechat.compatibility.BaseCompatibility.lambda$runTask$0(BaseCompatibility.java:32) ~[voicechat-bukkit-2.5.9.jar:?] at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler$GlobalScheduledTask.run(FoliaGlobalRegionScheduler.java:179) ~[paper-1.20.4.jar:?] at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.tick(FoliaGlobalRegionScheduler.java:37) ~[paper-1.20.4.jar:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1639) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1515) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-450] at java.lang.Thread.run(Thread.java:1583) ~?:?: [voicechat] Initialized 1 plugin(s) 18:23:38 INFO: [voicechat] Registering events for 'voicechat-discord' [18:23:38 ERROR]: [voicechat] Failed to register events for 'voicechat-discord' java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:846) ~[?:?] at java.util.zip.ZipFile.getEntry(ZipFile.java:338) ~[?:?] at java.util.jar.JarFile.getEntry(JarFile.java:516) ~[?:?] at java.util.jar.JarFile.getJarEntry(JarFile.java:471) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:593) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:169) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?] at dev.naturecodevoid.voicechatdiscord.VoicechatPlugin.registerEvents(VoicechatPlugin.java:25) ~[voicechat-discord-paper-2.1.1.jar:?] at de.maxhenkel.voicechat.plugins.PluginManager.gatherEvents(PluginManager.java:56) ~[voicechat-bukkit-2.5.9.jar:?] at de.maxhenkel.voicechat.plugins.PluginManager.init(PluginManager.java:46) ~[voicechat-bukkit-2.5.9.jar:?] at de.maxhenkel.voicechat.Voicechat.lambda$onEnable$0(Voicechat.java:128) ~[voicechat-bukkit-2.5.9.jar:?] at de.maxhenkel.voicechat.compatibility.BaseCompatibility.lambda$runTask$0(BaseCompatibility.java:32) ~[voicechat-bukkit-2.5.9.jar:?] at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler$GlobalScheduledTask.run(FoliaGlobalRegionScheduler.java:179) ~[paper-1.20.4.jar:?] at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.tick(FoliaGlobalRegionScheduler.java:37) ~[paper-1.20.4.jar:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1639) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1515) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-450] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-450] at java.lang.Thread.run(Thread.java:1583) ~?:?: [voicechat] Using server-ip as bind address: 0.0.0.0 18:23:38 INFO: [voicechat] Voice chat server started at 0.0.0.0:26030 18:23:38 INFO: [DiscordSRV] Cleared all pre-existing slash commands in 1/1 guilds (0 cancelled) [18:23:41 WARN]: Can't keep up! Is the server overloaded? Running 2534ms or 50 ticks behind``

Что делать если мне вобще нужно 10 ботов

amsam0 commented 8 months ago

Could you translate to english?