xTpa

插件

· 作者 jn_willfrydev

最好的 TPA 插件,完全可定制

0 本站下载 0 关注 更新于 7 个月前

最新 v1.0.0 · 26.1.2 · Bukkit / Folia

一键开服(送7天)

⚡ xTpa | The Premium Teleportation Suite

banner

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!"

? 安装

  1. 下载 Modrinth 上最新的 .jar 文件。
  2. 放入 服务器的 plugins/ 文件夹中。
  3. 重启 或 重载 你的服务器。
  4. 随心 配置 config.yml!

? 社区与支持

加入我们不断增长的开发者和服务端所有者社区吧!


由 xPlugins 团队制作。品质至上。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源