跳到正文

Simple-Warp-Tpa-Home-Back

作者:ZiYun

no pop-ups, no prerequisites, complete translation, lightweight teleport mod, supports TPA, home, back,and teleport

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。
中文

Simple Warp TPA Home Back

一个轻量级 Fabric 模组,提供 TPA、Home、Warp、Back 四大功能。
没有弹窗,无需前置,完整翻译!装上就能用!


功能总览

| 分类 | 命令 | 权限 | 说明 |
|——|——|——|——|
| Back | /back | 所有人 | 返回死亡地点或上一次传送前的位置(支持跨维度) |
| TPA | /tpa <玩家> | 所有人 | 向目标玩家发送传送请求 |
| | /tpay | 所有人 | 接受传送请求 |
| | /tpan | 所有人 | 拒绝传送请求 |
| | /tpaauto [accept\|deny\|off] | 所有人 | 设置自动接受/自动拒绝 TPA 请求;不带参数查看当前设置(1.4 新增) |
| | /tpaauto whitelist <add\|remove\|list> | OP 专用 | 管理 TPA 白名单;名单内的玩家(如假人)会自动接受 /tpa / /tphere 请求(1.4 新增) |
| | /tphere <玩家> | 所有人 | 向指定玩家发送”传送到你身边”的请求,对方需手动接受/拒绝,不受自动处理设置影响(适合开启自动拒绝时使用,1.4 新增) |
| Home | /sethome <名称> | 所有人 | 在当前位置设置家(支持中文名) |
| | /home [名称] | 所有人 | 传送到指定的家;不填名称则传送到第一个家(1.4 新增) |
| | /homes | 所有人 | 列出所有家(可点击传送) |
| | /delhome <名称> | 所有人 | 删除一个家 |
| Warp | /warp <名称> | 所有人 | 传送到指定传送点 |
| | /warps | 所有人 | 列出所有传送点(可点击传送) |
| | /setwarp <名称> | OP 专用 | 设置全局传送点(支持中文名) |
| | /delwarp <名称> | OP 专用 | 删除传送点 |
| 配置 | /swthbconfig maxHomes <数量> | OP 专用 | 修改每名玩家最大家的数量(默认 5 个) |
| | /swthbconfig maxWarps <数量> | OP 专用 | 修改 Warp 最大数量(默认 5 个) |
| | /swthbconfig teleportDelay <秒> | OP 专用 | 修改传送倒计时(默认 0 秒) |
| | /swthbconfig backEnabled true/false | OP 专用 | 开启/关闭 Back 功能(默认关闭) |
| | /swthbconfig teleportEffects true/false | 所有人 | 开启/关闭传送粒子效果(默认关闭,全服共享) |
| | /swthbconfig reload | OP 专用 | 从磁盘重新加载配置 |
| | /swthbconfig save | OP 专用 | 手动保存配置到磁盘 |


功能详情

传送倒计时

  • 默认关闭(teleportDelay: 0)
  • 开启后,/tpay、/home、/warp 需等待指定秒数才会执行传送
  • 等待期间移动则取消传送
  • 倒计时显示在动作栏

传送粒子效果

  • 默认关闭(teleportEffectsEnabled: false)
  • 开启后,每次传送(包括 /back)会播放末影人风格的音效和紫色粒子(1.4 新增:/back 也会播放)
  • 该开关为全服共享配置:任何玩家执行 /swthbconfig teleportEffects true/false 都会对所有玩家生效

TPA 传送请求

玩家 A 执行 /tpa 玩家B 后:

  • 玩家 A 收到:”已向 [玩家B] 发送传送请求,等待回应…“
  • 玩家 B 收到:”[玩家A] 请求传送到你的位置 [接受] [拒绝]“
  • 接受 / 拒绝 按钮可在聊天栏直接点击执行
  • 请求超时时间:60 秒
  • 支持跨维度传送
  • 玩家可用 /tpaauto accept 自动接受、/tpaauto deny 自动拒绝、/tpaauto off 恢复手动确认(1.4 新增)
  • 自动处理模式按玩家保存,重进游戏后依然生效(1.4 新增)
  • 开启自动拒绝后,可用 /tphere <玩家> 向对方发送”传送到你身边”的请求,对方点击接受后才会传送(始终需要手动确认,不受自动接受/自动拒绝设置影响;白名单假人除外,1.4 新增)
  • OP 可用 /tpaauto whitelist add <玩家名> 把假人加入白名单,白名单内的玩家收到 /tpa 或 /tphere 时会自动接受,无需点击(适用于假人 mod,1.4 新增)

Home 家系统

  • 每位玩家默认最多 5 个家(可通过 /swthbconfig 修改)
  • 直接执行 /home(不带名称)会传送到第一个家(1.4 新增)
  • 家名称支持中文(如 /sethome 工业区)
  • 家名相同自动更新坐标(不增加数量)
  • /homes 列表中的家名可点击直接传送

Warp 全局传送点

  • Warp 是管理员设置的全局公共传送点,所有玩家可用
  • /warps 列出所有公共传送点,每条可点击传送
  • 支持中文名(如 /setwarp 出生点)

Back 返回

  • 使用 /back 返回到上一次传送前的位置;如没有传送记录,则返回上一次死亡地点
  • 支持跨维度返回
  • 功能默认关闭,需 OP 通过 /swthbconfig backEnabled true 开启
  • 玩家下线后 back 点自动清除

配置文件

所有数据保存在 saves/<存档>/data/simple-warp-tpa-home-back/data.json,

{
  "maxHomes": 5,
  "maxWarps": 5,
  "teleportDelay": 0,
  "teleportEffectsEnabled": false,
  "backEnabled": false,
  "homes": {
    "玩家UUID": [
      { "name": "home1", "world": "minecraft:overworld", "x": 100, "y": 64, "z": 200, "yaw": 0, "pitch": 0 }
    ]
  },
  "warps": {
    "spawn": { "world": "minecraft:overworld", "x": 0, "y": 70, "z": 0, "yaw": 0, "pitch": 0 }
  },
  "tpaModes": {
    "玩家UUID": "ACCEPT"
  },
  "tpaWhitelist": [
    "假人名字"
  ]
}
  • 修改自动保存:每次使用 /sethome、/delhome、/setwarp、/delwarp、/swthbconfig 自动写入文件
  • 服务器关闭自动保存
  • 服务器启动自动加载

多语言支持

内置简体中文、繁體中文、英文、西班牙文、印地語、阿拉伯語、法文、日文、俄文语言文件。

  • 客户端装有 mod → 根据客户端语言显示翻译
  • 客户端未装 mod → 显示简体中文

欢迎提交添加更多语言。

Simple Warp TPA Home Back

A lightweight Fabric mod featuring four core functions: TPA, Home, Warp, and Back.
No pop-up windows, no required dependencies, fully localized translations! Install and play instantly!


Feature Overview

| Category | Command | Permission | Description |
|———-|———|————|————-|
| Back | /back | All Players | Return to your last death location or pre-teleport position (cross-dimension supported) |
| TPA | /tpa <player> | All Players | Send a teleport request to the target player |
| | /tpay | All Players | Accept an incoming teleport request |
| | /tpan | All Players | Decline an incoming teleport request |
| | /tpaauto [accept\|deny\|off] | All Players | Set auto-accept/auto-deny for TPA requests; run without arguments to view the current setting (new in 1.4) |
| | /tpaauto whitelist <add\|remove\|list> | OP Only | Manage the TPA whitelist; whitelisted players (e.g. bots) auto-accept /tpa / /tphere requests (new in 1.4) |
| | /tphere <player> | All Players | Send a request asking the player to teleport to you; they must manually accept or deny, unaffected by auto-handling (useful when auto-deny is enabled; new in 1.4) |
| Home | /sethome <name> | All Players | Set a home at your current position |
| | /home [name] | All Players | Teleport to the specified home; to the first home if no name is given (new in 1.4) |
| | /homes | All Players | List all your homes (clickable for instant teleport) |
| | /delhome <name> | All Players | Delete a specific home |
| Warp | /warp <name> | All Players | Teleport to the specified public warp |
| | /warps | All Players | List all public warps (clickable for instant teleport) |
| | /setwarp <name> | OP Only | Create a global public warp point |
| | /delwarp <name> | OP Only | Delete a public warp point |
| Config | /swthbconfig maxHomes <amount> | OP Only | Adjust the maximum number of homes per player (default: 5) |
| | /swthbconfig maxWarps <amount> | OP Only | Adjust the global maximum number of warps (default: 5) |
| | /swthbconfig teleportDelay <seconds> | OP Only | Change the teleport countdown (default: 0 seconds) |
| | /swthbconfig backEnabled true/false | OP Only | Enable/disable the Back feature (default: off) |
| | /swthbconfig teleportEffects true/false | All Players | Toggle teleport particle effects (default: off, server-wide) |
| | /swthbconfig reload | OP Only | Reload configuration data from disk |
| | /swthbconfig save | OP Only | Manually save all configuration to disk |


Feature Details

Teleport Countdown

  • Off by default (teleportDelay: 0)
  • When enabled, /tpay, /home, and /warp wait the specified number of seconds before teleporting
  • Moving during the countdown cancels the teleport
  • Countdown is displayed on the action bar

Teleport Particle Effects

  • Off by default (teleportEffectsEnabled: false)
  • When enabled, plays an Enderman-style teleport sound and purple particles on every teleport (including /back; /back support is new in 1.4)
  • This is a server-wide setting: any player can toggle it via /swthbconfig teleportEffects true/false, and it affects everyone

TPA Teleport Request System

When Player A runs /tpa PlayerB:

  • Player A receives: “Teleport request sent to [PlayerB], waiting for response…”
  • Player B receives: “[PlayerA] requests to teleport to your location [Accept] [Deny]”
  • The [Accept] and [Deny] buttons are clickable directly in chat
  • Request timeout duration: 60 seconds
  • Cross-dimension teleportation supported
  • Players can use /tpaauto accept to auto-accept, /tpaauto deny to auto-deny, and /tpaauto off to return to manual confirmation (new in 1.4)
  • Auto-handling settings are saved per player and persist across sessions (new in 1.4)
  • With auto-deny enabled, use /tphere <player> to ask another player to teleport to you; they must accept before teleporting (always requires manual confirmation and is not affected by the auto-accept/auto-deny setting; whitelisted bots are the only exception; new in 1.4)
  • OPs can use /tpaauto whitelist add <player> to whitelist bots/fake players; whitelisted players automatically accept incoming /tpa or /tphere requests without clicking (useful for bot mods; new in 1.4)

Player Home System

  • Each player has a default limit of 5 homes (adjustable via /swthbconfig)
  • Running /home with no name teleports to your first home (new in 1.4)
  • Home names support Chinese characters (e.g. /sethome Industrial Zone)
  • Re-setting a home with an identical name overwrites coordinates without consuming an extra home slot
  • Home names in the /homes list are clickable for instant teleport

Public Warp Points

  • Warps are global public teleport locations created exclusively by server OPs, accessible to all players
  • Run /warps to view all public warps; each entry is clickable for one-click teleport
  • Chinese names supported (e.g. /setwarp spawn)

Back Command

  • Run /back to return to your position before the last teleport; if no teleport record exists, you will be sent to your last death location
  • Supports cross-dimension return
  • This feature is disabled by default; OPs can enable it via /swthbconfig backEnabled true
  • Back points are automatically cleared when a player disconnects

Configuration File

All data is stored in saves/<save>/data/simple-warp-tpa-home-back/data.json:

{
  "maxHomes": 5,
  "maxWarps": 5,
  "teleportDelay": 0,
  "teleportEffectsEnabled": false,
  "backEnabled": false,
  "homes": {
    "PlayerUUID": [
      { "name": "home1", "world": "minecraft:overworld", "x": 100, "y": 64, "z": 200, "yaw": 0, "pitch": 0 }
    ]
  },
  "warps": {
    "spawn": { "world": "minecraft:overworld", "x": 0, "y": 70, "z": 0, "yaw": 0, "pitch": 0 }
  },
  "tpaModes": {
    "PlayerUUID": "ACCEPT"
  },
  "tpaWhitelist": [
    "BotName"
  ]
}
  • Auto-save on edits: Changes made via /sethome, /delhome, /setwarp, /delwarp, and /swthbconfig are automatically written to the file
  • Auto-save on server shutdown
  • Auto-load on server startup

Multilingual Support

Built-in language files: Simplified Chinese, Traditional Chinese, English, Spanish, Hindi, Arabic, French, Japanese, and Russian.

  • If the client has this mod installed: text displays according to the client’s game language setting
  • If the client does not have this mod installed: text defaults to Simplified Chinese

Contributions for additional translations are welcome.

常见问题

Simple-Warp-Tpa-Home-Back 支持哪些 Minecraft 版本?

Simple-Warp-Tpa-Home-Back 支持 Minecraft Java 版 1.20.1–26.3,共 9 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Simple-Warp-Tpa-Home-Back 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

ZiYun 的其他作品

查看全部 →