⚔️ HubPvP
? 概述
HubPvP 是一款专业且高度优化的解决方案,旨在管理大厅或枢纽中的 PvP 战斗。它允许玩家使用特制剑进行受控的战斗,确保为社区提供无缝且无错误的体验。
? 功能
- ⚡ 极致优化: 专为最小化资源消耗而设计。
- ?️ 背包保护: 在进入/退出 PvP 时安全保存并恢复原始背包内容。
- ? 效果管理: 当战斗模式激活时自动清除活跃药水效果。
- ? 听觉反馈: 可配置的高质量音效用于激活和倒计时。
- ? 现代色彩支持: 完全兼容 MiniMessage 和高级渐变效果。
⚙️ 配置与设置
所有设置均可在 config.yml 中找到。以下是自定义主要组件的方法:
?️ 剑的设置
sword:
material: DIAMOND_SWORD
display-name: "<gradient:#00fbff:#0072ff>&lPVP SWORD</gradient>"
lore:
- "&7Hold this sword to"
- "&7activate PvP mode!"
slot: 4 # 中央快捷栏槽位
⏲️ 计时器与机制
设置玩家必须按住剑以进入或退出战斗所需的时间。
hold-time:按住剑以激活 PvP 所需的秒数。
deactivate-time:松开剑以停用 PvP 所需的秒数。
?️ 高级功能
? 状态还原
该插件利用并发映射系统来处理:
- 完整背包: 包括盔甲套装和副手物品。
- 飞行状态: 如果玩家开启了飞行(
/fly),插件会在 PvP 期间禁用飞行,并在退出或死亡时自动恢复。
? 死亡处理
当玩家在 PvP 模式中死亡时:
- 掉落物会自动清除以防止大厅卡顿。
- 在死亡位置生成专业的粒子效果。
- 击杀者会获得即时满血恢复(可配置)。
? 开发者说明
基于 Adventure API 和 ACF (Aikar's Command Framework) 构建,以确保与最新 Paper 版本(1.21.x)的完全兼容性以及高效的命令处理。
?️ 要求
- 服务器: PaperMC 1.21 或更高版本(推荐)。
- Java: 版本 21。
由 Imperior Development 用 ❤️ 开发
"Minecraft 开发的卓越品质"
⚔️ HubPvP
? Overview
HubPvP is a professional and highly optimized solution designed to manage PvP combat within lobbies or hubs. It allows players to engage in controlled combat using a special sword, ensuring a seamless and error-free experience for your community.
? Features
- ⚡ Extreme Optimization: Engineered for minimal resource consumption.
- ?️ Inventory Protection: Securely saves and restores original inventories upon entering/exiting PvP.
- ? Effect Management: Automatically clears active potion effects when combat mode is activated.
- ? Auditory Feedback: Configurable high-quality sounds for activation and countdowns.
- ? Modern Color Support: Fully compatible with MiniMessage and advanced gradients.
⚙️ Configuration & Setup
All settings can be found in config.yml. Here is how you can customize the main components:
?️ Sword Settings
sword:
material: DIAMOND_SWORD
display-name: "<gradient:#00fbff:#0072ff>&lPVP SWORD</gradient>"
lore:
- "&7Hold this sword to"
- "&7activate PvP mode!"
slot: 4 # Central hotbar slot
⏲️ Timers & Mechanics
Set the required time a player must hold the sword to enter or exit combat.
hold-time: Seconds required holding the sword to activate PvP.
deactivate-time: Seconds required without the sword to deactivate PvP.
?️ Advanced Features
? State Restoration
The plugin utilizes a concurrent mapping system to handle:
- Full Inventory: Includes armor sets and off-hand items.
- Flight Status: If a player has flight enabled (
/fly), the plugin disables it during PvP and restores it automatically upon exit or death.
? Death Handling
When a player dies in PvP mode:
- Item drops are automatically cleared to prevent lobby lag.
- A professional particle effect is spawned at the death location.
- The killer receives an instant full health restoration (configurable).
? Developer Note
Built using the Adventure API and ACF (Aikar's Command Framework) to ensure full compatibility with the latest Paper versions (1.21.x) and efficient command handling.
?️ Requirements
- Server: PaperMC 1.21 or higher (Recommended).
- Java: Version 21.
Developed with ❤️ by Imperior Development
"Excellence in Minecraft Development"
评论 0
登录后参与评分
还没有评论,来抢沙发吧