Description
A server-side mod/plugin for Minecraft using Fabric/Paper that block duplicate player joins
This project was based on oxygencraft/DuplicatePlayerJoin.
It prevents bots (like Herobrine, most common name used) or malicious players from entering your server using your nickname. The server's default behavior is to drop your session with the message "you logged in from another location"; even if you have an authentication mod to prevent the other player or bot from connecting as your character, it remains annoying because you get disconnected whenever an attempt is made using your nickname. This mod changes the server's default login behavior: instead of disconnecting you, it blocks the other player or bot from connecting and displays the message "This account is already connected to the server."
My recommendations for greater privacy and security for your server:
- Install DupePlayerBlock (just on server);
- Enable the whitelist system and allow only your friends usernames:
- server.properties:
white-list=true(need to save and restart the server) - console command:
whitelist add NicknameHere - in-game command (with op):
/whitelist add NicknameHere
- server.properties:
- Enable the option to hide the names of online players:
- server.properties:
hide-online-players=true(need to save and restart the server)
- server.properties:
- Use an authentication mod (such as Auth).
Github: https://github.com/rogerwindberg/DupePlayerBlock
Discord: @rogerwindberg