Skip to content

Player disconnect issue #1

@brunyman

Description

@brunyman

Hi, I use this plugin to allow non premium players join over a hostname.
Problem is, if i'm already connected and a player joins over the non premium hostname with my name it disconnects me from the server.

Can you please add a way to not allow a player to connect if that name is already connected? so it won't disconnect the player that is already connected. Thanks

Here i'm connecting to the server:
13:09:50 [INFO] [brunyman] <-> InitialHandler has connected
13:09:50 [INFO] [SessionSkip] Skipping session server authentication for player brunyman (/79.112.235.215:51350) since hostname matched mc.craftersland.net
13:09:51 [INFO] [brunyman] <-> ServerConnector [lobby1] has connected

And here wile i'm still connected, someone else join with my name disconnecting me from the server:
13:09:59 [INFO] [brunyman] <-> InitialHandler has connected
13:09:59 [INFO] [SessionSkip] Skipping session server authentication for player brunyman (/79.112.235.215:51365) since hostname matched mc.craftersland.net
13:09:59 [INFO] [brunyman] disconnected with: §cYou are already connected to this server!
13:09:59 [INFO] [brunyman] disconnected with: §f[Proxy] Lost connection to server.
13:09:59 [INFO] [brunyman] <-> DownstreamBridge <-> [lobby1] has disconnected
13:09:59 [INFO] [brunyman] disconnected with: §cYou are already logged on to this server.§7
If you were disconnected forcefully, please wait up to one minute.
If this does not resolve your issue, please contact staff.
13:09:59 [INFO] [brunyman] <-> ServerConnector [lobby1] has connected
13:09:59 [INFO] [brunyman] -> UpstreamBridge has disconnected
13:09:59 [INFO] [brunyman] -> UpstreamBridge has disconnected
13:09:59 [INFO] [brunyman] <-> DownstreamBridge <-> [lobby1] has disconnected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions