BlossomTpa
BlossomTpa 是 Blossom 系列模组中的一个 Minecraft Fabric 模组,提供 /tpa 命令及相关实用功能。
目录
依赖项
配置
本模组的配置文件位于 config/BlossomMods/BlossomTPA.json,在至少运行一次包含该模组的服务器后即可生成。
teleportation: TeleportationConfig -
传送设置
timeout: int - (秒数),tpa/tpahere 请求在被超时前的有效时长
standStill: int - (秒数),玩家在被传送前必须静止不动的时长
cooldown: int - (秒数),使用此命令传送后,玩家需要等待多久才能再次传送
/tpa <target> - 向 <target> 发起传送请求
权限:blossom.tpa(默认:true)或 blossom.tpa.command.tpa(默认:true)
/tpahere <target> - 为 <target> 发起反向传送请求
权限:blossom.tpa.here(默认:true)或 blossom.tpa.command.tpahere(默认:true)
/tpaaccept [<target>] - 接受来自 <target> 的 tpa/tpahere 请求
权限:blossom.tpa(默认:true)或 blossom.tpa.command.tpaaccept(默认:true)
/tpadeny [<target>] - 拒绝来自 <target> 的 tpa/tpahere 请求
权限:blossom.tpa(默认:true)或 blossom.tpa.command.tpadeny(默认:true)
/tpacancel [<target>] - 取消发往 <target> 的 tpa/tpahere 请求
权限:blossom.tpa(默认:true)或 blossom.tpa.command.tpacancel(默认:true)
拥有权限 blossom.tpa.disallowed 的玩家将无法接收传送请求。
发送传送请求的玩家会收到一条警告消息,而接收请求的玩家将不会看到任何内容。
拥有权限 blossom.tpa.accept.always.tpa 或 blossom.tpa.accept.always.tpahere 的玩家将分别自动接受所有传入的 tpa 或 tpahere 请求。
双方均不会收到关于该请求的任何消息。
拥有权限 blossom.tpa.accept.force.tpa 或 blossom.tpa.accept.force.tpahere 的玩家,其所有发出的 tpa 或 tpahere 请求(分别对应)将始终被自动强制接受。
双方都不会收到关于该请求的任何消息。
此行为类似于原版 /tp 命令,但带有静止等待期。
翻译键
仅显示包含可用参数的键,如需完整列表,请参阅
src/main/resources/data/blossom/lang/en_us.json
术语说明:
“发起者” - 发起 tpa/tpahere 请求且可执行 /tpacancel 的玩家
“接收者” - 收到 tpa/tpahere 请求并需执行 /tpaaccept 或 /tpadeny 的玩家
blossom.tpa.fail.to-self:0 个参数
blossom.tpa.fail.disallowed:1 个参数 - receiver(接收者)
blossom.tpa.fail.similar:1 个参数 - receiver(接收者)
blossom.tpa.fail.multiple:0 个参数
blossom.tpa.fail.none:0 个参数
blossom.tpa.fail.none-from:1 个参数 - initiator(发起者)
blossom.tpa.fail.cancel.none-to:1 个参数 - receiver(接收者)
blossom.tpa.to.start.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.start.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.timeout.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.timeout.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.accept.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.accept.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.deny.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.deny.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.cancel.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.to.cancel.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.start.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.start.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.timeout.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.timeout.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.accept.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.accept.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.deny.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.deny.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.cancel.initiator:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
blossom.tpa.here.cancel.receiver:6 个参数 - timeout length(超时时长)、initiator(发起者)、receiver(接收者)、/tpacancel 指令、/tpaaccept 指令、/tpadeny 指令
zh_cn(简体中文)、zh_tw(繁体中文)- 由 @BackWheel 添加
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧