tanyaofei / minecraft-fakeplayer

A plugin for minecraft server to spawn fake players, inspired by Carpet Mod
Apache License 2.0
111 stars 13 forks source link

Fakeplayer无法在1.21上运行 #43

Closed Chaostarts closed 4 months ago

Chaostarts commented 5 months ago

使用Leaves1.21 [14:44:35] [Server thread/INFO]: Server Plugins (4): [14:44:35] [Server thread/INFO]: Bukkit Plugins: [14:44:35] [Server thread/INFO]: - CommandAPI, fakeplayer, PlaceholderAPI, ProtocolLib

[14:44:14] [Server thread/INFO]: [fakeplayer] Loading server plugin fakeplayer v0.3.2 [14:44:14] [Server thread/ERROR]: [fakeplayer] Error initializing plugin 'fakeplayer-0.3.2 (1).jar' in folder 'plugins\.paper-remapped' (Is it up to date?) java.util.ServiceConfigurationError: io.github.hello09x.fakeplayer.api.spi.NMSBridge: Provider io.github.hello09x.fakeplayer.v1_20_R1.spi.NMSBridgeImpl not found at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:589) ~[?:?] at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1215) ~[?:?] at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1224) ~[?:?] at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1269) ~[?:?] at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1305) ~[?:?] at java.base/java.util.ServiceLoader$ProviderSpliterator.tryAdvance(ServiceLoader.java:1485) ~[?:?] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:144) ~[?:?] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:574) ~[?:?] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:560) ~[?:?] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546) ~[?:?] at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) ~[?:?] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265) ~[?:?] at java.base/java.util.stream.ReferencePipeline.findAny(ReferencePipeline.java:667) ~[?:?] at fakeplayer-0.3.2 (1).jar/io.github.hello09x.fakeplayer.api.spi.NMSBridge.getInstance(NMSBridge.java:21) ~[fakeplayer-0.3.2 (1).jar:?] at fakeplayer-0.3.2 (1).jar/io.github.hello09x.fakeplayer.core.Main.onLoad(Main.java:32) ~[fakeplayer-0.3.2 (1).jar:?] at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59) ~[leaves-1.21.jar:1.21-4-76eb988] at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18) ~[leaves-1.21.jar:1.21-4-76eb988] at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[leaves-1.21.jar:1.21-4-76eb988] at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[leaves-1.21.jar:1.21-4-76eb988] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:539) ~[leaves-1.21.jar:1.21-4-76eb988] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:294) ~[leaves-1.21.jar:1.21-4-76eb988] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1218) ~[leaves-1.21.jar:1.21-4-76eb988] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:324) ~[leaves-1.21.jar:1.21-4-76eb988] at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]

tanyaofei commented 4 months ago

0.3.2 合代码的时候出现问题,更新到 0.3.3 吧 https://github.com/tanyaofei/minecraft-fakeplayer/releases/tag/0.3.3