games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
503 stars 121 forks source link

Not Hooking Into AdvancedLogin #312

Closed FunkyNico closed 3 years ago

FunkyNico commented 4 years ago

What behaviour is observed:

The plugin doesn't recognized that AdvancedLogin is installed on the /plugins folder and it doesn't hook onto it.

What behaviour is expected:

I expected that the plugin hooked onto AdvancedLogin so premium players can autologin on the server.

Steps/models to reproduce:

  1. Install Fastlogin last dev build #916 (v1.11-SNAPSHOT-8ecb565)
  2. Install ProtocolLib last dev build #447.
  3. Install AdvancedLogin last version 3.10.
  4. Startup the server.
  5. See the error (obviously if you join the server you will have to register, but you will can't to auto login using the premium command of fastlogin).

Plugin list:

AdvancedLogin, CombatLogX, CompatNoCheatPlus, ConditionalCommands, CoreProtect, Duels, EliteMobs, Essentials, EssentialsChat, EssentialsSpawn, ExploitFixer, FastLogin, Gatekeeper, IllegalStack, Kyra, LagMonitor, LuckPerms, mcMMO, Multiverse-Core, NoCheatPlus, OpGuard*, PlaceholderAPI, ProtectionStones, ProtocolLib, SkinsRestorer, Vault, ViaBackwards, ViaVersion, WorldBorder, WorldEdit, WorldGuard

Environment description

Server: Paper version git-Paper-243 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT) Db: SQLite.

Plugin version or build number:

FastLogin version 1.11-SNAPSHOT-8ecb565

Server Log:

Error: https://hastebin.com/gulutenete.coffeescript Full Log: https://hastebin.com/tujageyexe.md

Configuration:

Config.yml: https://hastebin.com/kiqeravaga.makefile

Additional Info:

If you install the last version from the spigot page you won't get the Error: https://hastebin.com/gulutenete.coffeescript but anyway it doesnt't work.

games647 commented 4 years ago

AdvancedLogin doesn't have a softdepend in it's plugin.yml. This means it loaded before FastLogin. The author need to change that.

FunkyNico commented 4 years ago

I reported the issue to the author, now i'm waiting that he fix it. I hope that can be asap. Thanks for your answer.

DevLeoko commented 4 years ago

This issue was actually caused by a plugin called "ExploitFixer" which created a circular dependency, leading to the plugins being loaded in random order.

AdvancedLogin has FastLogin as a soft dependency :)

games647 commented 4 years ago

Okay sorry, I didn't know that.

yashendra2797 commented 4 years ago

Can this be closed?