
Что это
a whitelist for LAN worlds e.g. when opening them to the public with e4mc
- Тип: мод
- Загрузчик: fabric, quilt
- Версии Minecraft: 1.19.2 – 26.3
- Скачиваний на Modrinth: 24 853
Подробно
Note: This is not needed for e4mc 5.4.0+ as they implemented a whitelist there
A few days ago, I stumbled across LANGuard, a mod that achieves the same thing as this one and also contributed to it. As this was my first ever contact with Java and Minecraft Mod Development, I started to work on a new PR but soon noticed that I'm basically rewriting the entire mod. So I thought, it would be better if I just start a fully own mod that uses a different approach to enforce the whitelist. And here we are :) Also a thanks to Ovilli for creating their mod that is the start of this one.
More and more players are using mods like e4mc to make their LAN worlds publicly available. But griefers have noticed this too and as LAN worlds provide no tooling to prevent anyone from joining, this starts to become a risk (see this video). With this mod I tried to recreate the Minecraft Server whitelist system as closely as possible (with my non-existent Java knowledge o.O).
- a whitelist similar to the server counterpart - stores name and UUID - UUID is used to check if connecting player is on the whitelist - config screen made with Cloth Config in modmenu for easy configuration - automatically resolves UUID for added player names asynchronously - option to disable the whitelist entirely - option to use names instead of UUIDs for checking (for testing) - same options accessible via the client side command /lanlock
As of version 1.3.5, Cloth Config API is not a hard dependency anymore.
So if you want to configure the mod via Modmenu in a GUI, you need to install both Modmenu and Cloth Config API by yourself.
Other than LANGuard, LANLock doesn't even allow non whitelisted players to join the server by modifying the connection process with a mixin. So this and the usage of UUIDs differentiate this mod from LANGuard and at least from my understanding of programming should make it more secure.
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Create Nested Factory
A NeoForge mod for Minecraft 1.21.1 that adds nestable factory spaces and integrates with the Create mod's logistics and kinetic systems. 05.12.2026
Dynamic Falling Tree
Topple trees with realistic physics! Features dynamic tipping, fragile leaf collisions, and full configuration support via ModMenu. 05.12.2026
Small Shovels
Small Shovels is a lightweight texture pack that reduces shovel size to improve screen visibility while keeping a clean, vanilla-friendly… 05.12.2026
Ergonomic Craftable Enchants
Balanced craftable enchanting books. No villagers required. 05.12.2026
Itsuki Nakano Tiny Totem
A itsuki Nakano tiny Totem form the Anime TQQ 05.12.2026
Item Speedrun
See how fast you can obtain an item chosen at random. 05.12.2026