CraftViaTPA
CraftViaTPA 是一款轻量级、高度可配置的服务器端传送请求插件,适用于生存、多人合作(SMP)和经济类服务器。
它在为玩家简化 /tpa 命令的同时,赋予服务器管理员对冷却时间、引导时间、消息提示、音效以及请求行为的完全控制权。
功能特性
-
/tpa <玩家>
-
/tpahere <玩家>
-
/tpaccept [玩家]
-
/tpdeny [玩家] 和 /tpadeny
-
/tpacancel
-
/tpatoggle
-
点击传入的 TPA 消息以立即接受
-
多个传入的传送请求
-
/tpa 和 /tpahere 共享的可配置冷却时间
-
独立的 /tpa 和 /tpahere 请求生存时间
-
独立的传送预热时间
-
当玩家移动时取消传送
-
可配置的请求、接受、拒绝、冷却、移动取消等音效
-
完全自定义面向玩家的聊天消息,支持占位符
-
持久化的玩家 TPA 开关状态
-
自动清理请求
-
游戏内管理员设置 GUI,使用 /craftvia tpa
-
无需重启即可更改运行时配置
-
支持 Folia 感知调度与传送功能
-
无依赖项
-
仅服务端运行——玩家无需安装任何内容
游戏内配置
运行:
/craftvia tpa
设置 GUI 允许服务器管理员配置请求有效期、冷却时间、传送预热、移动取消以及传入请求限制。
也可以通过命令精确修改各项数值:
/craftvia tpa set tpa-lifetime 60
/craftvia tpa set tpahere-lifetime 60
/craftvia tpa set cooldown 15
/craftvia tpa set tpa-warmup 3
/craftvia tpa set tpahere-warmup 3
/craftvia tpa set max-incoming 10
自定义消息
所有面向玩家的消息均可在 messages.yml 中进行自定义,或直接在游戏内设置。
示例:
/craftvia tpa message request-to-you &e{player} wants to teleport to you.
/craftvia tpa message warmup &eTeleporting in {seconds}s. Do not move.
/craftvia tpa message cooldown &cYou cannot do this right now, on cooldown.
/craftvia tpa message reset request-to-you
自定义音效
TPA 反馈音效可单独配置,无需弄乱设置 GUI。
示例:
/craftvia tpa sfx cooldown ENTITY_VILLAGER_NO 0.8 1.0
可以为不同的 TPA 事件自定义音效、音量和音调。
安装
- 下载 CraftViaTPA。
- 将 JAR 文件放入服务器的
plugins 文件夹中。
- 重启服务器。
- 运行
/craftvia tpa 进行配置。
权限
craftvia.tpa.use — 使用 TPA 命令
craftvia.tpa.toggle — 切换传入请求
craftvia.tpa.bypass-toggle — 绕过其他玩家的 TPA 切换状态
craftvia.tpa.bypass-cooldown — 显式绕过请求冷却时间
craftvia.tpa.admin — 访问并编辑管理员设置
兼容性
CraftViaTPA 基于 Bukkit API 构建,不依赖 NMS(Net Minecraft Server),旨在提供广泛的从旧版本到现代版本的服务器兼容性。
运行时测试包括 Paper、Purpur、Folia 以及直接的 Spigot 测试,涵盖 Spigot 1.8.8 和最新的 Paper/Purpur/Folia 版本。
0.1.0
CraftViaTPA 的初次公开发布。
CraftViaTPA
CraftViaTPA is a lightweight, highly configurable server-side teleport request plugin for survival, SMP and economy servers.
It keeps /tpa simple for players while giving server owners control over cooldowns, warmups, messages, sounds and request behavior.
Features
/tpa <player>
/tpahere <player>
/tpaccept [player]
/tpdeny [player] and /tpadeny
/tpacancel
/tpatoggle
- Click the incoming TPA message to instantly accept it
- Multiple incoming teleport requests
- Shared configurable cooldown for
/tpa and /tpahere
- Separate
/tpa and /tpahere request lifetimes
- Separate teleport warmups
- Cancel teleport when the player moves
- Configurable sound effects for requests, accepts, denies, cooldowns, movement cancellation and more
- Fully customizable player-facing messages with placeholders
- Persistent player TPA toggle state
- Automatic request cleanup
- In-game admin settings GUI with
/craftvia tpa
- Runtime configuration changes without restarting
- Folia-aware scheduling and teleport support
- No dependencies
- Server-side only — players do not need to install anything
In-game configuration
Run:
/craftvia tpa
The settings GUI lets server owners configure request lifetimes, cooldowns, teleport warmups, movement cancellation and incoming request limits.
Exact values can also be changed with commands:
/craftvia tpa set tpa-lifetime 60
/craftvia tpa set tpahere-lifetime 60
/craftvia tpa set cooldown 15
/craftvia tpa set tpa-warmup 3
/craftvia tpa set tpahere-warmup 3
/craftvia tpa set max-incoming 10
Custom messages
All player-facing messages can be customized in messages.yml or directly in-game.
Examples:
/craftvia tpa message request-to-you &e{player} wants to teleport to you.
/craftvia tpa message warmup &eTeleporting in {seconds}s. Do not move.
/craftvia tpa message cooldown &cYou cannot do this right now, on cooldown.
/craftvia tpa message reset request-to-you
Custom sound effects
TPA feedback sounds can be individually configured without cluttering the settings GUI.
Example:
/craftvia tpa sfx cooldown ENTITY_VILLAGER_NO 0.8 1.0
Sound, volume and pitch can be customized for different TPA events.
Installation
- Download CraftViaTPA.
- Place the JAR inside your server's
plugins folder.
- Restart the server.
- Run
/craftvia tpa to configure it.
Permissions
craftvia.tpa.use — use TPA commands
craftvia.tpa.toggle — toggle incoming requests
craftvia.tpa.bypass-toggle — bypass another player's TPA toggle
craftvia.tpa.bypass-cooldown — explicitly bypass the request cooldown
craftvia.tpa.admin — access and edit the admin settings
Compatibility
CraftViaTPA is built using the Bukkit API without NMS and is designed for broad legacy-to-modern server compatibility.
Runtime testing includes Paper, Purpur, Folia and direct Spigot testing, including Spigot 1.8.8 and modern Paper/Purpur/Folia releases.
0.1.0
Initial public release of CraftViaTPA.
评论 0
登录后参与评分
还没有评论,来抢沙发吧