Skip to content

switchMode kicks new premium players on first join despite autoRegister=true #1359

@Hayston1001

Description

@Hayston1001

What happened?

Bug Description

When switchMode is enabled, new premium players (who have never joined the server before and are not in the FastLogin database) will be kicked on their first connection attempt with the message "Only paid minecraft whitelisted accounts are allowed to join this server", although autoRegister is also enabled.

However, these players should be recognized as premium accounts via Mojang API lookup and allowed to join immediately, since autoRegister is supposed to handle their registration automatically. So I think switchMode: true doesn't work correctly according to its comments.

Steps to reproduce

No response

Plugin list

Paper Plugins (4): EconomyShopGUI, FancyNpcs, MiniMOTD, Veinminer Bukkit Plugins (58): ajLeaderboards, AuctionHouse, AuthMe, BetterStructures, BlockLocker, BlueBorder, BlueMap, *BukkitOfUtils, Chunky, ClickMobs, ClickVillagers, CMILib, CoreProtect, DailyRewards, DecentHolograms, DeluxeMenus, Essentials, FastLogin, FreedomChat, GrimAC, GSit, HatCommand, LuckPerms, MineBank, Multiverse-Core, Multiverse-Inventories, Multiverse-NetherPortals, Multiverse-Portals, OtherAnimalTeleport, packetevents, PlaceholderAPI, PlayerHeadDrop, PlayerTask, PlayerTitle, PlayerWarp, ProAntiTab, ProtocolLib, QuickShop-Hikari, RealisticSeasons, Residence, RiceNotice, sinAutoFarm, SkinsRestorer, Skript, Stealth, TAB, TerraformGenerator, TimeBar, TrChat, Vault, ViaBackwards, ViaVersion, voicechat, voicemessages, VoidWorldGenerator, WorldEdit, WorldGuard, *XaeroSupport

Configuration file

https://gist.github.com/Hayston1001/d91e068af9c76a7a0819f9822c1c4444

Server log

No response

Plugin version

1.12-SNAPSHOT-65a379c

Platform

Spigot

Relevance

  • I tried the latest build
    (build refers to development builds not necessary a release version; i.e. v1.10 is out of date)

  • I checked for existing tickets -
    If there are, please vote them with a thumbs reaction and not create new ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions