Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
LANProtect
There're many mods available that allow you to expose your LAN Server to the Internet, allowing those not connected to the same network can join your world. However, there are risks of malicious players joining the world, which can cause a headache. This mod aims to prevent unauthorized players from joining LAN games when using those mods.
How do I use it?
When a player joins your world, it will be blocked, You will then be able to allow that player's connection or block it. If it's allowed, that player can reconnect and be able to play with you. On the other hand, that player will not be able to connect to your world.
Be notice that the list will be cleared when you leave the world, meaning you will have to re-whitelist those players when you play on it again.
Version
Currently, this mod supports 1.21.5. However, I'm planning on supporting some older versions in the near future.
If you have any suggestion, you can create an issue or pull a request on my github repo and I'll hopefully implement them.