经过众多玩家的请求,这款插件终于迎来了重大更新。我决定加入一些新特性,包括对 1.13 版本的支持,并升级至 proxycheck.io 的 v2 API。
请注意:配置文件有变动,请删除旧配置以生成新的。
请注意2:本插件目前与 PaperSpigot 兼容性不佳,在 Spigot 官方核心外,我暂不提供支持。
AntiProxy 是一款能在玩家登录时,利用在线服务检查其 IP 地址的插件。它能确保玩家从家用电脑连接的 IP 是真实地址,而非 VPN、Tor 节点或代理。
附注: PlayerLogin 事件可能会触发多次,导致 NotifyAdmin 消息可能较为频繁。我将在未来的更新中修复此问题(如果仍未修复,请告知我)。同时,我正在寻找 Beta 测试者,如有兴趣请与我联系。
已知问题:
{player} 和 {ip},请将它们分别改为 {Player} 和 {IP}。请不要在评论区提交错误报告,所有问题请到以下链接的讨论区或 Discord 中反馈:
主命令基础为 /AntiProxy 或别名 /ap。
/AntiProxy help - 显示帮助菜单。(所需权限:antiproxy.help)/AntiProxy reload - 重载所有配置文件。/AntiProxy get [whitelist/blacklist] - 输出已添加到相应列表的 IP。/AntiProxy [whitelist/blacklist] [add/remove] <IP> - 从列表中添加或移除指定 IP。注意: 所有权限均在插件启动时通过配置文件设置。
Options:
# UseLightWeight - 选择用于检查IP的数据库。false = IpQualityScore,true = ProxyCheck
UseLightweight: true
# useSSL - 是否使用安全连接查询IP(可能增加15毫秒以上延迟)
useSSL: true
# APIKey - 从所选服务商处获取的API密钥
APIKey: "APIHere"
# APITimeout - 数据库超时时间(毫秒),超时后将抛出错误
APITimeout: 5000
# Strictness - 仅在 UseLightWeight = false 时生效。决定数据库对IP检查的严格程度,范围0-5
Strictness: 1
# PunishmentType - 仅适用于Spigot服务器,不适用于BungeeCord。可选值:Kick, Ban, IPBan
PunishmentType: "Kick"
# AutoBlacklist - 是否将检测到的代理IP自动加入黑名单文件
AutoBlacklist: true
Messages:
# Prefix - 用于显示踢出/封禁执行者的前缀
Prefix: "&9&l[AntiProxy]"
# PunishmentMessage - 玩家因使用代理被惩罚时(踢出/封禁)收到的消息
PunishmentMessage: "You are not allowed to join this server with Proxies."
# BlackListPunishMessage - IP位于黑名单的玩家尝试加入时收到的消息
BlackListPunishMessage: "You are blacklisted from joining this server."
# NoPermission - 玩家无权限执行命令时收到的消息
NoPermission: "You do not have permission for this command!"
# ReloadMessage - 执行 /reload 命令后显示的消息
ReloadMessage: "Config Reloaded Successfully."
# BlackListAddedMessage / WhiteListAddedMessage - IP被成功添加到列表时显示的消息
BlackListAddedMessage: "Added IP Successfully to BlackList."
WhiteListAddedMessage: "Added IP Successfully to WhiteList."
# BlackListRemovedMessage / WhiteListRemovedMessage - IP被成功从列表移除时显示的消息
BlackListRemovedMessage: "Removed IP Successfully from BlackList."
WhiteListRemovedMessage: "Removed IP Successfully from WhiteList."
# IPNotInList / IPExistsInList - 因IP不存在于列表或已存在而导致添加/移除操作失败时的消息
IPNotInList: "IP does not exist in current List."
IPExistsInList: "IP already exists in current List."
# NotifyAdminMessage: 当玩家尝试使用代理登录或IP位于黑名单时,发送给所有拥有 NotifyAdmin 权限的玩家的消息
NotifyAdminMessage: "Player {Player} tried to login with a potential proxy with IP: {IP}"
# GetBlackListColor / GetWhiteListColor - 在聊天中列出IP时使用的颜色代码
GetBlackListColor: "&9"
GetWhiteListColor: "&9"
# WhiteListHeader / BlackListHeader - 在聊天中列出IP前显示的标题
WhiteListHeader: "&9AntiProxy WhiteListed IPs"
BlackListHeader: "&9AntiProxy BlackListed IPs"
Permissions:
Reload: "AntiProxy.Reload"
WhiteList: "AntiProxy.WhiteList"
BlackList: "AntiProxy.BlackList"
NotifyAdmin: "AntiProxy.Notify"
GetBlackListPermission: "AntiProxy.GetBlackList"
GetWhiteListPermission: "AntiProxy.GetWhiteList"所有消息都支持颜色代码。
(以下变量仅在 useLightweight = false 时生效)
{Prefix} - 配置中定义的前缀。{asn} - IP 所属的 ASN 节点。{country} - IP 所在国家。{region} - IP 所在地区。{city} - IP 所在城市。{lat} / {lon} - IP 的地理坐标(误差约100英里内)。{timezone} - IP 所在时区。{host} - IP 的主机名。{score} - API 给出的IP评分。{status} - 查询状态(成功或失败)。{message} - API 在信息缺失或失败时返回的消息。{requestID} - API 为此查询分配的ID。{newline} - 强制换行。{Player} - 正在登录的玩家名。{IP} - 玩家登录所用的 IP 地址。友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人次:3,030,722 | 今日访问人次:14,850 | 昨日访问人次:11,147
独立 IP:5,126 | 最近24小时独立访客:7,034
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6