跳到正文

BlossomTpa

作者:CodedSakura

Blossom-series /tpa command and utilities

收藏

介绍

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

BlossomTpa

BlossomTpa is a Minecraft Fabric mod in the Blossom-series mods that provides /tpa command and utilities

Table of contents

Dependencies

Config

This mod’s config file can be found at config/BlossomMods/BlossomTPA.json, after running the server with
the mod at least once.

teleportation: TeleportationConfig –
teleportation settings
timeout: int – (seconds), how long a tpa/tpahere request is active before it timeouts
standStill: int – (seconds), how long the player has to stand still before being teleported
cooldown: int – (seconds), how long the player has to wait after teleporting using this command, before being able to
teleport again

Commands & their permissions

  • /tpa <target> – initiates a tpa request to <target> Permission: blossom.tpa (default: true) OR blossom.tpa.command.tpa (default: true)
  • /tpahere <target> – initiates a tpahere request for <target> Permission: blossom.tpa.here (default: true) OR blossom.tpa.command.tpahere (default: true)
  • /tpaaccept [<target>] – accepts a tpa/tpahere request from <target> Permission: blossom.tpa (default: true) OR blossom.tpa.command.tpaaccept (default: true)
  • /tpadeny [<target>] – denies a tpa/tpahere request from <target> Permission: blossom.tpa (default: true) OR blossom.tpa.command.tpadeny (default: true)
  • /tpacancel [<target>] – cancels a tpa/tpahere request to <target> Permission: blossom.tpa (default: true) OR blossom.tpa.command.tpacancel (default: true)

A player with the permission blossom.tpa.disallowed will not be able to receive tpa requests.
The player sending the tpa request will receive a warning message, while the player receiving the request will see nothing.

A player with the permission blossom.tpa.accept.always.tpa or blossom.tpa.accept.always.tpahere
will always automatically accept any incoming tpa or tpahere request respectively.
Neither of the players will receive any messages about the request.

A player with the permission blossom.tpa.accept.force.tpa or blossom.tpa.accept.force.tpahere
will always have any outgoing tpa or tpahere request (respectively) automatically forced to be accepted.
Neither of the players will receive any messages about the request.
This behaviour is similar to the vanilla /tp command, but with the stand-still period.

Translation keys

Only keys with available arguments are shown, for full list, please see
src/main/resources/data/blossom/lang/en_us.json

Note on terms used here:
“initiator” – player who initiated the tpa/tpahere request and can /tpacancel it
“receiver” – player who’s received a tpa/tpahere request and has to /tpaaccept or /tpadeny it

  • blossom.tpa.fail.to-self: 0 arguments
  • blossom.tpa.fail.disallowed: 1 argument – receiver
  • blossom.tpa.fail.similar: 1 argument – receiver
  • blossom.tpa.fail.multiple: 0 arguments
  • blossom.tpa.fail.none: 0 arguments
  • blossom.tpa.fail.none-from: 1 argument – initiator
  • blossom.tpa.fail.cancel.none-to: 1 argument – receiver
  • blossom.tpa.to.start.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.start.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.timeout.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.timeout.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.accept.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.accept.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.deny.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.deny.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.cancel.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.to.cancel.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.start.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.start.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.timeout.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.timeout.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.accept.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.accept.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.deny.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.deny.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.cancel.initiator: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command
  • blossom.tpa.here.cancel.receiver: 6 arguments – timeout length, initiator, receiver, /tpacancel command, /tpaaccept command, /tpadeny command

zh_cn (Chinese, Simplified), zh_tw (Chinese, Traditional) – added by @BackWheel

常见问题

BlossomTpa 支持哪些 Minecraft 版本?

BlossomTpa 支持 Minecraft Java 版 1.18.2–26.3,共 28 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

BlossomTpa 怎么安装?

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

评论

登录后评论和评分

CodedSakura 的其他作品

查看全部 →