Skip to content

If whitelist enabled premium users cant login #3116

Description

@cfitz25

What behaviour is observed?

When a premium user is the first to join a hybrid server (paper + velocity) with a whitelist enabled the velocity server cant get the premium UUIDs.

Seems to be caused by the Velocity proxy only getting the premium mappings after a user has successfully logged into the auth/paper server.
Authme-Velocity:

[15:53:27 INFO] [authmevelocity]: Registered AuthMe Velocity bridge channel
[15:53:27 INFO] [authmevelocity]: Deferred proxy.started handshake for 'vanillaish' (no connected players yet); will retry on first player connection
[15:53:27 INFO] [authmevelocity]: Proxy startup handshake: 0 auth server(s) notified, 1 deferred until first connection
[15:53:27 INFO] [authmevelocity]: Current auth servers:
[15:53:27 INFO] [authmevelocity]: > vanillaish

On fail:

[18:01:15 INFO]: [connected player] <myuser> (/127.0.0.1:44580) has connected
[18:01:15 INFO]: [server connection] <myuser> -> vanillaish has connected
[18:01:16 INFO]: [server connection] <myuser> -> vanillaish has disconnected
[18:01:16 ERROR]: [connected player] <myuser> (/127.0.0.1:44580): disconnected while connecting to vanillaish: You are not whitelisted on this server!
[18:01:16 INFO]: [connected player] <myuser> (/127.0.0.1:44580) has disconnected: Unable to connect to vanillaish: You are not whitelisted on this server!

Expected behaviour

  • The premium user being able to connect and not be kicked as its not whitelisted.
  • The velocity proxy getting the premium UUID mappings before/even if the user fails to join

Velocity succeeding (this was a success if whitelist was off at the start, then i enable it after):

[15:55:08 INFO] [authmevelocity]: Sent deferred proxy.started handshake to auth server 'vanillaish'
[15:55:08 INFO] [authmevelocity]: Premium list received from backend: 1 premium player(s)

To Reproduce

  1. Setup a hybrid Velocity+paper server with authme on both
  2. Have Velocity keep premium UUIDs
  3. Have premium user's UUID in whitelist
  4. Start proxy and paper server
  5. Attempt to join server with premium user

Plugin list

[18:25:13 INFO]: ℹ Server Plugins (64):
[18:25:13 INFO]: Paper Plugins (14):
[18:25:13 INFO]:  - banco, BatMembranes, Bending, BKCommonLib, ChessCraft, ExcellentEnchants, nightcore, SignedVelocity, vane-admin, vane-bedtime
[18:25:13 INFO]:  vane-core, vane-enchantments, vane-portals, vane-trifles
[18:25:13 INFO]: Bukkit Plugins (50):
[18:25:13 INFO]:  - AdvancedPortals, AeternumSeasons, AuthMe, BetterChairs, BetterStructures, BlockShips, BreweryRecipes, ChestShop, ConsoleSpamFixReborn, CoolNightSky
[18:25:13 INFO]:  CrazyEnchantments, ExecutableItems, floodgate, FlyironsDrugs, FokusAPI, ForcePack, FreedomChat, fuuidfinder, Garden, gestalt
[18:25:13 INFO]:  ImageFrame, LevelledMobs, LibsDisguises, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, packetevents, PlaceholderAPI, PluginUpdater, ProtocolLib
[18:25:13 INFO]:  RealisticVillagers, SCore, SkinsRestorer, SnifferExploited, SoulGraves, TAB, TheBrewingProject, Towny, TownyMenus, Train_Carts
[18:25:13 INFO]:  UUIDView, ValhallaMMO, ValhallaRaces, ValhallaTrinkets, Vault, ViaBackwards, ViaVersion, WorldEdit, worldedit-selection-viewer, XaeroSharePlugin

Server Implementation

BungeeCord

Database Implementation

SQLite

AuthMe Version

v6.0.0 (build: 2734)

Error log (if applicable)

No response

Configuration

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions