▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Fabric-GeoLogin
Fabric-GeoLogin

Fabric-GeoLogin

A fabric server-side mod that restricts login countries in the real world

170
3

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 to false if you don't want to let players to join when failing to validate their location.
  • useWhitelist: Countries in countries will be blocked from logging in if set to false, only the countries in countries are allowed to join if set to true.
  • 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 wildcard
    • xxx.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.

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:1 год назад
Обновлён:6 месяцев назад
Главная