? EpicGuard
一款适用于最新 Minecraft 版本的简易反机器人插件。
✅ 支持的平台 / 最新版本要求
- Paper 1.20.1+ (支持所有 Paper 分支)
- Velocity 3.3+
- Java 17
✨ 功能
- 总共 8 种可配置的反机器人检查:
- 地理位置检查 - 国家/城市黑名单或白名单。
- VPN/代理检查 - 可配置的服务和缓存。
- 昵称检查 - 使用正则表达式阻止特定的昵称模式。
- 重连检查 - 要求玩家使用相同的地址和昵称组合重新加入服务器。
- 服务器列表检查 - 要求在连接前 ping 服务器(将其添加到服务器列表中)。
- 设置检查 - 确保玩家在加入后发送设置数据包(原版客户端行为)。
- 紧急封锁 - 如果传入连接过多,暂时阻止新的连接。
- 名称相似度检查 (BETA)
- 账户限制。
- 支持 SQLite/MySQL。
- 实时动作栏统计信息。
- 自动白名单。
- 控制台过滤器。
? 命令与权限
要使用命令,请赋予自己 epicguard.admin 权限。
在不同平台上还有额外的别名可用,例如 /guardvelocity 或 /epicguardpaper
| 命令 | 描述 |
|---|---|
| /guard help | 显示所有可用命令。 |
| /guard reload | 重新加载配置和消息。 |
| /guard whitelist <add/remove> <nick/address> | 将地址或昵称添加/移除白名单。 |
| /guard blacklist <add/remove> <nick/address> | 将地址或昵称添加/移除黑名单。 |
| /guard analyze <nick/address> | 显示指定地址或昵称的详细信息。 |
| /guard status | 在动作栏上切换实时攻击信息。 |
| /guard save | 强制保存到数据库。 |
? 在项目中使用 EpicGuard API:
API 并不高级,目前你能用它做的事情不多。
Gradle (Kotlin)
repositories {
// Snapshots
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
// Releases
mavenCentral()
}
dependencies {
compileOnly("com.github.4drian3d:epicguard-api:[VERSION HERE]")
}
Gradle (Groovy)
repositories {
maven {
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
mavenCentral()
}
dependencies {
compileOnly 'com.github.4drian3d:epicguard-api:[VERSION OR COMMIT ID HERE]'
}
Maven
<repositories>
<!-- Only for Snapshots-->
<repository>
<id>sonatype-oss-snapshots1</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.4drian3d</groupId>
<artifactId>epicguard-api</artifactId>
<version>[VERSION HERE]</version>
<scope>provided</scope>
</dependency>
</dependencies>
使用 API
确保在你的插件加载之前 EpicGuard 已经完全加载。// Importing the API class.
import me.xneox.epicguard.core.EpicGuardAPI;
import me.xneox.epicguard.core.manager.AttackManager;
public class EpicGuardAPIExample {
// Accessing the EpicGuardAPI instance.
EpicGuardAPI api = EpicGuardAPI.INSTANCE;
// Obtaining the AttackManager instance:
AttackManager attackManager = api.attackManager();
// Checking if server is under attack.
boolean isUnderAttack = attackManager.isUnderAttack();
// checking current connections per second.
int cps = attackManager.connectionCounter();
// Checking user's country:
String countryId = api.geoManager().countryCode("127.0.0.1");
}
?️ 隐私免责声明
- 此插件会连接各种外部服务,以完全实现其预期功能。
- MaxMind 的 GeoLite2 数据库(包含国家和城市数据)会在首次启动时下载,并每周更新。对您用户的地理位置查询将在您的服务器本地完成。
- 在默认配置下,连接用户的 IP 地址会被发送至 ,以检查他们是否未使用代理或 VPN。
- IP 地址及其关联的昵称会存储在本地数据库中 (以纯文本形式(!)))。
- 此插件会定期检查本仓库中发布的最新版本。此功能可以禁用。
- 不存在任何指标系统或其他类型的数据收集机制。
这是 EpicGuard 针对 Paper、Waterfall 和 Velocity 较新版本的一个更新版本。
? EpicGuard
A simple AntiBot plugin for newest Minecraft versions.
✅ Supported platforms / Latest release requirements
- Paper 1.20.1+ (all paper forks are supported)
- Velocity 3.3+
- Java 17
✨ Features
- A total of 8 configurable antibot checks:
- Geographical check - country/city blacklist or whitelist.
- VPN/Proxy check - configurable services and caching.
- Nickname check - block certain nickname patterns using regex.
- Reconnect check - require re-joining the server with an identical pair of address and nickname.
- Server list check - require pinging the server before connecting (adding it to the server list).
- Settings check - make sure that player sends a settings packet after joining (vanilla client behaviour).
- Lockdown - temporarily block incoming connections if there are too many of them.
- Name similarity check (BETA)
- Account limit.
- SQLite/MySQL support.
- Live actionbar statistics.
- Automatic whitelisting.
- Console filter.
? Commands & Permissions
To be able to use commands, give yourself the epicguard.admin permission.
On different platforms there are additional aliases available, such as /guardvelocity or /epicguardpaper
| Command | Description |
|---|---|
| /guard help | Displays all available commands. |
| /guard reload | Reloads config and messages. |
| /guard whitelist <add/remove> <nick/address> | Whitelist/unwhitelist an address or nickname. |
| /guard blacklist <add/remove> <nick/address> | Blacklist/unblacklist an address or nickname. |
| /guard analyze <nick/address> | Displays detailed information about the specified address or nickname. |
| /guard status | Toggles live attack information on actionbar. |
| /guard save | Forces save to the database. |
? Using EpicGuard API in your project:
The api is not very advanced, and there is not much you can do with it for now.
Gradle (Kotlin)
repositories {
// Snapshots
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
// Releases
mavenCentral()
}
dependencies {
compileOnly("com.github.4drian3d:epicguard-api:[VERSION HERE]")
}
Gradle (Groovy)
repositories {
maven {
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
mavenCentral()
}
dependencies {
compileOnly 'com.github.4drian3d:epicguard-api:[VERSION OR COMMIT ID HERE]'
}
Maven
<repositories>
<!-- Only for Snapshots-->
<repository>
<id>sonatype-oss-snapshots1</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.4drian3d</groupId>
<artifactId>epicguard-api</artifactId>
<version>[VERSION HERE]</version>
<scope>provided</scope>
</dependency>
</dependencies>
Using the API
Make sure that EpicGuard is fully loaded before your plugin.// Importing the API class.
import me.xneox.epicguard.core.EpicGuardAPI;
import me.xneox.epicguard.core.manager.AttackManager;
public class EpicGuardAPIExample {
// Accessing the EpicGuardAPI instance.
EpicGuardAPI api = EpicGuardAPI.INSTANCE;
// Obtaining the AttackManager instance:
AttackManager attackManager = api.attackManager();
// Checking if server is under attack.
boolean isUnderAttack = attackManager.isUnderAttack();
// checking current connections per second.
int cps = attackManager.connectionCounter();
// Checking user's country:
String countryId = api.geoManager().countryCode("127.0.0.1");
}
?️ Privacy disclaimers
- This plugin connect to various external services, to fully work as intended.
- MaxMind's Geolite2 databases (country and city) are downloaded at the first startup and updated every week. Geolocation of your users is checked locally on your server.
- In the default configuration, IP addresses of connecting users are sent to to check if they're not using a proxy or a VPN.
- IPs and nicknames associated with them are stored in the local database (as plain text(!)).
- This plugin periodically checks the latest version released in this repository. This feature can be disabled.
- There is no metrics system or any other kind of data collection.
This is an updated version of EpicGuard for recent versions of Paper, Waterfall and Velocity.
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EpicGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
已更新至 MiniPlaceholders v3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧