Skip to content

[API]"autoRegister" not working #1197

@ShadowOfHeaven-Me

Description

@ShadowOfHeaven-Me

What happened?

With autoRegister: true the AuthPlugin#forceRegister was not invoked, and BukkitFastLoginPreLoginEvent#getProfile#isPremium returned false.

What did you expect?

BukkitFastLoginPreLoginEvent#getProfile#isPremium should return true, as that allows the plugin to determine whether it should even attempt to set-up the login authentication.

Steps to reproduce

Use autoRegister: true and debug the things I mentioned. The build is 1302, so the currently newest.

Plugin list

ViaVersion, ViaBackwards, ProtocolLib, ViaRewind, FastLogin, AlixSystem, PlugManX (PlugMan)

Configuration file

https://paste.md-5.net/neyabepiwa.yaml

Server log

[12:36:59] [Protocol Worker #1 - FastLogin - [recv: ENCRYPTION_BEGIN[class=PacketLoginInEncryptionBegin, id=1], START[class=PacketLoginInStart, id=0], send: ]/INFO]: [FastLogin] New packet START[class=PacketLoginInStart, id=0] from com.comphenix.protocol.injector.temporary.TemporaryPlayerInvocationHandler@55c3a721
[12:36:59] [Craft Scheduler Thread - 10/INFO]: [FastLogin] Handling player ShadowOfHeaven

Plugin version

1.12-SNAPSHOT-3925b66

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