kyngs / librelogin Goto Github PK
View Code? Open in Web Editor NEWOpen-source, multiplatform, and highly customizable authentication plugin with outstanding features and API.
License: Mozilla Public License 2.0
Open-source, multiplatform, and highly customizable authentication plugin with outstanding features and API.
License: Mozilla Public License 2.0
I just installed LibreLogin on my server. The plugin failed to initialize for some reason, looking like logging. LibreLogin did not generate a config folder, so there is neither a config nor a database.
Plugins:
ActionHealth, Chunky, ChunkyBorder, CoreProtect, CraftBook, CrossplatForms, DeadChest, Essentials, EssentialsChat, EssentialsGeoIP, floodgate, FreedomChat, Geyser-Spigot, GeyserSkinManager, *LibreLogin, LuckPerms, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, Multiverse-Portals, Multiverse-SignPortals, Pl3xMap, PlaceholderAPI, ProtocolLib, PurpurExtras, SchematicUpload, SimpleSkills, spark, Terra, Vault, ViaBackwards, ViaVersion, WorldEdit, WorldEditSelectionVisualizer, xaero-map-spigot
Thank you for any help received.
my personal reason is there is a cracked player called a
in my server and its annoy me
i would like to set the minimum to 5 when registering
also, a regex could be useful too for extended purpose (limiting what character allowed, symbols etc)
Please restrict the number of same IP registrations to simply restrict unnecessary account registrations.
The config in the proxy writen like 'Relogin: 3' and 'Regreg: 3' ?
Commands should be made regarding registrations and their removal.
Example:
/libre register [username] [password] (for force registracion)
/libre unregister [username] (For registracion remove, because, now we need to open the database and remove accounts by hand)
and ect.
Does the plugin have waterfall support? I start it in waterfall and it bugs and doesn't let you enter why not today servers available help?
I have my own launcher auth server
Version: Paper 1.19.4-511
Console output:
[01:23:39 ERROR]: [LibreLogin] Unhandled exception occurred in onAsyncPacket() for LibreLogin
java.lang.IllegalAccessError: class xyz.kyngs.librelogin.paper.PaperListeners tried to access private method 'boolean com.comphenix.protocol.utility.MinecraftVersion.atOrAbove(com.comphenix.protocol.utility.MinecraftVersion)' (xyz.kyngs.librelogin.paper.PaperListeners is in unnamed module of loader 'LibreLogin.jar' @3036eba8; com.comphenix.protocol.utility.MinecraftVersion is in unnamed module of loader 'ProtocolLib.jar' @6895cb41)
at xyz.kyngs.librelogin.paper.PaperListeners.onPacketReceive(PaperListeners.java:208) ~[LibreLogin.jar:?]
at xyz.kyngs.librelogin.paper.protocollib.ProtocolListener.onPacketReceiving(ProtocolListener.java:38) ~[LibreLogin.jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.processPacket(AsyncListenerHandler.java:625) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.listenerLoop(AsyncListenerHandler.java:579) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.access$100(AsyncListenerHandler.java:48) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler$1.run(AsyncListenerHandler.java:223) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.async.AsyncListenerHandler.lambda$start$1(AsyncListenerHandler.java:292) ~[ProtocolLib.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-511]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.4.jar:git-Paper-511]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
[01:23:39 ERROR]: Could not pass event AsyncPlayerPreLoginEvent to LibreLogin v0.14.1
java.lang.NullPointerException: Cannot invoke "xyz.kyngs.librelogin.api.database.User.getUuid()" because "profile" is null
at xyz.kyngs.librelogin.paper.PaperListeners.onPreLogin(PaperListeners.java:144) ~[LibreLogin.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor41.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:git-Paper-511]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.19.4.jar:git-Paper-511]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.19.4.jar:git-Paper-511]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl$LoginHandler.fireEvents(ServerLoginPacketListenerImpl.java:392) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl$1.run(ServerLoginPacketListenerImpl.java:277) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
[01:23:39 INFO]: UUID of player DubLex3 is 51e92846-8388-3d0a-8b68-5d801e456686
[01:23:39 ERROR]: [LibreLogin] AN IO OPERATION IS BEING PERFORMED ON THE MAIN THREAD! THIS IS A SERIOUS BUG!, PLEASE REPORT IT TO THE DEVELOPER OF THE PLUGIN AND ATTACH THE STACKTRACE BELOW!
[01:23:39 WARN]: java.lang.Throwable
[01:23:39 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.AuthenticLibreLogin.reportMainThread(AuthenticLibreLogin.java:802)
[01:23:39 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.database.provider.LibreLoginSQLDatabaseProvider.getByUUID(LibreLoginSQLDatabaseProvider.java:93)
[01:23:39 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.listener.AuthenticListeners.chooseServer(AuthenticListeners.java:224)
[01:23:39 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperListeners.chooseWorld(PaperListeners.java:151)
[01:23:39 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor38.execute(Unknown Source)
[01:23:39 WARN]: at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
[01:23:39 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81)
[01:23:39 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[01:23:39 WARN]: at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[01:23:39 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126)
[01:23:39 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615)
[01:23:39 WARN]: at net.minecraft.server.players.PlayerList.a(PlayerList.java:255)
[01:23:39 WARN]: at net.minecraft.server.network.LoginListener.a(LoginListener.java:202)
[01:23:39 WARN]: at net.minecraft.server.network.LoginListener.d(LoginListener.java:183)
[01:23:39 WARN]: at net.minecraft.server.network.LoginListener.c(LoginListener.java:85)
[01:23:39 WARN]: at net.minecraft.network.NetworkManager.a(NetworkManager.java:592)
[01:23:39 WARN]: at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:234)
[01:23:39 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1576)
[01:23:39 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[01:23:39 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397)
[01:23:39 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[01:23:39 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[01:23:39 WARN]: at java.base/java.lang.Thread.run(Thread.java:1589)
[01:23:39 ERROR]: Could not pass event PlayerInitialSpawnEvent to LibreLogin v0.14.1
java.lang.NullPointerException: Cannot invoke "xyz.kyngs.librelogin.api.database.User.autoLoginEnabled()" because "user" is null
at xyz.kyngs.librelogin.common.listener.AuthenticListeners.chooseServer(AuthenticListeners.java:231) ~[LibreLogin.jar:?]
at xyz.kyngs.librelogin.paper.PaperListeners.chooseWorld(PaperListeners.java:151) ~[LibreLogin.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor38.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:git-Paper-511]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.19.4.jar:git-Paper-511]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.19.4.jar:git-Paper-511]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:255) ~[paper-1.19.4.jar:git-Paper-511]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:202) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:183) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:592) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:234) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1576) ~[paper-1.19.4.jar:git-Paper-511]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.19.4.jar:git-Paper-511]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.4.jar:git-Paper-511]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.19.4.jar:git-Paper-511]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-511]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
[01:23:40 INFO]: DubLex3 lost connection: Internal error, please try again later.
[01:23:40 INFO]: [voicechat] Disconnecting client DubLex3
[01:23:40 INFO]: DubLex3 left the game
Hi!
I was wondering if you will add floodgate support in order to let Bedrock players join the server. Jpremium had this feature, we can't move to a new plugin without this support.
add a configurable prefix for crack players
check player with mojang/microsoft auth first and if given a 403 or a reject error code then mark player as crack
When we run the commands:
/librepremium reload configuration
/librepremium reload messages
from the console, an error appears that we are not a player. This could be fixed to allow reloading the different configurations from the console.
Error obtained :
[10:39:34 INFO]: librepremium reload configuration
[10:39:34 ERROR]: java.lang.ClassCastException: class net.md_5.bungee.command.ConsoleCommandSender cannot be cast to class net.md_5.bungee.api.connection.ProxiedPlayer (net.md_5.bungee.command.ConsoleCommandSender and net.md_5.bungee.api.connection.ProxiedPlayer are in unnamed module of loader 'app')
[10:39:34 ERROR]: at xyz.kyngs.librepremium.bungeecord.BungeeCordLibrePremium.getPlayerFromIssuer(BungeeCordLibrePremium.java:150)
[10:39:34 ERROR]: at xyz.kyngs.librepremium.bungeecord.BungeeCordLibrePremium.getPlayerFromIssuer(BungeeCordLibrePremium.java:35)
[10:39:34 ERROR]: at xyz.kyngs.librepremium.common.command.CommandProvider.lambda$new$1(CommandProvider.java:71)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.RegisteredCommand.resolveContexts(RegisteredCommand.java:290)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.RegisteredCommand.resolveContexts(RegisteredCommand.java:212)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.RegisteredCommand.invoke(RegisteredCommand.java:149)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.BaseCommand.executeCommand(BaseCommand.java:577)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.BaseCommand.execute(BaseCommand.java:513)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.RootCommand.execute(RootCommand.java:99)
[10:39:34 ERROR]: at xyz.librepremium.lib.acf.commands.BungeeRootCommand.execute(BungeeRootCommand.java:83)
[10:39:34 ERROR]: at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:212)
[10:39:34 ERROR]: at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:163)
[10:39:34 ERROR]: at io.github.waterfallmc.waterfall.console.WaterfallConsole.runCommand(WaterfallConsole.java:30)
[10:39:34 ERROR]: at net.minecrell.terminalconsole.SimpleTerminalConsole.processInput(SimpleTerminalConsole.java:87)
[10:39:34 ERROR]: at net.minecrell.terminalconsole.SimpleTerminalConsole.readCommands(SimpleTerminalConsole.java:168)
[10:39:34 ERROR]: at net.minecrell.terminalconsole.SimpleTerminalConsole.start(SimpleTerminalConsole.java:141)
[10:39:34 ERROR]: at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:72)
[10:39:34 ERROR]: at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
During the last failure of Mojang's authorization servers, when I tried to enter the server, the "uuid premium" value in the database became null, so when I tried to enter the server the next day, the plugin asked me to log in using /login command (even though I am premium player).
This probably happened after many attempts to enter the Velocity server as I was previously kicked out because the (Mojang) servers are down.
Hello, I want to know how you judge whether the player is a genuine player
I'm a novice and can't understand your code
I believe that one should be able to setup Forced Hosts for the pass-through servers, similarly to in Velocity config.
I run multiple servers accessed by URLs, but I can't currently do that while using this plugin.
This would involve being able to override the passthrough list in the config based on what domain the user is connecting from.
Add a buckkit plugin
Conduct chat, command, movement, destruction, etc. that restrict players
[18:35:03 ERROR] [LibrePremium]: Encountered an exception while communicating with the Mojang API!
[18:35:03 ERROR]: xyz.kyngs.librepremium.api.premium.PremiumException: java.net.ConnectException: ่ฟๆฅ่ถ
ๆถ
[18:35:03 ERROR]: at xyz.kyngs.librepremium.common.premium.AuthenticPremiumProvider.getUserFromMojang(AuthenticPremiumProvider.java:125)
[18:35:03 ERROR]: at xyz.kyngs.librepremium.common.premium.AuthenticPremiumProvider.lambda$getUserForName$0(AuthenticPremiumProvider.java:49)
[18:35:03 ERROR]: at xyz.librepremium.lib.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$13(BoundedLocalCache.java:2550)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
[18:35:03 ERROR]: at xyz.librepremium.lib.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2548)
[18:35:03 ERROR]: at xyz.librepremium.lib.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2531)
[18:35:03 ERROR]: at xyz.librepremium.lib.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:110)
[18:35:03 ERROR]: at xyz.librepremium.lib.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62)
[18:35:03 ERROR]: at xyz.kyngs.librepremium.common.premium.AuthenticPremiumProvider.getUserForName(AuthenticPremiumProvider.java:44)
[18:35:03 ERROR]: at xyz.kyngs.librepremium.common.listener.AuthenticListeners.onPreLogin(AuthenticListeners.java:70)
[18:35:03 ERROR]: at xyz.kyngs.librepremium.bungeecord.BungeeCordListener.lambda$onPreLogin$0(BungeeCordListener.java:42)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[18:35:03 ERROR]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[18:35:03 ERROR]: Caused by: java.net.ConnectException: ่ฟๆฅ่ถ
ๆถ
[18:35:03 ERROR]: at java.base/sun.nio.ch.Net.connect0(Native Method)
[18:35:03 ERROR]: at java.base/sun.nio.ch.Net.connect(Net.java:579)
[18:35:03 ERROR]: at java.base/sun.nio.ch.Net.connect(Net.java:568)
[18:35:03 ERROR]: at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
[18:35:03 ERROR]: at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[18:35:03 ERROR]: at java.base/java.net.Socket.connect(Socket.java:633)
[18:35:03 ERROR]: at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
[18:35:03 ERROR]: at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174)
[18:35:03 ERROR]: at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:183)
[18:35:03 ERROR]: at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:531)
[18:35:03 ERROR]: at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:636)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:266)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
[18:35:03 ERROR]: at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
[18:35:03 ERROR]: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
[18:35:03 ERROR]: at xyz.kyngs.librepremium.common.premium.AuthenticPremiumProvider.getUserFromMojang(AuthenticPremiumProvider.java:104)
[18:35:03 ERROR]: ... 16 more
Hey, while i was migrating i got this error, i was migrating from jpremium
17:20:58 [INFO] [LibrePremium] Connected to the OLD database
17:20:58 [INFO] HikariPool-2 - Start completed.
17:20:58 [INFO] [LibrePremium] Starting data conversion... This may take a while!
17:20:58 [INFO] HikariPool-2 - Shutdown initiated...
17:21:01 [INFO] HikariPool-2 - Shutdown completed.
17:21:01 [SEVERE] [LibrePremium] An unexpected exception occurred while performing database migration, aborting migration
17:21:01 [SEVERE] java.lang.NullPointerException: Cannot invoke "java.util.function.Function.apply(Object)" because "this.exceptionHandler" is null
17:21:01 [SEVERE] at xyz.kyngs.easydb.EasyDB.handleException(EasyDB.java:78)
17:21:01 [SEVERE] at xyz.kyngs.easydb.EasyDB.runTask(EasyDB.java:70)
17:21:01 [SEVERE] at xyz.kyngs.easydb.EasyDB.runFunctionSync(EasyDB.java:112)
17:21:01 [SEVERE] at xyz.kyngs.librepremium.common.migrate.JPremiumReadProvider.getAllUsers(JPremiumReadProvider.java:39)
17:21:01 [SEVERE] at xyz.kyngs.librepremium.common.AuthenticLibrePremium.migrate(AuthenticLibrePremium.java:322)
17:21:01 [SEVERE] at xyz.kyngs.librepremium.common.AuthenticLibrePremium.checkAndMigrate(AuthenticLibrePremium.java:211)
17:21:01 [SEVERE] at xyz.kyngs.librepremium.common.AuthenticLibrePremium.enable(AuthenticLibrePremium.java:156)
17:21:01 [SEVERE] at xyz.kyngs.librepremium.bungeecord.BungeeCordLibrePremium.makeEnabled(BungeeCordLibrePremium.java:34)
17:21:01 [SEVERE] at xyz.kyngs.librepremium.bungeecord.BungeeCordPlugin.onEnable(BungeeCordPlugin.java:39)
17:21:01 [SEVERE] at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:265)
17:21:01 [SEVERE] at net.md_5.bungee.BungeeCord.start(BungeeCord.java:285)
17:21:01 [SEVERE] at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:67)
17:21:01 [SEVERE] at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
17:21:01 [INFO] Enabled plugin LibrePremium version 0.3.1 by kyngs
I Hope this will be fixed soon ๐
There is currently one Mojang API authorization system supported, and it has request execution restrictions.
I propose to add randomness to select other intermediary rest api interfaces, of course it would be nice to give a choice
Which I know of:
I have a few problems with your fallback option. If set to true, kicking players from the lobby will not see a disconnect screen. This is a bug. They're still connected to proxy but not in the world. It gives the 'You are already connected to this server!' to them. At the same time they're still in the lobby world, but unable to do anything serious, like the BungeeReconnect plugin, except it doesn't reconnect the player. Now if I set it to false, that problem is solved but interferes with the RedirectPlus plugin. RP is supposed to send them back to the lobby when getting kicked or shut down from a survival server, and instead of RP redirecting them to the lobby, LibrePremiuum shows the player a disconnect screen, because it handles it differently I assume.
Edit: I want to add, if set to true, I have the RP plugin setup to bottom-kick them from the lobby.
It would be very nice to see an option to disable redirection of players after login and limbo, the reason for this is that I have several sub servers that are connected via proxy and the selection is done by the version of the client that connects to the server (That is: VersionConnector)
This option is helpful for small networks which don't want to run additional servers just to move players and chewing up extra resources for unnecessary things.
Every time a player is connected to the server, this error is being sent to the console:
[14:53:08 ERROR]: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column 'IP' at row 1
[14:53:08 ERROR]: at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:104)
[14:53:08 ERROR]: at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
[14:53:08 ERROR]: at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098)
[14:53:08 ERROR]: at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046)
[14:53:08 ERROR]: at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371)
[14:53:08 ERROR]: at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031)
[14:53:08 ERROR]: at me.truemb.discordnotify.database.AsyncMySQL$MySQL.queryUpdate(AsyncMySQL.java:111)
[14:53:08 ERROR]: at me.truemb.discordnotify.database.AsyncMySQL$MySQL.queryUpdate(AsyncMySQL.java:102)
[14:53:08 ERROR]: at me.truemb.discordnotify.database.AsyncMySQL.lambda$queryUpdate$1(AsyncMySQL.java:50)
[14:53:08 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[14:53:08 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[14:53:08 ERROR]: at java.base/java.lang.Thread.run(Thread.java:833)
It doesn't really affect the game, but it's still pretty concerning considering the fact that I have another issue with this plugin
Most auth plugins also add aliases to their commands such as /l, / log, /reg, I also think most people are used to them.
I suggest adding the above aliases to the commands in this plugin :)
I tried to join my server using Geyser and Spigot, but I get disconnected each time with the message "connection closed".
When I looked in the server console, i noticed the message "[LibreLogin] [DEBUG] Virtual host for player TomyGamy: null"
The problem doesn't occur when i remove the plugin.
using paper-1.19.4-484
So basically I have a whitelisted server in my network and when I try adding new players to it, it adds them with wrong UUIDs (cracked probably, but have no way of checking that) even though all of these players are mojang-authorized. I tried experimenting with it, but it didn't matter: /autologin doesn't help, neither does /cracked. When I try adding them via UUID through console, it thinks that the UUID is a nickname and adds a player with this name and gives it another UUID. I don't know what the hell is going on, I'm stupid as well, hopefully I'm the only one experiencing this
i want players chinese nickname to join the server
i got error any time i start the server.
[16:12:43 ERROR]: Couldn't pass ProxyInitializeEvent to librelogin java.lang.IllegalAccessError: class dev.simplix.protocolize.velocity.providers.VelocityProtocolRegistrationProvider tried to access protected field com.velocitypowered.proxy.protocol.StateRegistry.clientbound (dev.simplix.protocolize.velocity.providers.VelocityProtocolRegistrationProvider is in unnamed module of loader com.velocitypowered.proxy.plugin.PluginClassLoader @7a231dfd; com.velocitypowered.proxy.protocol.StateRegistry is in unnamed module of loader 'app') at dev.simplix.protocolize.velocity.providers.VelocityProtocolRegistrationProvider.registerPacket(VelocityProtocolRegistrationProvider.java:80) ~[?:?] at xyz.kyngs.librelogin.common.image.protocolize.ProtocolizeImageModule.registerPackets(ProtocolizeImageModule.java:19) ~[?:?] at dev.simplix.protocolize.velocity.providers.VelocityModuleProvider.enableModule(VelocityModuleProvider.java:74) ~[?:?] at dev.simplix.protocolize.velocity.providers.VelocityModuleProvider.registerModule(VelocityModuleProvider.java:33) ~[?:?] at xyz.kyngs.librelogin.common.image.protocolize.ProtocolizeImageProjector.enable(ProtocolizeImageProjector.java:29) ~[?:?] at xyz.kyngs.librelogin.common.AuthenticLibreLogin.enable(AuthenticLibreLogin.java:537) ~[?:?] at xyz.kyngs.librelogin.velocity.VelocityLibreLogin.enable(VelocityLibreLogin.java:199) ~[?:?] at xyz.kyngs.librelogin.velocity.VelocityLibreLogin.onInitialization(VelocityLibreLogin.java:299) ~[?:?] at xyz.kyngs.librelogin.velocity.Lmbda$11.execute(Unknown Source) ~[?:?] at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)] at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)] at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:833) ~[?:?]
[02:18:44 ERROR]: Couldn't pass ProxyInitializeEvent to librelogin
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base32
at dev.samstevens.totp.secret.DefaultSecretGenerator.<clinit>(DefaultSecretGenerator.java:10) ~[?:?]
at xyz.kyngs.librelogin.common.totp.AuthenticTOTPProvider.<init>(AuthenticTOTPProvider.java:32) ~[?:?]
at xyz.kyngs.librelogin.common.AuthenticLibreLogin.enable(AuthenticLibreLogin.java:520) ~[?:?]
at xyz.kyngs.librelogin.velocity.VelocityLibreLogin.enable(VelocityLibreLogin.java:198) ~[?:?]
at xyz.kyngs.librelogin.velocity.VelocityLibreLogin.onInitialization(VelocityLibreLogin.java:298) ~[?:?]
at xyz.kyngs.librelogin.velocity.Lmbda$12.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[Velocity.jar:3.2.0-SNAPSHOT (git-8761d02d-b225)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[Velocity.jar:3.2.0-SNAPSHOT (git-8761d02d-b225)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[Velocity.jar:3.2.0-SNAPSHOT (git-8761d02d-b225)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base32
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:87) ~[Velocity.jar:3.2.0-SNAPSHOT (git-8761d02d-b225)]
at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:64) ~[Velocity.jar:3.2.0-SNAPSHOT (git-8761d02d-b225)]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
... 12 more
Also, when I join the server, I have a cracked UUID even though I'm a premium player. Everything was working fine before.
[02:18:49 WARN] [luckperms]: 'DoreK' has previously used the unique ids [bdf96d1f-4fec-43d3-bc01-aafdacdc2c07] but is now connecting with '53e93fa5-8999-3817-ad27-1a6cef9ceb8b'
[02:18:49 WARN] [luckperms]: LuckPerms already has data for player 'DoreK' - but this data is stored under a different UUID.
[02:18:49 WARN] [luckperms]: The UUID the player is connecting with now is NOT Mojang-assigned (type 3). This implies that THIS server is not authenticating correctly, but one (or more) of the other servers/proxies in the network are.
[02:18:49 WARN] [luckperms]: If you're using BungeeCord/Velocity, please ensure that IP-Forwarding is setup correctly on all of your backend servers!
[02:18:49 WARN] [luckperms]: See here for more info: https://luckperms.net/wiki/Network-Installation#pre-setup
[02:18:49 WARN]: UUID for Player DoreK mismatches! Chat/Commands signatures will not work correctly for this player!
This error sometimes shows up in the console. Not sure how to reproduce.
plugin version: 0.14.0
server version: git-Paper-473 (MC: 1.19.4)
config: https://mcpaste.io/72a400ac6de02c82
27.03 22:15:59 [Server] [ERROR] Thread ForkJoinPool-2-worker-1 failed main thread check: player kick
27.03 22:15:59 [Server] [INFO] java.lang.Throwable: null
27.03 22:15:59 [Server] [INFO] at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.4.jar:git-Paper-473]
27.03 22:15:59 [Server] [INFO] at org.bukkit.craftbukkit.v1_19_R3.entity.CraftPlayer.kick(CraftPlayer.java:620) ~[paper-1.19.4.jar:git-Paper-473]
27.03 22:15:59 [Server] [INFO] at org.bukkit.craftbukkit.v1_19_R3.entity.CraftPlayer.kick(CraftPlayer.java:615) ~[paper-1.19.4.jar:git-Paper-473]
27.03 22:15:59 [Server] [INFO] at xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:189) ~[LibreLogin.jar:?]
27.03 22:15:59 [Server] [INFO] at xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:43) ~[LibreLogin.jar:?]
27.03 22:15:59 [Server] [INFO] at xyz.kyngs.librelogin.common.authorization.AuthenticAuthorizationProvider.authorize(AuthenticAuthorizationProvider.java:69) ~[LibreLogin.jar:?]
27.03 22:15:59 [Server] [INFO] at xyz.kyngs.librelogin.common.command.commands.authorization.RegisterCommand.lambda$onRegister$0(RegisterCommand.java:45) ~[LibreLogin.jar:?]
27.03 22:15:59 [Server] [INFO] at xyz.kyngs.librelogin.common.util.GeneralUtil.lambda$runAsync$0(GeneralUtil.java:148) ~[LibreLogin.jar:?]
27.03 22:15:59 [Server] [INFO] at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1375) ~[?:?]
27.03 22:15:59 [Server] [INFO] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
27.03 22:15:59 [Server] [INFO] at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1176) ~[?:?]
27.03 22:15:59 [Server] [INFO] at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1647) ~[?:?]
27.03 22:15:59 [Server] [INFO] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1614) ~[?:?]
27.03 22:15:59 [Server] [INFO] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
27.03 22:15:59 [Server] [WARN] java.lang.IllegalStateException: Asynchronous player kick!
27.03 22:15:59 [Server] [WARN] at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16)
27.03 22:15:59 [Server] [WARN] at org.bukkit.craftbukkit.v1_19_R3.entity.CraftPlayer.kick(CraftPlayer.java:620)
27.03 22:15:59 [Server] [WARN] at org.bukkit.craftbukkit.v1_19_R3.entity.CraftPlayer.kick(CraftPlayer.java:615)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:189)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:43)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.common.authorization.AuthenticAuthorizationProvider.authorize(AuthenticAuthorizationProvider.java:69)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.common.command.commands.authorization.RegisterCommand.lambda$onRegister$0(RegisterCommand.java:45)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.common.util.GeneralUtil.lambda$runAsync$0(GeneralUtil.java:148)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1375)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1176)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1647)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1614)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
27.03 22:15:59 [Server] [ERROR] [LibreLogin] An unexpected exception occurred while performing command, please attach the stacktrace below and report this issue.
27.03 22:15:59 [Server] [WARN] java.lang.IllegalStateException: Asynchronous player kick!
27.03 22:15:59 [Server] [WARN] at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16)
27.03 22:15:59 [Server] [WARN] at org.bukkit.craftbukkit.v1_19_R3.entity.CraftPlayer.kick(CraftPlayer.java:620)
27.03 22:15:59 [Server] [WARN] at org.bukkit.craftbukkit.v1_19_R3.entity.CraftPlayer.kick(CraftPlayer.java:615)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:189)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:43)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.common.authorization.AuthenticAuthorizationProvider.authorize(AuthenticAuthorizationProvider.java:69)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.common.command.commands.authorization.RegisterCommand.lambda$onRegister$0(RegisterCommand.java:45)
27.03 22:15:59 [Server] [WARN] at LibreLogin.jar//xyz.kyngs.librelogin.common.util.GeneralUtil.lambda$runAsync$0(GeneralUtil.java:148)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1375)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1176)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1647)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1614)
27.03 22:15:59 [Server] [WARN] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
An additional/another option to avoid the Mojang API limit is support for other APIs.
So far I have used the DynamicBungeeAuth plugin, which used the following API:
Mojang, CloudProtected (https://mcapi.cloudprotected.net/), MineTools (https://api.minetools.eu)/
I suspect there are also more APIs that could be used.
The order of API operation would be selected in the plugin configuration. If the first one does not work, the next one will be used, etc.
I'm using velocity + NanoLimbo1.5 and this issue happens sometimes. Have no idea what to attach here, I'd like to know how is this a librelogin issue in the first place
Hey, im sorry for disturbing you continuously but is there any chance you can also add sub title support to the plugin? im fine if you do it later ๐
Hey, I've installed the plugin on my bungeecord added the database credentials but it says Cause: CorruptedConfigurationException: Crypto provider not found in the console, i checked the config and its set to BCrypt2A
Its set to BCrypt2A but still everytime i start it says "Cause: CorruptedConfigurationException: Crypto provider not found", Please Fix ๐
I understand that this may be due to the configuration of my mysql database, but what would be the value you recommend to avoid this error?
[23:57:27 WARN] [xyz.librepremium.lib.hikari.pool.PoolBase]: HikariPool-1 - Failed to validate connection xyz.librepremium.lib.mysql.cj.jdbc.ConnectionImpl@6a6bcc44 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. [23:57:36 WARN] [xyz.librepremium.lib.hikari.pool.PoolBase]: HikariPool-1 - Failed to validate connection xyz.librepremium.lib.mysql.cj.jdbc.ConnectionImpl@b3d61e2 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. [23:57:37 WARN] [xyz.librepremium.lib.hikari.pool.PoolBase]: HikariPool-1 - Failed to validate connection xyz.librepremium.lib.mysql.cj.jdbc.ConnectionImpl@4aac7bde (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value. [23:57:37 ERROR] [librepremium]: !! LOST CONNECTION TO THE DATABASE, THE PROXY IS GOING TO SHUT DOWN TO PREVENT DAMAGE !! [23:57:37 ERROR]: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30047ms. [23:57:37 ERROR]: at xyz.librepremium.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696) [23:57:37 ERROR]: at xyz.librepremium.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:181) [23:57:37 ERROR]: at xyz.librepremium.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:146) [23:57:37 ERROR]: at xyz.librepremium.lib.hikari.HikariDataSource.getConnection(HikariDataSource.java:100) [23:57:37 ERROR]: at xyz.kyngs.easydb.provider.mysql.MySQL.runTask(MySQL.java:43)
Hi,
This isssue is a reference to my use case. Building a network of servers who are dynamicaly provided, i can't write server names in the config direclty since instances are created and shutdowned on the fly.
I nice feature would be to be able to add servers via the API of the plugin.
In some cases, this feature can play a role in limiting the role of small login, so this issue is proposed.
Hii, when I do /premium (pass) i got this error:
[10:21:39 ERROR]: java.lang.NullPointerException: Cannot invoke "xyz.kyngs.librepremium.api.crypto.HashedPassword.algo()" because "password" is null
[10:21:39 ERROR]: at xyz.kyngs.librepremium.common.command.Command.getCrypto(Command.java:48)
[10:21:39 ERROR]: at xyz.kyngs.librepremium.common.command.commands.premium.PremiumEnableCommand.onPremium(PremiumEnableCommand.java:25)
[10:21:39 ERROR]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:21:39 ERROR]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[10:21:39 ERROR]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[10:21:39 ERROR]: at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[10:21:39 ERROR]: at xyz.librepremium.lib.acf.commands.RegisteredCommand.invoke(RegisteredCommand.java:152)
[10:21:39 ERROR]: at xyz.librepremium.lib.acf.commands.BaseCommand.executeCommand(BaseCommand.java:577)
[10:21:39 ERROR]: at xyz.librepremium.lib.acf.commands.BaseCommand.execute(BaseCommand.java:513)
[10:21:39 ERROR]: at xyz.librepremium.lib.acf.commands.RootCommand.execute(RootCommand.java:99)
[10:21:39 ERROR]: at xyz.librepremium.lib.acf.commands.BungeeRootCommand.execute(BungeeRootCommand.java:83)
[10:21:39 ERROR]: at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:212)
[10:21:39 ERROR]: at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:163)
[10:21:39 ERROR]: at net.md_5.bungee.connection.UpstreamBridge.handleChat(UpstreamBridge.java:194)
[10:21:39 ERROR]: at net.md_5.bungee.connection.UpstreamBridge.handle(UpstreamBridge.java:152)
[10:21:39 ERROR]: at net.md_5.bungee.protocol.packet.Chat.handle(Chat.java:71)
[10:21:39 ERROR]: at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:114)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]: at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]: at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]: at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336)
[10:21:39 ERROR]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]: at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
[10:21:39 ERROR]: at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
[10:21:39 ERROR]: at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499)
[10:21:39 ERROR]: at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397)
[10:21:39 ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
[10:21:39 ERROR]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[10:21:39 ERROR]: at java.base/java.lang.Thread.run(Thread.java:833)```
I think it's possible to simplify the login instructions
such as
"/register" -> "/reg"
"/login" -> "/l"
Hi,
I would love if you could add some REST API support or OAuth implementation for checking passwords.
I already suggested this to AuthMeReloaded, but maybe you can make this work.
An (bad) example could be xXSchrandXx/WSC-Minecraft-Authenticator with xXSchrandXx/de.xxschrandxx.wsc.minecraft-authenticator for WoltLab.
It just sends the JSON to the HTTPS-Server and reads the response.
With great wishes
xXSchrandXx
You can do Spigot server support?
I want to make you a question, the token feature from JPremium sounds good on paper, LibrePremium doesn't have this feature, It looks quite necessary, how do you prevent this from happening in your plugin?
[LibrePremium]: !! THIS IS MOST LIKELY NOT AN ERROR CAUSED BY LIBREPREMIUM !!
[20:13:32 ERROR] [LibrePremium]: !!The configuration is corrupted, please look below for further clues. If you are clueless, delete the conf
ig and a new one will be created for you. Cause: CorruptedConfigurationException: The supplied pass-through server is not configured in the
proxy configuration
Error pops up after somebody logging in...
[10:37:20 ERROR]: Thread ForkJoinPool-2-worker-1 failed main thread check: player kick
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.2.jar:git-Paper-307]
at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.kick(CraftPlayer.java:617) ~[paper-1.19.2.jar:git-Paper-307]
at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.kick(CraftPlayer.java:612) ~[paper-1.19.2.jar:git-Paper-307]
at xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:189) ~[LibreLogin.jar:?]
at xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:43) ~[LibreLogin.jar:?]
at xyz.kyngs.librelogin.common.authorization.AuthenticAuthorizationProvider.authorize(AuthenticAuthorizationProvider.java:69) ~[LibreLogin.jar:?]
at xyz.kyngs.librelogin.common.command.commands.authorization.RegisterCommand.lambda$onRegister$0(RegisterCommand.java:45) ~[LibreLogin.jar:?]
at xyz.kyngs.librelogin.common.util.GeneralUtil.lambda$runAsync$0(GeneralUtil.java:148) ~[LibreLogin.jar:?]
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1403) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?]
[10:37:20 WARN]: java.lang.IllegalStateException: Asynchronous player kick!
[10:37:20 WARN]: at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16)
[10:37:20 WARN]: at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.kick(CraftPlayer.java:617)
[10:37:20 WARN]: at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.kick(CraftPlayer.java:612)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:189)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:43)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.authorization.AuthenticAuthorizationProvider.authorize(AuthenticAuthorizationProvider.java:69)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.command.commands.authorization.RegisterCommand.lambda$onRegister$0(RegisterCommand.java:45)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.util.GeneralUtil.lambda$runAsync$0(GeneralUtil.java:148)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1403)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
[10:37:20 ERROR]: [LibreLogin] An unexpected exception occurred while performing command, please attach the stacktrace below and report this issue.
[10:37:20 WARN]: java.lang.IllegalStateException: Asynchronous player kick!
[10:37:20 WARN]: at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16)
[10:37:20 WARN]: at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.kick(CraftPlayer.java:617)
[10:37:20 WARN]: at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.kick(CraftPlayer.java:612)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:189)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.paper.PaperLibreLogin.authorize(PaperLibreLogin.java:43)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.authorization.AuthenticAuthorizationProvider.authorize(AuthenticAuthorizationProvider.java:69)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.command.commands.authorization.RegisterCommand.lambda$onRegister$0(RegisterCommand.java:45)
[10:37:20 WARN]: at LibreLogin.jar//xyz.kyngs.librelogin.common.util.GeneralUtil.lambda$runAsync$0(GeneralUtil.java:148)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1403)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
[10:37:20 WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
I suggest adding the ability to connect to a proxy if the Mojang API refuses the request. This way you can avoid problems with operation if the API limit is exceeded.
The proxy list can be placed in a separate file for better clarity.
I manage to allow crack to join a online server
Hi, is it possible to add an alias for /login
with like /l
?
Thanks
Hii again,
I got this issue: https://i.badlion.net/2PyTJ8ntdptrnjV3UwiZGW.png
I got that when I do /2fa
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.