Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"You logged in from another location" #1

Open
srleojaco opened this issue Jun 21, 2018 · 3 comments
Open

"You logged in from another location" #1

srleojaco opened this issue Jun 21, 2018 · 3 comments

Comments

@srleojaco
Copy link

srleojaco commented Jun 21, 2018

I've been using IPWhitelist since a long time and never have this problem since today, when some fools started sending bots.

IPWhitelist blocks direct connect when the server receives a connection from an unauthorized ip, but if the player is online, it will block the unauthorized ip connection but it don't prevent the kick of the"legit" player with reason "you logged in from another location".

Example:

  1. Happy player joined the server using bungeecord
  2. Idiot send a bot directly to spigot
  3. Bot makes a connection to the server
  4. Happy player is kicked because of "You logged in from another location" (Caused by Minecraft)
  5. Bot is denied to join to the server with reason "You must join by the proxy"
  6. Happy player has to reconnect
@roblabla
Copy link
Contributor

I haven't touched this code in quite a while, and have been out of the minecraft scene for a long time now. I think the fix is to use AsyncPlayerPreLoginEvent instead of PlayerLoginEvent. I'm not personally going to fix it, but if someone wants to do a PR, feel free :).

@KarmaDeb
Copy link

KarmaDeb commented Mar 4, 2020

Well, now is Sad player :c

I know this is 2-3 years old, but if you keep needing help, tell me and I'll help you

@x9nico
Copy link

x9nico commented Feb 12, 2021

Hello, maybe I have the solution:
I moved from BungeeCord to Velocity's Proxy, and it have been fixed.
PS: BungeeCord plugins are incompatible with Velocity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants