lenis0012 / LoginSecurity

Lightweight and secure user authentication for Bukkit Minecraft servers
https://www.spigotmc.org/resources/loginsecurity.19362/
Apache License 2.0
100 stars 85 forks source link

The player did not prompt to log in when entering the game #330

Open aiyaodada opened 8 months ago

aiyaodada commented 8 months ago

Hello, I am a Minecraft server owner from China. Today, I found out that I can enter the game without logging in. At first, I thought there was a version issue. I switched to 3.3.0 and then reloaded the plugin, but I still don't need to log in. I didn't link to the database, so it shouldn't be a database issue. When I entered the game, I didn't prompt to log in. I entered the/login password, which prompted An internal error occurred while attacking to perform this command

aiyaodada commented 8 months ago

Now enter the/lac command and report An internal error occurred while attaching to perform this command In the log, there are [10:04:10] [Server thread/INFO]: [LoginSecurity] Enabling LoginSecurity v3.3.0 [10:04:10] [Server thread/INFO]: [LoginSecurity] Loading base translations from "en_us" [10:04:10] [Server thread/INFO]: [LoginSecurity] Loading specified translations from "en_us" [10:04:10] [Server thread/INFO]: [LoginSecurity] Registering commands... [10:04:10] [Server thread/INFO]: [LoginSecurity] Registering listeners... [10:04:10] [Server thread/ERROR]: Error occurred while enabling LoginSecurity v3.3.0 (Is it up to date?) java.lang.IllegalStateException: No updater implementation found at com.lenis0012.bukkit.loginsecurity.libs.pluginutils.updater.UpdaterFactory.lambda$provideBest$2(UpdaterFactory.java:29) ~[?:?] at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_312] at com.lenis0012.bukkit.loginsecurity.libs.pluginutils.updater.UpdaterFactory.provideBest(UpdaterFactory.java:29) ~[?:?] at com.lenis0012.bukkit.loginsecurity.modules.general.GeneralModule.setupUpdater(GeneralModule.java:61) ~[?:?] at com.lenis0012.bukkit.loginsecurity.modules.general.GeneralModule.enable(GeneralModule.java:32) ~[?:?] at com.lenis0012.bukkit.loginsecurity.libs.pluginutils.modules.ModuleRegistry.enableModule(ModuleRegistry.java:82) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:1.8.0_312] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_312] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_312] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_312] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_312] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_312] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:1.8.0_312] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:1.8.0_312] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_312] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) ~[?:1.8.0_312] at com.lenis0012.bukkit.loginsecurity.libs.pluginutils.modules.ModuleRegistry.enableModules(ModuleRegistry.java:59) ~[?:?] at com.lenis0012.bukkit.loginsecurity.libs.pluginutils.modules.ModularPlugin.onEnable(ModularPlugin.java:28) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[1.12.jar:git-Paper-1604] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[1.12.jar:git-Paper-1604] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[1.12.jar:git-Paper-1604] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[1.12.jar:git-Paper-1604] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[1.12.jar:git-Paper-1604] at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[1.12.jar:git-Paper-1604] at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[1.12.jar:git-Paper-1604] at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[1.12.jar:git-Paper-1604] at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[1.12.jar:git-Paper-1604] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[1.12.jar:git-Paper-1604] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312] [10:04:10] [Server thread/INFO]: [LoginSecurity] Disabling LoginSecurity v3.3.0 [10:04:10] [Server thread/INFO]: [LoginSecurity] Waiting for queued tasks... [10:04:10] [Server thread/INFO]: [LoginSecurity] ExecutorService shut down, ready to disable.

jfoucher commented 8 months ago

I get the same No updater implementation found after compiling from source

DrRek commented 4 months ago

disable the auto updater in the config