ZenTPA
一款适用于基于 Spigot 的服务器的传送请求插件。玩家发送 TPA 或 TP-Here(传送到我)请求,接收者会在聊天栏中收到可点击的 [接受] 和 [拒绝] 按钮,并在可选的等待倒计时结束后执行传送。
安装
- 从 Modrinth 下载所需版本的 ZenTPA。
- 将其放入
plugins/ 文件夹并重启服务器。
- 根据需要编辑
plugins/ZenTPA/config.yml 和 messages.yml。
- 运行
/zentpa reload 以应用更改,无需完全重启。
命令
| 命令 |
描述 |
/tpa <player> |
请求传送到 <player>。 |
/tpahere <player> |
请求 <player> 传送到你这里。 |
/tpaccept [player] |
接受待处理的请求。 |
/tpdeny [player] |
拒绝待处理的请求。 |
/tpcancel |
取消你发出的请求。 |
/tptoggle |
切换是否接受传入的请求。 |
/tplist |
列出所有待处理请求及操作按钮。 |
/zentpa reload |
重载 config.yml 和 messages.yml。 |
权限
| 权限节点 |
默认值 |
描述 |
zentpa.use |
everyone |
使用所有面向玩家的 TPA 命令。 |
zentpa.admin |
op |
使用 /zentpa reload。 |
zentpa.bypass.cooldown |
op |
跳过冷却时间。 |
zentpa.bypass.cost |
op |
跳过费用。 |
配置
所有设置均位于 plugins/ZenTPA/config.yml 中,内含内联注释。关键部分包括:
- Requests - 超时时间、冷却时间、默认接受状态、允许同时接收多个请求
- Warm-up - 延迟秒数(0 表示立即传送)、移动时取消
- Costs - 饥饿值、经验值或 Vault 货币(费用由传送者承担)
- Effects - 传送后的失明、反胃、无敌、防火效果
- Sounds & titles - 六种可单独配置的音效、标题淡入淡出计时
编辑 messages.yml 以自定义所有聊天消息,包括可接受的接受/拒绝按钮(纯 MiniMessage 格式,无需修改 Java 代码)。支持 MiniMessage(<red>…</red>)和传统(&c)格式。
可选依赖
- Vault - 仅在启用
currency-cost 时必需
- PlaceholderAPI - 启用
%zentpa_accepting%、%zentpa_incoming_count%、%zentpa_outgoing_count% 和 %zentpa_cooldown% 占位符
作者: maybeizen · MIT 许可证 · 配套插件:ZenRTP
ZenTPA
A teleport-request plugin for Spigot-based servers. Players send TPA or TP-Here requests, the recipient gets clickable [Accept] and [Deny] buttons in chat, and the teleport fires after an optional warm-up countdown.
Installation
- Download the desired version of ZenTPA from Modrinth.
- Drop it in your
plugins/ folder and restart.
- Edit
plugins/ZenTPA/config.yml and messages.yml to your liking.
- Run
/zentpa reload to apply changes without a full restart.
Commands
| Command |
Description |
/tpa <player> |
Request to teleport yourself to <player>. |
/tpahere <player> |
Request that <player> teleports to you. |
/tpaccept [player] |
Accept a pending request. |
/tpdeny [player] |
Deny a pending request. |
/tpcancel |
Cancel your outgoing request. |
/tptoggle |
Toggle whether you accept incoming requests. |
/tplist |
List all pending requests with action buttons. |
/zentpa reload |
Reload config.yml and messages.yml. |
Permissions
| Permission |
Default |
Description |
zentpa.use |
everyone |
Access to all player-facing TPA commands. |
zentpa.admin |
op |
Use /zentpa reload. |
zentpa.bypass.cooldown |
op |
Skip cooldown. |
zentpa.bypass.cost |
op |
Skip costs. |
Configuration
All settings live in plugins/ZenTPA/config.yml with inline comments. Key areas:
- Requests - timeout, cooldown, default accept state, allow multiple incoming
- Warm-up - delay in seconds (0 for instant), cancel-on-move
- Costs - hunger, XP, or Vault money (charged to the teleporting player)
- Effects - post-teleport blindness, nausea, invulnerability, fire resistance
- Sounds & titles - six individually configurable sounds, title fade timings
Edit messages.yml to customize all chat messages, including the clickable accept/deny buttons (pure MiniMessage - no Java changes needed). Both MiniMessage (<red>…</red>) and legacy (&c) formats are supported.
Optional Dependencies
- Vault - required only if using
currency-cost
- PlaceholderAPI - enables
%zentpa_accepting%, %zentpa_incoming_count%, %zentpa_outgoing_count%, and %zentpa_cooldown%
Author: maybeizen · MIT License · Companion plugin: ZenRTP
评论 0
登录后参与评分
还没有评论,来抢沙发吧