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
506 stars 123 forks source link

fastlogin + luckperms error #398

Open frogglen opened 4 years ago

frogglen commented 4 years ago

What behaviour is observed:

when you activate the fastlogin premiumUuid option, when trying to enter the server, luckperms sends an error message to the console and does not let me enter the server.

The message is this:

(LP) doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.
Permissions data for your user was not loaded during the pre-login stage - unable to continue. Please try again later. If you are a server admin, please check the console for any errors.

It should be noted that this did not happen to me in 1.16.1, until I updated to 1.16.2 it started to happen to me and I am using the latest snapshot of fastlogin and luckperms

What behaviour is expected:

It is expected that the user's Premium UUID is loaded and the server is allowed to enter.

Steps/models to reproduce:

  1. Open the config.yml file in fastlogin and set premiumUuid to true.
  2. Restart the server
  3. Trye to login
  4. See error

Screenshots (if applicable)

Plugin list:

last version of paper 1.16.2

Plugins (48): AdvancedAchievements, AdvancedLogin, AntiCraft, BeautyQuests, BetterEnd, BloodMoon, ChatControl, ChatItemDisplay, ChatReaction, ChestSort, Citizens, CoreProtect, ExtraHardMode, FastLogin, Geyser-Spigot, Graves, InventoryRollback, LibsDisguises, LuckPerms, Maintenance, MarriageMaster, Matrix, MobFarmManager, Multiverse-Core, Multiverse-NetherPortals, MyPet, MythicMobs, OreAnnouncer, PacketLimiter, PiggyBank, PlaceholderAPI, PlugMan, ProtectionStones, ProtocolLib, PvPManager, ServerlistMOTD, Shopkeepers, SkinsRestorer, SpecializedCrates, TAB, TabCompleteFilter, TutorialCreator, Vault, Wild, WorldEdit, WorldGuard, WorldGuardExtraFlags

Environment description

Plugin version or build number (don't write latest):

Version: 1.11-SNAPSHOT-d034e71

Server Log:

Configuration:

games647 commented 4 years ago

Please post your LuckPerms and ProtocolLib version as well as the server log during the login attempt.

frogglen commented 4 years ago

Please post your LuckPerms and ProtocolLib version as well as the server log during the login attempt.

LuckPerms Version: 5.1.98 ProtocolLib Version: 4.6.0-SNAPSHOT-b56

server log

[06:24:48] [FastLogin Pool Thread #2/INFO]: [FastLogin] Handling player Glenn_Frog
[06:24:48] [FastLogin Pool Thread #2/INFO]: [FastLogin] Requesting premium login for registered player: Glenn_Frog
[06:24:49] [FastLogin Pool Thread #3/INFO]: [FastLogin] Profile Glenn_Frog has a verified premium account: Verification{id=60e3d6b2-912e-4141-80aa-c81b32f84dcd, name='Glenn_Frog', properties=[SkinProperty{value='ewogICJ0aW1lc3RhbXAiIDogMTU5OTIwMDY4OTI0NiwKICAicHJvZmlsZUlkIiA6ICI2MGUzZDZiMjkxMmU0MTQxODBhYWM4MWIzMmY4NGRjZCIsCiAgInByb2ZpbGVOYW1lIiA6ICJHbGVubl9Gcm9nIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzI4NzQwMzBmODE4NDFiMDAyYzhjOTQ2NjQ3YmI1ZTA5MDIwZWYzMDU2N2RhYjQyNzc2NWVlN2FlYjk0OWQ0ZDQiLAogICAgICAibWV0YWRhdGEiIDogewogICAgICAgICJtb2RlbCIgOiAic2xpbSIKICAgICAgfQogICAgfQogIH0KfQ==', signature='Ku3+5do0xREwQE7ut26/qkB1/BQ1h+1URXKQ7m7/7pcrn9KlAhfQdYYUyOG+i6BhNtEF2Iwbjc28CfsAKnPXzW6xUipC65QzF8anNU4nSr5NH5/CvMXKggIK+xV7RB2L8BB2ZjO1PA9RII7mN8mebQMtPSe2JmA8xfgB5Rp41Sj5bJjZexiO9/nXvvx/jpPy81FYos7j6G90QRRx45UeMjhyXW4UdQsNJKbdbwc5tt5kBbt2Fitswm2MvyOrG2xqDWf7QMw43i8PS2u/2GgbBQbZIg34a+56LqXqq0hU48Gv9sqnCw57pOCsAnx4P5LEWMJLre+EoWfrkOWXbul/r7TkeT61F6/lU2wYqisliFlqTvU+04pv46OqRlvZppxNucLs1TPt5pjd9fxcXtlV+JSWw4XX43j1XFSkvA3PGqtbpIfoJY7ghW8uQivOKFHVKWBub5zk0dKz95VC/+egWBFtgPRavZ6w4iIXeBHfiD01Nf44rLsyN1z0tPFQl8gavTSXw0lNO6CVKd7hEVbzIlsVOKZej0C1zW7SzqLdxc+gBafmI6YOGEhGBADa+0cLM+2YUUjfKYv1A49zdccDkv1/IBJYv23KTuumsIBZt6Y4YD6pSq/yBySZb264ge+14Fs/7wvEeu4et/hj+Qyj6jEvITtIb3g5owIVYHoVAnA='}]}
[06:24:49] [User Authenticator #2/INFO]: [LuckPerms] Processing pre-login for 60e3d6b2-912e-4141-80aa-c81b32f84dcd - Glenn_Frog
[06:24:49] [User Authenticator #2/INFO]: UUID of player Glenn_Frog is 60e3d6b2-912e-4141-80aa-c81b32f84dcd
[06:24:49] [Server thread/INFO]: [LuckPerms] Processing login for 1cde8bbb-99bc-3628-9304-bb57c2f8198b - Glenn_Frog
[06:24:49] [Server thread/WARN]: [LuckPerms] User 1cde8bbb-99bc-3628-9304-bb57c2f8198b - Glenn_Frog doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.
[06:24:49] [Server thread/INFO]: Disconnecting com.mojang.authlib.GameProfile@19c1c65e[id=60e3d6b2-912e-4141-80aa-c81b32f84dcd,name=Glenn_Frog,properties={},legacy=false] (/187.190.30.86:2118): [LP] Permissions data for your user was not loaded during the pre-login stage - unable to continue. Please try again later. If you are a server admin, please check the console for any errors.
[06:26:15] [luckperms-scheduler-worker-1/INFO]: [LuckPerms] User Housekeeper: unloading user data for 60e3d6b2-912e-4141-80aa-c81b32f84dcd
[06:26:48] [FastLogin Pool Thread #4/INFO]: [FastLogin] Handling player Glenn_Frog
[06:26:48] [FastLogin Pool Thread #4/INFO]: [FastLogin] Requesting premium login for registered player: Glenn_Frog
[06:26:48] [FastLogin Pool Thread #5/INFO]: [FastLogin] Profile Glenn_Frog has a verified premium account: Verification{id=60e3d6b2-912e-4141-80aa-c81b32f84dcd, name='Glenn_Frog', properties=[SkinProperty{value='ewogICJ0aW1lc3RhbXAiIDogMTU5OTIwMDgwODc0NiwKICAicHJvZmlsZUlkIiA6ICI2MGUzZDZiMjkxMmU0MTQxODBhYWM4MWIzMmY4NGRjZCIsCiAgInByb2ZpbGVOYW1lIiA6ICJHbGVubl9Gcm9nIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzI4NzQwMzBmODE4NDFiMDAyYzhjOTQ2NjQ3YmI1ZTA5MDIwZWYzMDU2N2RhYjQyNzc2NWVlN2FlYjk0OWQ0ZDQiLAogICAgICAibWV0YWRhdGEiIDogewogICAgICAgICJtb2RlbCIgOiAic2xpbSIKICAgICAgfQogICAgfQogIH0KfQ==', signature='R8YadJdYNayeuOSneh9oglgqLqLvS8RFAr2P+kIbUZq0XBLHmU4xSpXvj9WeEy9pGTnXz3L26XRZMiz6CsfGxQqJ1TmUk2jxX7UTyOmbCSJoJiHPha7cCHd4aA7HxQLNp5ll+Od11jW9Z3axpx7X7gTcUZyTz5vMZ2kz+x/mz5xekr6Yg0VGZwH55cyTH00NL02Jp7PnqhuxgNPXve3MKkzbg95lTpBiRgPhv0OPkhgYDfTXEnFLBE2TYIwltP8IuYezYRSc5NWSiwJeYfcH+SwRHiolPdMQo5DwF0JY1FC1CKtOnPEoJ1f7M8iPTEHimpsD4TICZneJSBq16c01lgDLJWAHnica0HVQQeeYy4/Lf3nFQx0gDeDt7n10T8oQpHZ7m7i2nugwQyPHKTuS4Ljv1BDlhdCKcsn4WpSJVwz1cXK1RMWUjFypVenPob9QUtmJAUx57AFCWEs/xWO1C+MzZJIB+DhT9CCG8Xr3QgNpT5sjrNkoSoOO8VC3Lj8zBlw/RHQLwiSs+Vt9ztExnHOsh6IHdkcQohoKXpmaPvOYOW/oRtEir46bhKX6sPIm7WIZXe41lursH+EQNpDEoo+wt1xfE4TXmq6DTErE3PocHyMZolkLlw9eJU5wRLjlRV1XNTiQuEurdQJ2eYKrg1L26Gw4sYuWUe7a6LyU2BE='}]}
[06:26:48] [User Authenticator #3/INFO]: [LuckPerms] Processing pre-login for 60e3d6b2-912e-4141-80aa-c81b32f84dcd - Glenn_Frog
[06:26:48] [User Authenticator #3/INFO]: UUID of player Glenn_Frog is 60e3d6b2-912e-4141-80aa-c81b32f84dcd
[06:26:48] [Server thread/INFO]: [LuckPerms] Processing login for 1cde8bbb-99bc-3628-9304-bb57c2f8198b - Glenn_Frog
[06:26:48] [Server thread/WARN]: [LuckPerms] User 1cde8bbb-99bc-3628-9304-bb57c2f8198b - Glenn_Frog doesn't have data pre-loaded, they have never been processed during pre-login in this session. - denying login.
[06:26:48] [Server thread/INFO]: Disconnecting com.mojang.authlib.GameProfile@19c1c65e[id=60e3d6b2-912e-4141-80aa-c81b32f84dcd,name=Glenn_Frog,properties={},legacy=false] (/187.190.30.86:2167): [LP] Permissions data for your user was not loaded during the pre-login stage - unable to continue. Please try again later. If you are a server admin, please check the console for any errors.