1 320
收录服务器
1 837
注册
43 099
玩家
Anti-Proxy 反代理
阻止那些讨厌的代理用户
作 者 DefianceCoding
发布时间 2017年3月18日
支持核心 Spigot
原生版本
支持版本 1.7,1.8,1.9,1.10,1.11,1.12,1.13
点此下载

🛡️ AntiProxy 插件

AntiProxy 是一款用于 Minecraft 服务器的反代理插件,旨在检测并阻止玩家使用 VPN、Tor 节点或代理 IP 连接服务器。它支持 Spigot 和 BungeeCord,并提供灵活的配置选项和全面的黑名单/白名单功能。

✨ 功能特性

  • 同时支持 BungeeCord 和 Spigot
  • 反代理/反 VPN/反 Tor 阻止
  • IP 白名单/黑名单
  • 轻量级选项
  • 针对踢出/惩罚消息的扩展占位符
  • SSL 支持(可选)
  • 完全可定制
  • 插件日志记录

📜 使用条款

  • 禁止反编译或复制插件内容。
  • 禁止将我的作品冒充为自己的作品。
  • 禁止重新分发插件,除非提供此页面的链接。
  • 禁止转售/试图出售插件。

🔑 API 密钥获取

⚙️ 命令

  • 主命令:/AntiProxy 或别名 /ap
  • /AntiProxy help:显示帮助菜单 (权限节点: antiproxy.help)
  • /AntiProxy reload:重新加载所有配置文件
  • /AntiProxy get [whitelist/blacklist]:输出已添加到列表中的 IP
  • /AntiProxy [whitelist/blacklist] [add/remove] <IP>:添加或移除 IP 到白名单/黑名单

🔑 权限

所有权限均在启动时通过配置文件设置。

⚙️ 配置文件说明


Options:
  #UseLightWeight - this will choose which database to check the ip with
  #false = IpQualityScore true = ProxyCheck
  UseLightweight: true
  #UseSSL = Weather or not to use a secure connection for looking up IP's (can add 15+ MS Latency)
  useSSL: true
  #APIKey = API Key from your selected host
  APIKey: "APIHere"
  #APITimeout = Amount of time in milliseconds till the database gives up and throws an error
  APITimeout: 5000
  #Strictness = This is only used if UseLightWeight = false determines on a scale of 0 to 5 how strict the database will be on an IP
  Strictness: 1
  #PunishmentType = this is only avalible for Spigot based servers not bungeecord, Values = Kick, Ban, or IPBan
  PunishmentType: "Kick"
  #AutoBlacklist = this will make found ips automatically added to the blacklist file
  AutoBlacklist: true

Messages:
  #Prefix = this is used as the Source of who banned / kicked a player
  Prefix: "&9&l[AntiProxy]"
  #PunishmentMessage = this is the message that players get when getting punished via Kick Ban Or IPBan
  PunishmentMessage: "You are not allowed to join this server with Proxies."
  #BlackListPunishMessage = this is the message players get if their ip is blacklisted from the server
  BlackListPunishMessage: "You are blacklisted from joining this server."
  #NoPermission = this is the message players get when trying to run commands without permission
  NoPermission: "You do not have permission for this command!"
  #ReloadMessage = this is the message you get when you type /reload
  ReloadMessage: "Config Reloaded Successfully."
  #BlackListAddedMessage / WhiteListAddedMessage = Message when an ip is added to the list
  BlackListAddedMessage: "Added IP Successfully to BlackList."
  WhiteListAddedMessage: "Added IP Successfully to WhiteList."
  #BlackListRemovedMessage / WhiteListRemovedMessage = Message when an ip is removed from the list
  BlackListRemovedMessage: "Removed IP Successfully from BlackList."
  WhiteListRemovedMessage: "Removed IP Successfully from WhiteList."
  #IPNotInList / IPExistsInList = Message you get when trying to add/remove from the list and it fails due to already existing or not existing
  IPNotInList: "IP does not exist in current List."
  IPExistsInList: "IP already exists in current List
  #NotifyAdminMessage: this message is sent to all players with NotifyAdmin permission when a player tries to login with a proxy or is blacklisted
  NotifyAdminMessage: "Player {player} tried to login with a potential proxy with IP: {ip}"
  #GetBlackListColor / GetWhiteListColor = Color the list will be in
  GetBlackListColor: "&9"
  GetWhiteListColor: "&9"
  #WhiteListHeader / BlackListHeader = Message before the IPs get listed into chat
  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"

⚙️ 变量列表

所有消息都允许颜色代码。

PunishmentMessage

以下变量仅在使用 useLightweight = false 时有效:

  • {Prefix} = 配置文件中的前缀
  • {asn} = IP 所属的 ASN 节点
  • {country} = IP 所在的国家/地区
  • {region} = IP 所在的区域
  • {city} = IP 所在的城市
  • {lat} / {lon} = IP 位置的地理坐标(误差在 100 英里内)
  • {timezone} = IP 所在的时区
  • {host} = IP 的主机名
  • {score} = IP 从 API 获得的分数
  • {status} = 查找状态(成功或失败)
  • {message} = API 在某些信息失败时给出的消息
  • {requestID} = API 给出的查找 ID
  • {newline} = 强制文本换行

NotifyAdminMessage

  • {Player} = 登录的玩家
  • {IP} = 玩家登录所用的 IP

🤝 支持