? wapeB - 终极 Minecraft 处罚系统、AI 哨兵 & 开发者 API
最新版本:v1.0.13
wapeB 是一个现代、高性能的 Paper/Spigot 处罚管理系统,专为 Minecraft 1.18.2 – 1.21.x 构建,并完全支持 Velocity Proxy。它集成了高级处罚套件、基于 AI 的自动聊天审核、多服务器作用域、可扩展的数据库导入器框架、全面的 Java API、Bukkit 自定义事件、动态命令覆盖以及内置的 HTTP REST Web API。
✨ 主要功能
- ? 完整的处罚套件:Ban(封禁)、TempBan(临时封禁)、IP-Ban(IP 封禁)、Temp-IP-Ban(临时 IP 封禁)、Mute(静音)、TempMute(临时静音)、IP-Mute(IP 静音)、Temp-IP-Mute(临时 IP 静音)、Warn(警告)、Kick(踢出)、KickAll(全员踢出)、Freeze(冻结)和 Lockdown(锁定)。
- ? 可扩展的导入器与自动检测:一键自动化数据库/文件迁移,支持 LiteBans (SQLite/MySQL)、AdvancedBan (SQLite/MySQL) 和 Vanilla JSON (
banned-players.json, banned-ips.json)。
- ⚡ Velocity Proxy 支持与配套插件:通过
wapeb:channel 实现即时跨服务器插件消息传递,并通过 wapeb-velocity 在代理层面执行断开连接操作。
- ? 证据与证明系统 (
/proof):通过命令 (-proof:<url>)、GUI、Webhook、Java API 或 REST,将可点击的截图/视频证据 URL 直接附加到处罚记录中。
- ? 自动聊天快照:内存中的循环缓冲区会在执行处罚时自动捕获并冻结相关的聊天记录,生成人类可读的 JSON 文件,并保留清理策略。
- ⚡ 快速处罚模板与快捷方式:提供快速的数字和自定义命令快捷方式(例如
/ban Player #1、/mute Player #spam、/warn Player #toxicity),并自动继承静默标志。
- ? 高级小号检测与豁免审计:检测通过 IP 或
/24 子网关联的替代账号,并提供完整的审计日志 (exemptBy, exemptDate) 和白名单管理 (/alts, /altexempt)。
- ? 多服务器作用域 (
activeserver vs server):可针对特定服务器(如 survival、server1,server2)进行操作,或应用于整个网络(global),同时保留来源服务器的审计轨迹。
- ? Sentinel AI 自动审核:支持多 API 密钥池与轮询故障转移,结合本地启发式预过滤和 Groq AI 聊天违规分析,实现零服务器延迟。
- ? 内置赛博朋克风格 Web 面板:现代化的霓虹/玻璃拟态 Web 界面,支持游戏内双因素认证 (2FA) 登录、Chart.js 统计图表以及实时处罚管理。
- ? 高级冻结 / 屏幕共享系统:在冻结状态下阻止移动、PvP、方块破坏和物品掉落,并强制执行登出。
- ? 服务器锁定模式 (
/lockdown):在维护或遭受机器人攻击时,立即限制服务器访问权限,支持自定义踢出消息。
- ⏱️ 智能动态时长:
%duration% 会自动计算距离过期的确切剩余时间,并在实时显示中进行向上取整处理。
- ⚙️ 动态命令别名:通过
config.yml 或运行时 API 自定义或翻译任何命令(例如 /ban → /kitiltas,/mute → /nemit)。
- ? 开发者 Java API 与自定义事件:支持完整的事件取消、执行者名称覆盖、可扩展的导入器注册,以及与外部插件(如 DiscordSRV、SyncCord、自定义机器人)的无缝集成。
- ? 内置 HTTP REST Web API:支持使用
X-API-Key 身份验证进行远程处罚管理,适用于 Web 仪表板和外部服务。
- ? 员工与玩家历史记录追踪:追踪员工表现 (
/staffhistory) 和玩家完整的处罚历史 (/history)。
- ? 多存储后端:支持 MySQL / MariaDB(HikariCP 连接池)、SQLite 和 YAML 存储。
? 命令与权限
| 命令 |
用法 |
描述 |
权限 |
/ban |
/ban <玩家/IP> [时间] [原因/#代码] [-s] [-server] [-proof:url] |
封禁或临时封禁一名玩家 |
wapeb.ban |
/banip |
/banip <玩家/IP> [时间] [原因/#代码] [-s] [-server] [-proof:url] |
封禁 IP/CIDR 子网 |
wapeb.banip |
| /mute | /mute <玩家/IP> [持续时间] [原因/#代码] [-s] [-server] [-proof:url] | 静音或临时静音一名玩家 | wapeb.mute |
| /muteip | /muteip <玩家/IP> [持续时间] [原因/#代码] [-s] [-server] [-proof:url] | 对一名玩家执行 IP 静音 | wapeb.muteip |
| /warn | /warn <player> [reason/#code] [-s] [-server] [-proof:url] | 警告一名玩家 | wapeb.warn |
| /kick | /kick <player> [reason/#code] [-s] [-server] [-proof:url] | 将一名玩家踢出服务器 | wapeb.kick |
| /kickall | /kickall [reason] | 踢出所有非工作人员玩家 | wapeb.kickall |
| /proof | /proof <set\|remove\|reset\|check> <id> [url] | 检查、设置或移除处罚证据链接 | wapeb.proof |
| /unban | /unban <player/ip> [reason] [-s] | 解禁一名玩家或 IP 地址 | wapeb.unban |
| /unmute | /unmute <玩家/IP地址> [原因] [-s] | 解除对玩家或 IP 地址的静音 | wapeb.unmute |
| /unwarn | /unwarn <玩家> [id/all] | 移除玩家的警告 | wapeb.unwarn |
| | /freeze | /freeze <玩家> [原因] | 冻结/解冻玩家以进行屏幕共享 | wapeb.freeze |
| | /checkban | /checkban <玩家/ip> | 检查当前的封禁状态 | wapeb.checkban |
| | /checkmute | /checkmute <玩家/ip> | 检查当前的静音状态 | wapeb.checkmute |
| /history | /history <玩家> | 查看玩家的完整处罚记录 | wapeb.history |
| /staffhistory | /staffhistory <工作人员> | 查看工作人员的处罚操作 | wapeb.staffhistory |
| /alts | /alts <player> | 查看通过 IP/CIDR 关联的替代账号 | wapeb.alts |
| /altexempt | /altexempt <player> [add/remove] | 将账号加入免检测白名单 | wapeb.altexempt |
| /lockdown | /lockdown [on/off] [reason] | 切换服务器锁定模式 | wapeb.lockdown |
| /punish-rollback | /punish-rollback <id> | 撤销特定处罚 | wapeb.rollback |
| /punish | /punish <player> | 打开处罚 GUI / 模板选择界面 | wapeb.punish |
| /wapeb | /wapeb <重载\|取消链接\|导入> | 主插件管理与导入命令 | wapeb.admin |
☕ 开发者 API & JitPack 设置
? 完整 API 参考: GitHub API 文档
Gradle (build.gradle)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly 'com.github.lftkraft:wapeB:v1.0.13-alpha.3'
}
Maven (pom.xml)
<dependencies>
<dependency>
<groupId>com.github.lftkraft</groupId>
<artifactId>wapeB</artifactId>
<version>v1.0.13-alpha.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
Java API 示例
import dev.azuyo.wapeB.WapeB;
import dev.azuyo.wapeB.api.WapeBAPI;
WapeBAPI api = WapeB.getApi();
// 检查玩家或其小号是否被封禁
boolean isBanned = api.isBannedForPlayerOrAlt("PlayerName");
// 发出全网封禁并附带证据
api.banPlayer("PlayerName", "检测到作弊", "Console", 86400000L, false, false, "global", "lobby", "https://youtu.be/proof123");
// 发出仅限服务器的静音处罚
api.mutePlayer("PlayerName", "聊天刷屏", "Admin", 3600000L, false, false, "survival");
// 使用预定义模板快速处罚
api.punishWithTemplate(targetUuid, "ban", "cheating", "Admin", false);
? HTTP REST Web API
wapeB 包含一个内置的 HTTP REST 服务器,用于远程 Web 仪表板和外部机器人。
- 认证头部:
X-API-Key: YOUR_API_KEY_HERE
GET /api/player/checkban?player=PlayerName
GET /api/player/checkmute?player=PlayerName
GET /api/player/punishments?player=PlayerName
GET /api/punish/active
GET /api/punish/proof?id=105
GET /api/punish/snapshot?id=105
GET /api/player/recentchat?player=PlayerName&limit=30
GET /api/import/sources
POST /api/import/execute
GET /api/altexempt/list
GET /api/altexempt/check?player=PlayerName
POST /api/altexempt/set
GET /api/templates/list
GET /api/templates/get?key=cheating
POST /api/templates/save
POST /api/templates/delete
POST /api/punish/execute(支持 active_server、origin_server、proof)
POST /api/punish/remove
POST /api/lockdown
? 兼容性与支持
- Discord 社区: dc.coolnw.eu
- 支持平台: Paper、Purpur、Spigot(1.18.2 – 1.21.x)及 Velocity 代理
- Java 要求: Java 17+
- 源代码与问题追踪器: GitHub 仓库
- Minecraft 惩罚插件,免费的 LiteBans 替代品,Velocity 封禁插件,Paper 封禁插件,AI 聊天审核,冻结屏幕共享插件,Minecraft REST API 惩罚
? wapeB - Ultimate Minecraft Punishment System, AI Sentinel & Developer API
newest: v1.0.13
wapeB is a modern, high-performance Paper/Spigot punishment management system built for Minecraft 1.18.2 – 1.21.x with full Velocity Proxy support. It combines an advanced punishment suite, AI-powered automatic chat moderation, multi-server scoping, an extensible database importer framework, a comprehensive Java API, Bukkit Custom Events, dynamic command overrides, and a built-in HTTP REST Web API.
✨ Key Features
- ? Complete Punishment Suite: Ban, TempBan, IP-Ban, Temp-IP-Ban, Mute, TempMute, IP-Mute, Temp-IP-Mute, Warn, Kick, KickAll, Freeze, and Lockdown.
- ? Extensible Importers & Auto-Detection: One-click automated database/file migration for LiteBans (SQLite/MySQL), AdvancedBan (SQLite/MySQL), and Vanilla JSON (
banned-players.json, banned-ips.json).
- ⚡ Velocity Proxy Support & Companion Plugin: Instant cross-server plugin messaging (
wapeb:channel) and proxy-level disconnects with wapeb-velocity.
- ? Evidence & Proof System (
/proof): Attach clickable screenshot/video proof URLs directly to punishments via commands (-proof:<url>), GUI, Webhook, Java API, or REST.
- ? Automated Chat Snapshots: In-memory rolling buffer automatically captures and freezes relevant chat history upon punishment into human-readable JSON files with retention cleanup.
- ⚡ Quick-Punish Templates & Shortcuts: Fast numeric and custom command shortcuts (e.g.
/ban Player #1, /mute Player #spam, /warn Player #toxicity) with automatic silent flag inheritance.
- ? Advanced Alt-Account & AltExempt Audit: Detect alternative accounts linked by IP or
/24 subnets with full audit logging (exemptBy, exemptDate) and whitelist management (/alts, /altexempt).
- ? Multi-Server Scoping (
activeserver vs server): Target specific servers (survival, server1,server2) or apply network-wide (global), while preserving the origin server audit trail.
- ? Sentinel AI Auto-Moderation: Multi-API key pool with round-robin failover, local heuristic pre-filtering, and Groq AI chat violation analysis with zero server lag.
- ? Included Cyberpunk Web Panel: A modern Neon/Glassmorphism web interface with in-game 2FA login, Chart.js statistics, and live punishment management.
- ? Advanced Freeze / Screenshare System: Prevents movement, PvP, block breaking, and item drops while frozen, with automatic logout enforcement.
- ? Server Lockdown Mode (
/lockdown): Instantly restrict server entry during maintenance or bot raids with customizable kick messages.
- ⏱️ Smart Dynamic Duration:
%duration% automatically calculates the exact remaining time until expiration in real time with ceiling rounding.
- ⚙️ Dynamic Command Aliases: Customize or translate any command (e.g.
/ban → /kitiltas, /mute → /nemit) via config.yml or runtime API.
- ? Developer Java API & Custom Events: Full event cancellation, executor name overrides, extensible importer registration, and seamless integration for external plugins (DiscordSRV, SyncCord, custom bots).
- ? Built-in HTTP REST Web API: Remote punishment administration with
X-API-Key authentication for web dashboards and external services.
- ? Staff & Player History Tracking: Track staff member performance (
/staffhistory) and full player punishment history (/history).
- ? Multi-Storage Backend: Supports MySQL / MariaDB (HikariCP connection pool), SQLite, and YAML storage.
? Commands & Permissions
| Command |
Usage |
Description |
Permission |
/ban |
/ban <player/ip> [time] [reason/#code] [-s] [-server] [-proof:url] |
Ban or Temp-Ban a player |
wapeb.ban |
/banip |
/banip <player/ip> [time] [reason/#code] [-s] [-server] [-proof:url] |
IP/CIDR Subnet Ban |
wapeb.banip |
/mute |
/mute <player/ip> [time] [reason/#code] [-s] [-server] [-proof:url] |
Mute or Temp-Mute a player |
wapeb.mute |
/muteip |
/muteip <player/ip> [time] [reason/#code] [-s] [-server] [-proof:url] |
IP-Mute a player |
wapeb.muteip |
/warn |
/warn <player> [reason/#code] [-s] [-server] [-proof:url] |
Warn a player |
wapeb.warn |
/kick |
/kick <player> [reason/#code] [-s] [-server] [-proof:url] |
Kick a player from the server |
wapeb.kick |
/kickall |
/kickall [reason] |
Kick all non-staff players |
wapeb.kickall |
/proof |
/proof <set|remove|reset|check> <id> [url] |
Inspect, set, or remove punishment evidence URL |
wapeb.proof |
/unban |
/unban <player/ip> [reason] [-s] |
Unban a player or IP address |
wapeb.unban |
/unmute |
/unmute <player/ip> [reason] [-s] |
Unmute a player or IP address |
wapeb.unmute |
/unwarn |
/unwarn <player> [id/all] |
Remove warnings from a player |
wapeb.unwarn |
/freeze |
/freeze <player> [reason] |
Freeze/unfreeze player for screenshare |
wapeb.freeze |
/checkban |
/checkban <player/ip> |
Inspect active ban status |
wapeb.checkban |
/checkmute |
/checkmute <player/ip> |
Inspect active mute status |
wapeb.checkmute |
/history |
/history <player> |
View full punishment history of a player |
wapeb.history |
/staffhistory |
/staffhistory <staff> |
View staff member punishment actions |
wapeb.staffhistory |
/alts |
/alts <player> |
View alternative accounts linked by IP/CIDR |
wapeb.alts |
/altexempt |
/altexempt <player> [add/remove] |
Whitelist accounts from alt detection |
wapeb.altexempt |
/lockdown |
/lockdown [on/off] [reason] |
Toggle server lockdown mode |
wapeb.lockdown |
/punish-rollback |
/punish-rollback <id> |
Undo specific punishment |
wapeb.rollback |
/punish |
/punish <player> |
Open punishment GUI / template selection |
wapeb.punish |
/wapeb |
/wapeb <reload|unlink|import> |
Main plugin management & import command |
wapeb.admin |
☕ Developer API & JitPack Setup
? Full API Reference: GitHub API Documentation
Gradle (build.gradle)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly 'com.github.lftkraft:wapeB:v1.0.13-alpha.3'
}
Maven (pom.xml)
<dependencies>
<dependency>
<groupId>com.github.lftkraft</groupId>
<artifactId>wapeB</artifactId>
<version>v1.0.13-alpha.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
Java API Example
import dev.azuyo.wapeB.WapeB;
import dev.azuyo.wapeB.api.WapeBAPI;
WapeBAPI api = WapeB.getApi();
// Check if a player or alt account is banned
boolean isBanned = api.isBannedForPlayerOrAlt("PlayerName");
// Issue a network-wide ban with proof attachment
api.banPlayer("PlayerName", "Cheating detected", "Console", 86400000L, false, false, "global", "lobby", "https://youtu.be/proof123");
// Issue a server-specific mute
api.mutePlayer("PlayerName", "Chat Spam", "Admin", 3600000L, false, false, "survival");
// Quick-punish with pre-defined template
api.punishWithTemplate(targetUuid, "ban", "cheating", "Admin", false);
? HTTP REST Web API
wapeB includes a built-in HTTP REST server for remote web dashboards and external bots.
- Authentication Header:
X-API-Key: YOUR_API_KEY_HERE
GET /api/player/checkban?player=PlayerName
GET /api/player/checkmute?player=PlayerName
GET /api/player/punishments?player=PlayerName
GET /api/punish/active
GET /api/punish/proof?id=105
GET /api/punish/snapshot?id=105
GET /api/player/recentchat?player=PlayerName&limit=30
GET /api/import/sources
POST /api/import/execute
GET /api/altexempt/list
GET /api/altexempt/check?player=PlayerName
POST /api/altexempt/set
GET /api/templates/list
GET /api/templates/get?key=cheating
POST /api/templates/save
POST /api/templates/delete
POST /api/punish/execute (supports active_server, origin_server, proof)
POST /api/punish/remove
POST /api/lockdown
? Compatibility & Support
- Discord Community: dc.coolnw.eu
- Supported Platforms: Paper, Purpur, Spigot (1.18.2 – 1.21.x) & Velocity Proxy
- Java Requirement: Java 17+
- Source Code & Issue Tracker: GitHub Repository
- minecraft punishment plugin, free litebans alternative, velocity ban plugin, paper ban plugin, ai chat moderation, freeze screenshare plugin, minecraft rest api punishment
评论 0
登录后参与评分
还没有评论,来抢沙发吧