Compatibility
Minecraft: Java Edition
1.21.4
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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 tofalse
if you don't want to let players to join when failing to validate their location.useWhitelist
: Countries incountries
will be blocked from logging in if set tofalse
, only the countries incountries
are 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.
Provider
We use IpLocation API to check the location of clients.