PlayerCrasher
概述
一款易于使用的 Minecraft 插件,通过执行命令使玩家的游戏崩溃。
需要 PacketEvents
请确保服务器上已安装 PacketEvents 库。
目录
展示

支持的平台与版本
| 平台 | 支持的版本 |
|---|---|
| Bukkit (Spigot, Paper, Folia 等) | 1.8.8 - 1.21.3 |
| Velocity | 最新主版本 |
| BungeeCord (或其分支) | 最新主版本 |
特性
- 完全异步 - 插件设计为尽可能轻量。 所有数据包修改均在异步线程中完成,因此不会阻塞主线程。
- 支持 Folia - 插件集成了 Folia,这是一个 Paper 分支,为服务器添加了区域化多线程功能。
- 崩溃检测器 - 通过同时发送心跳和事务数据包,插件可以检测玩家是否已崩溃,即使玩家仍处于连接状态。
- 可配置 - 插件高度可配置,允许您根据需要调整设置。
- 更新检查器 - 插件在启动时自动检查更新。 如果有新版本可用,将向控制台发送消息。
用法/示例
/crash (玩家名) [方法]
注意: 方法参数是可选的。如果未提供方法,插件将根据玩家的客户端版本选择最合适的方法。
方法:
Explosion(爆炸)Particle(粒子)Position(位置)
命令
/pc- 显示插件的版本和作者信息。/crash (玩家名) [方法]- 使指定玩家的游戏崩溃。/crashinfo [玩家名]- 显示指定玩家的客户端品牌和版本。
权限节点
OP(管理员)玩家默认拥有以下权限。
PlayerCrasher.Crash允许玩家使用 /crash 命令。PlayerCrasher.Bypass豁免该玩家在被他人使用 /crash 命令时免受崩溃影响。PlayerCrasher.Alerts使该玩家在另一名玩家被崩溃时收到警报。PlayerCrasher.CrashInfo- 允许玩家使用 /crashinfo 命令。PlayerCrasher.UpdateNotify使该玩家在有新版本可用时收到更新通知。
安装
- 前置要求:安装 PacketEvents。
- 下载:从 GitHub 发布页面 获取最新版本。
- 安装:将下载的插件移动到服务器的 plugins 目录中。
- 配置:在
config.yml中自定义设置。 - 重启:重启服务器以使更改生效。
从源码编译
前置要求
- Java Development Kit (JDK) 版本 21 或更高
- Git
步骤
-
克隆仓库:
git clone https://github.com/Bram1903/MinecraftPlayerCrasher.git -
进入项目目录:
cd MinecraftPlayerCrasher -
编译源码: 使用 Gradle wrapper 编译并生成插件 JAR 文件:
Linux / macOS
./gradlew buildWindows
.\gradlew build
致谢
特别感谢:
- @Retrooper:PacketEvents 的作者。
许可证
本项目遵循 GPL3 License 许可。
PlayerCrasher
Overview
An easy-to-use Minecraft plugin that enables the crashing of a player's game through the use of a command.
Requires PacketEvents
Ensure the PacketEvents library is installed on your server.
Table of Contents
- Overview
- Showcase
- Supported Platforms & Versions
- Spoofers
- Commands
- Permission Nodes
- Installation
- Compiling From Source
- Credits
- License
Showcase

Supported Platforms & Versions
| Platform | Supported Versions |
|---|---|
| Bukkit (Spigot, Paper, Folia etc.) | 1.8.8 - 1.21.3 |
| Velocity | Latest Major |
| BungeeCord (or any forks) | Latest Major |
Features
- Completely Asynchronous - The plugin is designed to be as lightweight as possible. All packet modifications are done asynchronously, so the main thread is never blocked.
- Folia Support - The plugin integrates with Folia, which is a Paper fork that adds regionised multithreading to the server.
- Crash Detector - By sending both a keep alive and transaction packet, the plugin can detect if a player has crashed, even if the player is still connected.
- Configurable - The plugin is highly configurable, allowing you to adjust the settings to your liking.
- Update Checker - The plugin automatically checks for updates on startup. If a new version is available, a message will be sent to the console.
Usage/Examples
/crash (player) [Method]
Note: The method parameter is optional. If no method is provided, the plugin will use the most appropriate method based on the player's version.
Methods:
ExplosionParticlePosition
Commands
/pc- Displays the plugin's version and author./crash (player) [Method]- Crashes the specified player's game./crashinfo [player]- Displays the client brand and version of the specified player.
Permission Nodes
Players that are OP (Operators) have these permissions by default.
PlayerCrasher.CrashAllows the player to use the /crash command.PlayerCrasher.BypassExempts the player from being crashed when the /crash command is used on them.PlayerCrasher.AlertsMakes the player receive alerts when a player is being crashed by another player.PlayerCrasher.CrashInfo- Allows the player to use the /crashinfo command.PlayerCrasher.UpdateNotifyMakes the player receive an update notification when a new version is available.
Installation
- Prerequisites: Install PacketEvents.
- Download: Get the latest release from the GitHub release page.
- Installation: Move the downloaded plugin to your server's plugins directory.
- Configuration: Customize settings in
config.yml. - Restart: Restart the server for changes to take effect.
Compiling From Source
Prerequisites
- Java Development Kit (JDK) version 21 or higher
- Git
Steps
-
Clone the Repository:
git clone https://github.com/Bram1903/MinecraftPlayerCrasher.git -
Navigate to Project Directory:
cd MinecraftPlayerCrasher -
Compile the Source Code: Use the Gradle wrapper to compile and generate the plugin JAR file:
Linux / macOS
./gradlew buildWindows
.\gradlew build
Credits
Special thanks to:
- @Retrooper: Author of PacketEvents.
License
This project is licensed under the GPL3 License.
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlayerCrasher
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 新增:1.21.2 与 1.21.3 兼容性
- 新增:PacketEvents 2.6.0 兼容性
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧