跳到正文

Fabric-GeoLogin

作者:Ranzeplay

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

Fabric-GeoLogin 支持哪些 Minecraft 版本?

Fabric-GeoLogin 支持 Minecraft Java 版 1.21.4–1.21.10,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Fabric-GeoLogin 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Ranzeplay 的其他作品

查看全部 →