介绍
BetterTPA4Fabric
Yet another TPA mod for Fabric!
Server-side only, no client install needed.
This mod serves as an alternative/continued version of TPA4Fabric. (I own that mod, I just couldn’t access my account anymore.)
Requirements
- Minecraft 1.21.10 or above (other versions in the
>=1.20.4range are untested and may not work correctly) - Fabric Loader
>=0.15.7 - Fabric API
0.138.4+1.21.10or compatible
Installation
- Download the latest
.jarfrom Modrinth or the Releases page. - Drop it into your server’s
mods/folder. - Make sure Fabric API is also in
mods/. - Start the server. A config file will be generated automatically at
config/bettertpa4fabric.json.
Commands
| Command | Description |
|———|————-|
| /tpa <player> | Request to teleport to a player |
| /tpahere <player> | Request a player to teleport to you |
| /tpaback | Teleport back to your previous location |
| /tpaaccept [player] | Accept a TPA request (oldest first if no player specified) |
| /tpadeny [player] | Deny a TPA request (oldest first if no player specified) |
| /tpacancel <player> | Cancel your outgoing TPA request to a player |
| /tpaallow [true/false] | Toggle or check whether you accept TPA requests |
| /tpaabout | Show mod version info |
< >is required,[ ]is optional
Config
Config file location: config/bettertpa4fabric.json
| Key | Default | Description |
|—–|———|————-|
| tpaExpireTime | 120 | How long (in seconds) before a pending request expires |
| tpaTeleportTime | 5 | Countdown (in seconds) before teleporting after acceptance |
| oneTimeTPABack | false | If true, /tpaback can only be used once per teleport |
| resetTimerOnMove | false | If true, moving during the countdown resets the timer instead of cancelling the teleport |
| tpaCooldown | 5 | (Unused) Cooldown between requests in seconds |
| tpaRequestLimit | 99 | (Unused) Max pending incoming requests per player |
tpaCooldownandtpaRequestLimitare parsed and saved but have no effect in the current version. They are kept to avoid breaking existing config files.
To-do
- Runtime configs (
/tpaconfig) - Formatted chat messages (colors, click-to-accept, etc.)
- Teleport effects (fancy particles)
常见问题
BetterTPA4Fabric 支持哪些 Minecraft 版本?
BetterTPA4Fabric 支持 Minecraft Java 版 1.20.4–1.21.11,共 15 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
BetterTPA4Fabric 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分