
Fabric-GeoLogin
A fabric server-side mod that restricts login countries in the real world
About this Mod
GeoLogin
A fabric server-side mod that restricts login countries in the real world
Configuration
File path config/geologin.json
countries: The list of ISO ALPHA-2 country codes.allowDefault: Fallback status, set tofalseif you don't want to let players to join when failing to validate their location.useWhitelist: Countries incountrieswill be blocked from logging in if set tofalse, only the countries incountriesare allowed to join if set totrue.cacheExpireMinutes: IP address will be cached to prevent checking for multiple times, set the field to control the recheck time.ipWhitelist: IP addresses that bypasses country check directly, formats:xxx.xxx.xxx.xxx: Single IP address, allow*for wildcardxxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy: IP address segment
allowJoinWhenGeoFail: Allow players to join when the geo-location service fails.allowPrivateAddress: Allow players with private IP addresses to join, range:- 10.0.0.0 - 10.255.255.255
- 172.16.0.0 - 172.31.255.255
- 192.168.0.0 - 192.168.255.255
allowLocalAddress: Allow players with local IP addresses to join.
Provider
We use IpLocation API to check the location of clients.
Available Versions
How to Install Fabric-GeoLogin on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "Fabric-GeoLogin". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.21.9, 1.21.8 (+2 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Fabric-GeoLogin server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.
Is Fabric-GeoLogin compatible with fabric?
Fabric-GeoLogin officially supports fabric for Minecraft 1.21.10, 1.21.9, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Fabric-GeoLogin – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Fabric-GeoLogin consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Fabric-GeoLogin with just one click on your server.