FoxGate 是一款面向 Minecraft 服务器的 AntiVPN 插件,旨在限制非真实流量进入服务器,帮助服主检测并拦截 VPN、代理及其他可疑连接。
1.3.x 起即可适配HeadersmaxFlagsFoxGate 支持多种数据库存储方案,全部通过 HikariCP 提供更好的性能。
Custom 适用于你希望接入其他本地或远程数据库的情况/foxgate reload/foxgate db reconnectdatabase:
type: H2
table: foxgate
cache_database: false
whitelist_database: falsetypetable1.0.5-pre4 或更早) 使用的数据,请使用:- `vpn_cache`cache_databasewhitelist_database- MySQL- MariaDB- PostgreSQLFoxGate 允许你按自己的需求自定义消息显示效果。
Click here to see 'Dependencies' tab from BuiltByBit .默认配置已可拦截大多数 VPN,但你也可以自行扩展。
HeadersVLsenabled: true
key: ''
output_errors: true
model: JSON
vls: '2'
url: https://central.zowi.gay/check/{IP}
headers: {}
values:
fields:
- malicious
type: boolean
conditions:
bypass: {}
flag: {}enabledkeyheaders 或 url 中的 {KEY} 变量output_errorsmodel- `HTML`- `JSON`- `CONTAINS`vlsurlheaders[] 或 {} 可关闭values.fields{} 则可禁用字段检查values.typeboolean{IP} - 返回玩家 IP{KEY} - 返回 key 字段的值conditions 用于高级控制检测或绕过逻辑1、2 等)对应一组条件{field} 引用响应字段,例如 {score}=!=>>=<<=JSON 与 HTMLHTML 模式下,请始终使用 {foxgate_check} 作为字段bypass: {}flag: {}https://github.com/IDCTeam-Group/FoxGate-Issues/wiki/Services当玩家被检测为使用 VPN 或 Proxy 时,插件会自动将该信息保存到数据库中。
IP address 在一段可配置的小时数内不会重复请求 APIFoxGate 内置 IPLimiter 模块,可限制单个 IP 的最大连接数,用于应对多开与机器人。
enable: true
maximum: 3
time: DISABLEenablemaximum- `3`time- `30m`DISABLE 可关闭时间重置30m 且 maximum=3FoxGate 提供了易用的白名单命令,可让用户绕过模块检测。
/fg whitelist <add/remove/info/purge>addremoveinfopurgeconfig.yml 自动更新- Flamecord- VeloFlamePassive mode默认配置中的服务列表都至少测试过一次,但它们是否始终可用仍取决于服务本身的状态,以及其在配置中的接入方式。
our wiki in GitHub .FoxGate 使用 bStats 收集统计数据。
bStats.org 收集-pv 标识config.yml 关闭数据收集1.0.2 (plus) 与 1.1.0 (free) 起:github.comdiscord.idcteam.xyz你可以在插件默认列表之外,自行接入自定义的 VPN 检测 API。只需参考配置文件中其他 API 的写法,或直接使用下方模板进行配置;如果接入后未按预期工作,可以通过 /foxgate verbose 查看 API 返回内容并排查问题。
/foxgate verbose'servicename':
# Enable this service?
enabled: true
# Add this field in case requere key.
key: "KEY"
# Add the model to request the page, this
# use JSON in case is invalid the value or
# is not set.
#
# Supported:
# JSON, HTML
model: "JSON"
# This field is necessary. Insert your
# service URL.
#
# Remember:
# %IP% = Return player's ip.
# %KEY% = Return 'key' field value.
url: "https://example-antivpn.com/check/%IP%?key=%KEY%"
# Headers in case is necessary.
#
# Set to: 'headers: []' to disable or only don't
# add in the settings for this service.
headers:
'Example-header': 'KEY'
# Values to check.
# This equal is necessary to determine.
values:
# Fields to check.
# In case you disable this with adding
# 'fields: {}' to exclude and only get if
# 'type' option contains in the final request.
# This is a example.
fields:
- "vpn"
# Type to determine.
# If this return true/false, use "boolean", in case
# this is string, only put string, example:
#
# type: 'yes'
type: booleanenabledkeymodel- `JSON`- `HTML`JSON。url- `%IP%` = 返回玩家的 IP- `%KEY%` = 返回 `key` 字段的值headers- `headers: []`valuesfields- `fields: {}`type 选项时进行判断。type- `boolean`- `type: 'yes'`url 是否正确key 是否有效headers 是否必需fields 与 type 是否与 API 实际返回格式一致/foxgate verbose 查看返回内容后再进一步调整配置。友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:1,247,681 | 历史访问人次:1,549,696
今日访问人数:4,933 | 今日访问人次:5,137
昨日访问人数:27,770 | 昨日访问人次:30,933
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6