4TPA

一个Paper/Folia TPA 插件。

资源图片
# 4TPA 一个 Paper/Folia TPA 插件。 ![一张动图展示了 /tpaccept 命令。一名玩家 “Pride_Dad” 向玩家 “OoLunar” 发送 TPA 请求。请求被接受,Pride_Dad 被传送到 OoLunar 处。](https://raw.githubusercontent.com/OoLunar/4TPA/refs/heads/master/res/tpa.gif) ![一张动图展示了 /tpadeny 命令。一名玩家 “Pride_Dad” 向玩家 “OoLunar” 发送 TPA 请求。请求被拒绝,Pride_Dad 没有被传送到 OoLunar 处。](https://raw.githubusercontent.com/OoLunar/4TPA/refs/heads/master/res/tpadeny.gif) # 命令 - `/back` - 传送到你之前的地点 - `/tpa <玩家>` - 请求传送到一个玩家 - `/tpaccept [玩家]` - 接受任何玩家或特定玩家的 TPA 请求 - `/tpacceptall` - 接受所有 TPA 请求 - `/tpahere <玩家>` - 请求玩家传送到你这里 - `/tpcancel` - 取消 TPA 请求 - `/tpdeny [玩家]` - 拒绝任何玩家或特定玩家的 TPA 请求 - `/tpdenyall` - 拒绝所有 TPA 请求 ## 管理员命令 - `/tpaoffline <玩家>` - 请求传送到离线玩家 - `/tpreload` - 重新加载插件配置 # 配置 ```yml # 是否启用调试日志。 # 这对于请求没有通过时很有帮助。 debug: false # 在 plugins/4TPA/lang 文件夹中使用的语言文件。 lang: en_US # 传送被认为是传送,距离原始位置多远? # 这主要用于 /back minimum_tpa_track_distance: 50.0 # TPA 请求应该自动取消的时间。 tpa_timeout: 60 # 玩家应该等待多久才能在 TPA 请求将他们传送到目的地。 # 延迟以秒为单位,玩家在等待时可以移动。 tpa_delay: -1 ``` # 权限 ```yml fourtpa.back: default: true description: 允许玩家使用 /back 命令 fourtpa.back.ondeath: default: true description: 允许玩家在死亡时使用 /back 命令 fourtpa.instant: default: op description: 允许玩家在没有延迟的情况下使用 /tpa 命令 fourtpa.reload: default: op description: 允许玩家使用 /tpareload 命令 fourtpa.tpa: default: true description: 允许玩家使用 /tpa 命令 fourtpa.tpaccept: default: true description: 允许玩家使用 /tpaccept 命令 fourtpa.tpacceptall: default: true description: 允许玩家使用 /tpacceptall 命令 fourtpa.tpahere: default: true description: 允许玩家使用 /tpahere 命令 fourtpa.tpaoffline: default: op description: 允许玩家使用 /tpaoffline 命令 fourtpa.tpcancel: default: true description: 允许玩家使用 /tpacancel 命令 fourtpa.tpdeny: default: true description: 允许玩家使用 /tpadeny 命令 fourtpa.tpdenyall: default: true description: 允许玩家使用 /tpdenyall 命令 ```