elchologamer / userlogin Goto Github PK
View Code? Open in Web Editor NEWA simple and versatile authentication plugin for Minecraft
Home Page: https://www.spigotmc.org/resources/userlogin.80669/
License: MIT License
A simple and versatile authentication plugin for Minecraft
Home Page: https://www.spigotmc.org/resources/userlogin.80669/
License: MIT License
Do not forget to add FastLogin support to avoid premium users to log-in or register.
I was trying out the plugin when i noticed i could join my server and use operator commands before logging in.
This is a problem because a cracked client might use it to join a server using the operator’s username and cause mayhem
I hope this is a problem on my part, and perhaps i have set up the plugin incorrectly, but i can’t be sure.
I tried contacting experienced users through a discord server, as is usual for some projects on github, but i couldn’t find any, so i posted this here.
I mean a command that can be executed by the player when the login is completed.
so in the config set-up like this:
commands-after-login
"send hub"
"skript login"
that's all for login commands, now I wanted to say one more feature request.
it's about the hologram.
if you want to see an example there is a server IP: herobrine.org
so there is the other feature request.
hope you like and add it :)
As title suggests, plugin crashes on start when using Paper 1.8.8.
Relevant output:
[13:49:31 INFO]: [UserLogin] Enabling UserLogin v2.13.1
[13:49:31 ERROR]: Error occurred while enabling UserLogin v2.13.1 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.configuration.file.FileConfiguration.contains(Ljava/lang/String;Z)Z
at com.elchologamer.userlogin.manager.LangManager.createDefault(LangManager.java:49) ~[?:?]
at com.elchologamer.userlogin.manager.LangManager.reload(LangManager.java:65) ~[?:?]
at com.elchologamer.userlogin.UserLogin.reloadPlugin(UserLogin.java:124) ~[?:?]
at com.elchologamer.userlogin.UserLogin.onEnable(UserLogin.java:47) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
[13:49:31 INFO]: [UserLogin] Disabling UserLogin v2.13.1
[19:57:36] [Craft Scheduler Thread - 6/INFO]: [UserLogin] JDBC driver for database missing: org.postgresql.Driver
[19:57:36] [Craft Scheduler Thread - 6/WARN]: java.lang.ClassNotFoundException: org.postgresql.Driver
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at java.base/java.lang.Class.forNameImpl(Native Method)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at java.base/java.lang.Class.forName(Unknown Source)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at <unknown class>.connect(SQLDatabase.java:32)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at <unknown class>.connect(PostgreSQL.java:18)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at com.elchologamer.userlogin.UserLogin.connectDatabase(UserLogin.java:141)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at <unknown class>.run(Unknown Source)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[19:57:36] [Craft Scheduler Thread - 6/WARN]: at java.base/java.lang.Thread.run(Unknown Source)
The server crashes everytime i open my auth serve with the userlogin, server type: PaperMC 1.8.8
Error:
[10:38:43 INFO]: [UserLogin] Enabling UserLogin v2.13.0
[10:38:43 ERROR]: Error occurred while enabling UserLogin v2.13.0 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.configuration.file.FileConfiguration.contains(Ljava/lang/String;Z)Z
at com.elchologamer.userlogin.manager.LangManager.createDefault(LangManager.java:49) ~[?:?]
at com.elchologamer.userlogin.manager.LangManager.reload(LangManager.java:65) ~[?:?]
at com.elchologamer.userlogin.UserLogin.reloadPlugin(UserLogin.java:124) ~[?:?]
at com.elchologamer.userlogin.UserLogin.onEnable(UserLogin.java:47) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched_1.8.8.jar:git-PaperSpigot-445]
Expected: you'll either still be dead, or be teleported to your bed/spawn
What really happens: you'll get teleported to the location of your death, but being alive now you can immediately pick up everything you lost.
console:
[UserLogin] Enabling UserLogin v2.13.1
[UserLogin] Invalid database type selected, defaulting to "yaml"
[UserLogin] UserLogin v2.13.1 enabled
config file:
# One of: 'yaml', 'mongodb', 'mysql', 'postgresql', 'sqlite'
type: 'mongodb'
dont know if problem is in
theres no case "mongo"idk how to program so pls fix it :(
This is a great login plugin that effectively protects the server. Recently, PaperMC has launched the multi threaded server Folia. Can you provide support for the Folia server?
So when a user joins the game when they just started up there game they get sent to the spawn, not to the login/register world where they should spawn.
I want this permission so my Bedrock players won't do /register or /login
Some of them complaining that it doesn't work
Just saying "Unknown command"
Hi,
I translated the language file to French for my private server. So why not sharing it :
https://pastebin.com/fD4Vid1s
Can this plugin detect premium and cracked accounts?
and can avoid /login for premium players and allow /login for cracked players?
Any help really appreciated.
Hi,
I've set up the latest version of userlogin with the latest version of PaperMC (1.18.2).
Even after checking the config files, I noticed all connected players can move, destroy blocks and type commands when they are not registered/logged in in userlogin.
I don't know what causes the issue, there's no error in server logs.
This issue is very annoying and defeats the purpose of the plugin itself...
[15:23:26 WARN]: [UserLogin] Plugin UserLogin v2.13.1 generated an exception while executing task 130
java.lang.IllegalStateException: Asynchronous player kick!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.12.2.jar:git-Dionysus-"42ce9ca"]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.kickPlayer(CraftPlayer.java:329) ~[patched_1.12.2.jar:git-Dionysus-"42ce9ca"]
at com.elchologamer.userlogin.ULPlayer.onLoginAttempt(ULPlayer.java:198) ~[?:?]
at com.elchologamer.userlogin.command.LoginCommand.authenticate(LoginCommand.java:25) ~[?:?]
at com.elchologamer.userlogin.command.AuthCommand.asyncRun(AuthCommand.java:43) ~[?:?]
at com.elchologamer.userlogin.command.base.AsyncCommand.lambda$run$0(AsyncCommand.java:18) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Dionysus-"42ce9ca"]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.12.2.jar:git-Dionysus-"42ce9ca"]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.12.2.jar:git-Dionysus-"42ce9ca"]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_312]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_312]
Paper/Dionosys/Spigot dont working kick command on error passworld
I want to be able to share the password with the 1.7.10 login plugin. Is it possible to share the password database with the AuthME plugin?
what will happen if a non premium players jonis with the name of a premium playerfor exaple if someone using tlauncher used my premium username will they be able to access the content without having to log in
Velocity is a good proxy server.
Hello! I've translated this plugin in italian language! I've put some italian slag like "loggato" in some messages but that's understandable by everyone. I attach the translation file here. Tanks, bye!
File download link: https://mega.nz/file/UbtmmK5a#zzDADdcQ4K9qbilmBInPoJ8UYROa7jP2yWyX7M10fFo
This is A simple feature request.
Can you please add a feature like after doing /login password
In the config, we could set command so that we can execute a command like: tp {player} 78 45 321
so this will become a bungee tp login without bungee being installed.
Similar to tp login in bungee
Hope you add it :)
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.