XTpaz – TPA 插件
XTpaz 是一款适用于 Paper/Spigot 1.20+ 的 TPA(传送请求)插件。它提供简单且可配置的玩家传送功能,支持可选的确认图形界面以及强大的防滥用选项。
? 主要特性
? 用户体验
- 确认图形界面: 在发送请求前进行确认或取消;显示目标世界、延迟和玩家头像。
- 传送倒计时: 可配置延迟时间,并伴有动作栏提示和音效。
- 移动检测: 如果在倒计时期间玩家发生移动,传送将被取消。
- 音效: 为请求发送/接收、接受/拒绝、传送、冷却等分别设置独立音效。
⚙️ 请求与开关
- TPA & TPAHere: 请求前往其他玩家位置或将对方传送到你身边。
- 自动接受: 使用
/tpauto 和 /tpahereauto 命令为受信任的玩家设置自动接受。
- TPA 开关: 使用
/tpatoggle 禁用接收请求。
- 确认开关: 使用
/tpaconfirmtoggle 在图形界面和直接请求之间切换。
? 安全与限制
- 请求过期: 请求会自动过期(默认 60 秒)。
- 冷却时间: 可配置请求之间的冷却时间。
- 离线清理: 玩家退出时清除待处理的请求。
? 后端
- 可配置的消息: 支持十六进制颜色代码和占位符(
{player}、{target}、{time})。
- 热重载:
/xtpaz reload 命令可在不重启服务器的情况下重新加载配置与消息。
? 指令与权限
| 命令 |
描述 |
权限 |
/tpa <玩家> |
请求传送到某玩家身边 |
xtpaz.tpa |
/tpahere <玩家> |
请求某玩家传送到你身边 |
xtpaz.tpahere |
/tpaccept [玩家] |
接受待处理的 TPA 请求 |
xtpaz.tpaccept |
/tpadeny [玩家] |
拒绝待处理的 TPA 请求 |
xtpaz.tpadeny |
/tpacancel [player] |
取消你待处理的请求 |
xtpaz.tpacancel |
/tpauto |
切换 /tpa 的自动接受功能 |
xtpaz.tpauto |
/tpahereauto |
切换 /tpahere 的自动接受功能 |
xtpaz.tpahereauto |
| /tpatoggle | 开启/关闭接收 TPA 请求 | xtpaz.tpatoggle |
| /tpaconfirmtoggle | 开启/关闭确认 GUI | xtpaz.tpaconfirmtoggle |
| /xtpaz reload | 重新加载配置 | xtpaz.reload |
? 配置文件
config.yml – 请求超时时间、自动接受延迟、冷却时间、传送倒计时、音效以及消息文本。
⛏️ 依赖
- 服务器: Paper 或 Spigot 1.20+
- Java: 17 或更高版本
XTpaz – TPA Plugin
XTpaz is a TPA (Teleport Ask) plugin for Paper/Spigot 1.20+. It provides simple, configurable player teleports with an optional confirmation GUI and strong anti-abuse options.
? Key Features
? User experience
- Confirmation GUI: Confirm or cancel before sending a request; shows target world, ping, and player head.
- Teleport countdown: Configurable delay with action bar and sounds.
- Movement check: Teleport is cancelled if the player moves during the countdown.
- Sounds: Separate sounds for request sent/received, accept/deny, teleport, cooldown, etc.
⚙️ Requests & toggles
- TPA & TPAHere: Request to go to another player or bring them to you.
- Auto-accept:
/tpauto and /tpahereauto for trusted players.
- TPA toggle:
/tpatoggle to disable receiving requests.
- Confirm toggle:
/tpaconfirmtoggle to switch between GUI and direct requests.
? Safety & limits
- Request expiry: Requests automatically expire (default 60 seconds).
- Cooldowns: Configurable cooldown between requests.
- Offline cleanup: Pending requests cleared when players quit.
? Backend
- Configurable messages: Hex color support and placeholders (
{player}, {target}, {time}).
- Live reload:
/xtpaz reload reloads config and messages without restart.
? Commands & Permissions
| Command |
Description |
Permission |
/tpa <player> |
Request to teleport to a player |
xtpaz.tpa |
/tpahere <player> |
Request a player to teleport to you |
xtpaz.tpahere |
/tpaccept [player] |
Accept a pending TPA request |
xtpaz.tpaccept |
/tpadeny [player] |
Deny a pending TPA request |
xtpaz.tpadeny |
/tpacancel [player] |
Cancel your pending request |
xtpaz.tpacancel |
/tpauto |
Toggle auto-accept for /tpa |
xtpaz.tpauto |
/tpahereauto |
Toggle auto-accept for /tpahere |
xtpaz.tpahereauto |
/tpatoggle |
Toggle receiving TPA requests on/off |
xtpaz.tpatoggle |
/tpaconfirmtoggle |
Toggle confirmation GUI on/off |
xtpaz.tpaconfirmtoggle |
/xtpaz reload |
Reload configuration |
xtpaz.reload |
? Configuration files
config.yml – Request timeout, auto-accept delay, cooldown, teleport countdown, sounds, and message texts.
⛏️ Requirements
- Server: Paper or Spigot 1.20+
- Java: 17 or higher
评论 0
登录后参与评分
还没有评论,来抢沙发吧