EPC 的 TPA模组

模组

· 作者 EP-Craft

此模组增加了 TPA 功能,让你在与朋友联机时可以礼貌地进行传送请求。

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

最新 1.0.1 · 1.21.11 · Fabric

一键开服(送7天)

Simplified Chinese:

This mod adds the /tpa command series for all players, usable without administrator permissions. Below are the descriptions of each command and its mechanics.

Command Details

Sending a Teleport Request

  • /tpa <PlayerName> or /tpa <PlayerName> false —— Requests to teleport to the target player.
  • /tpa <PlayerName> true —— Requests the target player to teleport to you.

Handling Requests

  • /tpaccept —— Accepts the current pending teleport request (regardless of whether they want to come to you or you to go to them).
  • /tpadeny —— Denies the current pending teleport request.

自动处理设置(基于存档) 可使用 /tpasetting <功能> <玩家名> <true|false> 为指定玩家配置自动回应规则。具体功能如下:

  • autoAccept —— 是否自动接受指定玩家发起的“传送到我这里”请求。
  • autoDeny —— 是否自动拒绝指定玩家发起的“传送到我这里”请求。
  • autoToAccept —— 是否自动接受指定玩家发起的“我传送到他那里”请求。
  • autoToDeny —— 是否自动拒绝指定玩家发起的“我传送到他那里”请求。

示例:/tpasetting autoAccept Steve true 会使您自动接受 Steve 发来的“传送到我这里”请求。

模组配置

配置文件位于 config/epcs-tpa-mod/setting.json(路径分隔符可根据系统使用 \ 或 /)。 修改该文件中的 "language" 值即可切换显示语言,内置 zh_cn 和 en_us 两种。 如需其他语言(例如日语),请在 config/epcs-tpa-mod/lang/ 目录下新建 ja_jp.json 并填写对应翻译,再将 setting.json 中的 "language" 改为 "ja_jp" 即可生效。

核心机制

  • 所有玩家均可使用上述指令,无需任何权限。
  • 每条传送请求的有效期为 60 秒,若未被对方在时限内接受,则自动失效。

English:

本模组为所有玩家添加了 /tpa 命令系列,无需管理员权限即可使用。以下是命令及其机制说明。

命令指南

发送传送请求

  • /tpa <玩家名称> 或 /tpa <玩家名称> false — 请求传送到目标玩家的位置。
  • /tpa <玩家名称> true —— 请求目标玩家传送到你的位置。

处理请求

  • /tpaccept —— 接受当前待处理的传送请求(无论对方是想传送到你这里,还是你想传送到对方那里)。
  • /tpadeny —— 拒绝当前待处理的传送请求。

自动回复设置(基于存档) 使用 /tpasetting <功能> <玩家名称> <true|false> 为特定玩家配置自动回复规则。可用的功能如下:

  • autoAccept —— 是否自动接受由指定玩家发起的“传送至我”请求。

  • autoDeny —— 是否自动拒绝由指定玩家发起的“传送到我”请求。

  • autoToAccept —— 是否自动接受由指定玩家发起的“传送到我”请求。

  • autoToDeny —— 是否自动拒绝由指定玩家发起的“传送到我”请求。

示例:/tpasetting autoAccept Steve true 将使你自动接受由 Steve 发送的“传送到我”请求。

模组配置

配置文件位于 config/epcs-tpa-mod/setting.json(路径分隔符可能因系统而异,为 \ 或 /)。 更改此文件中的 "language" 值可切换显示语言;zh_cn 和 en_us 为内置选项。 对于其他语言(例如日语),请在 config/epcs-tpa-mod/lang/ 目录下新建一个 ja_jp.json 文件,填入相应的翻译内容,然后将 setting.json 中的 "language" 更改为 "ja_jp",更改即可生效。

核心机制

  • 所有玩家均可使用上述命令,无需任何权限。
  • 每次传送请求有效期为 60 秒;若对方在此时间内未接受,该请求将自动失效。

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源