ProTPA - 高级玩家传送管理
ProTPA 是一款专为 PaperMC/Folia(及其衍生版本)服务器设计的插件,旨在提供一个轻量级、高级、可配置且用户友好的传送请求系统。它基于现代 PaperMC API 构建,对 TPA 机制提供了强大的控制能力,确保为玩家和管理员带来无缝的体验。
主要功能:
ProTPA 通过一套复杂的传送工具增强了服务器游戏体验:
- 多样化的传送请求:
/tpa <player>:请求传送到其他玩家处。
/tpahere <player>:请求其他玩家传送到你的位置。
- 完整的请求生命周期管理:
/tpaccept [player]:接受传入的传送请求。如果有多个待处理的请求,可以选择性地指定接受哪位玩家的请求。
/tpdeny:拒绝所有传送请求。
/tpcancel:取消你发出的传出传送请求。
/tplist:查看你待处理的传入和传出传送请求列表。
- 玩家特定偏好设置:
/tpblock:切换是否屏蔽所有传入的传送请求。
/tpautoaccept:切换是否自动接受所有传入的传送请求。
- 死亡地点恢复:
/back:传送到你上次死亡的位置,支持可配置的预热时间和冷却时间计时器。
- 可配置的计时器与延迟:
- 冷却时间: 设置发送传送请求和使用
/back 命令之间的延迟。
- 预热时间: 在传送发生前实施倒计时,为 TPA 和
/back 命令增加策略深度。
- 请求超时: 定义请求在过期之前保持待处理状态的时间长度。
- 增强的安全性与游戏机制:
- 移动时取消: 如果玩家移动,可选择取消传送预热。
- 受伤时取消: 如果玩家受到伤害,可选择取消传送预热。
- 战斗保护: 防止玩家在战斗中传送(持续时间可配置)。
- 世界黑名单: 在指定的世界中禁用 TPA 和
/back 功能。
- 丰富的通知与反馈:
- 使用 MiniMessage 自定义游戏内消息的颜色和格式。
- 可选的声音效果,用于发送、接收和接受请求。
- 可选的粒子效果,用于提供传送操作的视觉反馈。
- 细粒度的权限系统:
- 为每个命令和功能提供详细的权限(例如
protpa.tpa、protpa.accept、protpa.back、protpa.tplist)。
- 绕过权限,允许忽略冷却时间、预热时间、超时以及向被屏蔽的玩家发送请求(
protpa.bypass.*)。
- 插件管理的管理员权限(
protpa.admin、protpa.admin.reload)。
- 包含一个用于完全访问权限的通配符权限
protpa.*。
技术细节:
ProTPA 轻量但功能强大,专为现代服务器环境构建:
- PaperMC 与 Folia API 集成: 利用高级 API,包括用于命令注册的
LifecycleEvents、Brigadier 命令框架、用于非阻塞任务(如预热和超时)的 AsyncScheduler,以及用于安全的主线程传送的 GlobalRegionScheduler。
- 广泛的配置选项: 注释详尽的
config.yml 允许服务器所有者微调几乎所有方面,包括所有计时器、安全功能、战斗设置、通知设置(声音、粒子)、/back 命令设置,并通过 MiniMessage 自定义所有插件消息。
- 高效的用户数据处理: 玩家关于屏蔽和自动接受请求的偏好设置在内存中高效管理,以便快速访问。
- 动态战斗管理: 有效的系统在战斗期间标记玩家,并与安全功能集成以防止 TPA 漏洞利用。
- 死亡地点追踪: 自动追踪并存储每位玩家的上次死亡位置,以支持
/back 命令功能。
- MiniMessage 格式化: 所有面向用户的消息都支持功能强大的 MiniMessage 格式,从而实现丰富且引人入胜的文本展示。
管理功能:
管理员拥有强大的工具来管理 ProTPA:
- 实时配置重载: 使用
/protpa reload 即时应用来自 config.yml 的更改,无需重启服务器。
- 游戏内帮助命令:
/protpa 或 /protpa help 提供可用命令及其描述的详细列表,并根据用户的权限进行定制。
- 绕过能力: OP 级别的权限允许管理员在必要时覆盖标准的 TPA 限制。
- 全面的权限控制: 精确定义谁可以使用插件的哪些功能。
适用场景:
- 寻求具有强大配置和死亡恢复功能的轻量级但高级的 TPA 系统的服务器。
- 重视玩家驱动的传送方式,并拥有可定制规则和安全网的社区。
- 希望提供多样化传送体验的网络(例如,通过绕过权限为捐赠者提供更快的传送)。
- 要求对传送机制进行细粒度控制以适应其服务器特定游戏风格的服务器所有者。
- 希望在保持平衡的游戏体验的同时,为玩家提供便捷的死亡恢复选项的服务器。
ProTPA 由 BloodRed 开发,将强大的功能与易用性相结合,为您的 Minecraft 服务器提供精致且专业的传送解决方案。它旨在实现高性能,并利用现代 Minecraft 服务器技术确保稳定性和兼容性。
ProTPA - Advanced Player Teleportation Management
ProTPA is a PaperMC/Folia (including its forks) server plugin designed to provide a lightweight yet advanced, configurable, and user-friendly teleportation request system. Built with modern PaperMC APIs, it offers robust control over TPA mechanics, ensuring a seamless experience for both players and administrators.
Key Features:
ProTPA enhances server gameplay with a sophisticated set of teleportation tools:
- Versatile Teleportation Requests:
/tpa <player>: Request to teleport to another player.
/tpahere <player>: Request another player to teleport to your location.
- Full Request Lifecycle Management:
/tpaccept [player]: Accept an incoming teleport request. If multiple requests are pending, optionally specify which player's request to accept.
/tpdeny: Deny all teleport requests.
/tpcancel: Cancel your outgoing teleport request.
/tplist: View your pending incoming and outgoing teleport requests.
- Player-Specific Preferences:
/tpblock: Toggle blocking all incoming teleport requests.
/tpautoaccept: Toggle automatically accepting all incoming teleport requests.
- Death Location Recovery:
/back: Teleport to your last death location with configurable warmup and cooldown timers.
- Configurable Timers & Delays:
- Cooldowns: Set delays between sending teleport requests and using the back command.
- Warmups: Implement a countdown before teleportation occurs, adding strategic depth to both TPA and back commands.
- Request Timeouts: Define how long a request remains pending before expiring.
- Enhanced Safety & Gameplay Mechanics:
- Cancel on Move: Option to cancel teleport warmup if the player moves.
- Cancel on Damage: Option to cancel teleport warmup if the player takes damage.
- Combat Protection: Prevent teleportation while a player is in combat (configurable duration).
- World Blacklisting: Disable TPA and back functionality in specified worlds.
- Rich Notifications & Feedback:
- Customizable in-game messages using MiniMessage for colors and formatting.
- Optional sound effects for sending, receiving, and accepting requests.
- Optional particle effects for visual feedback on teleportation actions.
- Granular Permission System:
- Detailed permissions for every command and feature (e.g.,
protpa.tpa, protpa.accept, protpa.back, protpa.tplist).
- Bypass permissions for cooldowns, warmups, timeouts, and sending to blocked players (
protpa.bypass.*).
- Admin permissions for plugin management (
protpa.admin, protpa.admin.reload).
- Includes a
protpa.* wildcard permission for full access.
Technical Details:
ProTPA is lightweight yet advanced, built for modern server environments:
- PaperMC & Folia API Integration: Utilizes advanced APIs, including
LifecycleEvents for command registration, the Brigadier command framework, AsyncScheduler for non-blocking tasks (like warmups and timeouts), and GlobalRegionScheduler for safe, main-thread teleportations.
- Extensive Configuration: A well-commented
config.yml allows server owners to fine-tune nearly every aspect, including all timers, safety features, combat settings, notification settings (sounds, particles), back command settings, and customize all plugin messages via MiniMessage.
- Efficient User Data Handling: Player preferences for blocking and auto-accepting requests are managed efficiently in memory for quick access.
- Dynamic Combat Management: An effective system tags players during combat, integrating with safety features to prevent TPA exploits.
- Death Location Tracking: Automatically tracks and stores each player's last death location for the back command functionality.
- MiniMessage Formatting: All user-facing messages support the powerful MiniMessage format, allowing for rich and engaging text.
Administrative Features:
Administrators have robust tools to manage ProTPA:
- Live Configuration Reload: Apply changes from
config.yml instantly with /protpa reload without needing a server restart.
- In-Game Help Command:
/protpa or /protpa help provides a detailed list of available commands and their descriptions, tailored to the user's permissions.
- Bypass Capabilities: OP-level permissions allow administrators to override standard TPA restrictions when necessary.
- Comprehensive Permission Control: Define precisely who can use which features of the plugin.
Perfect For:
- Servers seeking a lightweight yet advanced TPA system with robust configuration and death recovery features.
- Communities that value player-driven teleportation with customizable rules and safety nets.
- Networks looking to offer varied teleportation experiences (e.g., faster teleports for donors via bypass permissions).
- Server owners who demand fine-grained control over teleportation mechanics to suit their server's specific gameplay style.
- Servers wanting to provide players with convenient death recovery options while maintaining balanced gameplay.
ProTPA, by BloodRed, combines powerful functionality with ease of use, delivering a polished and professional teleportation solution for your Minecraft server. It is designed for performance and leverages modern Minecraft server technologies to ensure stability and compatibility.
评论 0
登录后参与评分
还没有评论,来抢沙发吧