⚡ xTpa | The Premium Teleportation Suite

xTpa 是一款面向 Minecraft 服务器的专业级传送插件,注重用户体验、视觉反馈和服务器性能。告别枯燥的纯文本传送请求,迎接互动式玩家移动的新纪元。
? 为什么选择 xTpa?
与仅提供简单聊天信息的标准传送插件不同,xTpa 专注于 沉浸式反馈。通过集成的音效、标题和操作栏,你的玩家将不会再错过任何请求。
✨ 主要功能一览:
- ? 高级视觉效果: 使用 Title(标题)、Subtitle(副标题) 和 ActionBar(操作栏),在收到请求时立即吸引玩家的注意力。
- ? 音频反馈: 每个动作都有灵魂!接收请求、开始倒计时和成功到达时的音效均可完全自定义配置。
- ?️ 战斗安全传送: 防止玩家在传送倒计时期间移动以逃避战斗或危险情况。
- ? HEX 色值与传统颜色代码: 支持完整的现代 HEX 颜色 (
&#RRGGBB) 以及传统格式化代码。 - ⚡ 优化性能: 专为高并发场景编写,确保你的服务器 TPS 稳定保持在 20。
- ? PlaceholderAPI 支持: 完全集成占位符,如
%xtpa_player%和%xtpa_time%,用于自定义消息。
?️ 详细命令与权限
| 命令 | 用法 | 描述 | 权限 |
|---|---|---|---|
/tpa |
/tpa <player> |
向一名玩家发送传送请求。 | 无(默认) |
/tpaccept |
/tpaccept |
接受最近的传送请求。 | 无(默认) |
/tpdeny |
/tpdeny |
拒绝当前待处理的请求。 | 无(默认) |
/xtpa |
/xtpa reload |
重新加载插件配置和消息。 | xtpa.admin |
? 特殊权限
xtpa.bypass.cooldown: 允许玩家无需等待冷却时间即可发送请求。xtpa.bypass.delay: 允许无需等待倒计时即可瞬间传送。
⚙️ 完整配置预览
以下是完整的 config.yml,允许你按照喜好自定义插件的各个方面。
# _____
# __ _/__ \_ __ __ _
# \ \/ / / /\/ '_ \ / _` |
# > < / / | |_) | (_| |
# /_/\_\\/ | .__/ \__,_|
# |_/
# Official Support: https://xplugins.es/discord
# Documentation: https://xplugins.es/plugins/xtpa
# General plugin settings
settings:
tpa-timeout-seconds: 60 # 请求在过期前保持活跃的时间
cooldown-seconds: 15 # 玩家发送请求之间必须等待的时间
teleport-delay-seconds: 3 # 传送发生前等待的秒数
teleport-move-cancel: true # 如果为 true,玩家移动时取消传送
center-messages: false # 美观选项,居中聊天信息
# Sound System
# Use standard Spigot sound names (e.g., ENTITY_ENDERMAN_TELEPORT)
sounds:
received-tpa:
enabled: true
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
volume: 1.0
pitch: 1.0
teleport-start:
enabled: true
sound: "BLOCK_NOTE_BLOCK_HARP"
volume: 0.5
pitch: 1.5
teleport-success:
enabled: true
sound: "ENTITY_ENDERMAN_TELEPORT"
volume: 1.0
pitch: 1.0
# Visual Feedback (Titles & ActionBars)
visuals:
title:
enabled: false
title: "&#FAEDCB ℹ Request Received!"
subtitle: "&f%xtpa_player% wants to teleport to you"
fade-in: 10
stay: 60
fade-out: 10
actionbar:
enabled: true
message: "&fHey! &#FAEDCB&n%xtpa_player%&f has sent you a TPA! Check your chat."
# Message System (Supports HEX Colors)
messages:
prefix: ""
no-permission: "&c ✘ Error! &fYou do not have permission to use this."
player-not-found: "&c ✘ &fThat player is offline or does not exist."
cooldown: "&#FF5252 ✘ Error! &fWait &e%xtpa_time%s &fbefore sending another request."
self-tpa: "&#FF5252 ✘ Error! &fYou cannot teleport to yourself."
tpa-sent: "&#A0FF91 ✔ Success! &fRequest sent to &e%xtpa_player%&f."
tpa-no-pending: "&#FAEDCB ℹ Info! &fYou have no pending requests."
tpa-expired: "&#FAEDCB ℹ Info! &fThe teleport request has expired."
tpa-denied-target: "&#A0FF91 ✔ Success! &fYou denied the request."
tpa-denied-sender: "&#FF5252 ✘ Error! &fPlayer &e%xtpa_player% &fdenied your request."
tpa-accepted-target: "&#A0FF91 ✔ Success! &fRequest accepted."
tpa-accepted-sender: "&#A0FF91 ✔ Success! &e%xtpa_player% &faccepted your request."
teleport-starting-sender: "&#A0FF91 ✔ Success! &fTeleporting you to &e%xtpa_player%&f."
teleport-delay-notice-sender: "&#FAEDCB ℹ Info! &fTeleporting in %xtpa_time% seconds. Do not move!"
teleport-cancelled-moved: "&#FF5252 ✘ Error! &fMovement detected! Teleport cancelled."
teleport-cancelled-quit: "&#FF5252 ✘ Error! &fPlayer disconnected. Teleport cancelled."
teleport-success-sender: "&#A0FF91 ✔ Success! &fYou have arrived safely."
# Interactive Chat Request
received-request:
line1: "&#FAEDCB ℹ Info! &fPlayer &#FAEDCB%xtpa_player% &fwants to teleport to you."
line2-accept: "&fType &a/tpaccept &fTo accept."
line3-deny: "&fType &c/tpdeny &fTo decline."
line4: "&#FAEDCB ℹ Info! &fThe request expires in %xtpa_time% seconds."
hover-accept: "&#A0FF91 Click here to ACCEPT!"
hover-deny: "&c Click here to DENY!"
? 安装
- 下载 Modrinth 上最新的
.jar文件。 - 放入 服务器的
plugins/文件夹中。 - 重启 或 重载 你的服务器。
- 随心 配置
config.yml!
? 社区与支持
加入我们不断增长的开发者和服务端所有者社区吧!
由 xPlugins 团队制作。品质至上。
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包事件PacketEvents
retrooper
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
前置科技
28
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
ProAuthMeLogin
3623813757
通过对话框或铁砧界面帮助你的 Anthme
实用
16
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
Vivecraft Spigot Extension
fayer3
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
前置实用
12
旅行地图
mysticdrew
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
冒险实用
12
评论 0
登录后参与评分
还没有评论,来抢沙发吧