FabricTPA
一个面向服务端的 Fabric/Quilt 模组,添加了 /tpa 命令集。
适用于 Minecraft 1.16.2+(快照版未完全测试)
需要 FabricAPI
命令
除 /tpaconfig 外,所有命令均不需要 OP 权限。它们旨在供服务器上的每位玩家使用。
/tpa <player> - 发起请求,让你传送至 <player>
/tpahere <player> - 发起请求,让 <player> 传送至你
/tpacancel [<player>] - 取消你发起的 tpa 或 tpahere 请求;若存在多个进行中的请求,则需指定参数
/tpaaccept [<player>] - 接受你收到的 tpa 或 tpahere 请求;若存在多个进行中的请求,则需指定参数
/tpadeny [<player>] - 拒绝你收到的 tpa 或 tpahere 请求;若存在多个进行中的请求,则需指定参数
/tpaconfig [<option> [<value>]] - 获取/设置配置选项,更多信息见下文(需要 OP 权限等级 2)
LuckPers / fabric-permission-api
仅有 2 个权限:
fabrictpa.tpa 允许玩家执行基础命令
fabrictpa.config 允许玩家使用 /tpaconfig 命令编辑配置
配置
通过 /tpaconfig 进行配置。目前共有 5 个可配置选项。
配置也会保存在 config/FabricTPA.properties 中,服务器启动时会从该文件加载值。
当在游戏中更改设置时,该文件也会同步更新。
timeout - tpa 或 tpahere 请求在未接受/拒绝/取消的情况下多久后超时。默认值:60(秒)
stand-still - 玩家在接受 tpa 或 tpahere 请求后需要静止站立多久。默认值:5(秒)
disable-bossbar - 是否禁用用于指示静止时间的 Boss 栏提示;若设为 true,则将使用操作栏显示时间。默认值:false
cooldown - 两次传送之间的最小间隔时间。默认值:5(秒)
cooldown-mode - 冷却模式的类型,有以下 3 种取值之一:WhoTeleported、WhoInitiated、BothUsers。默认值:WhoTeleported。更多信息见下文
冷却模式
WhoTeleported - 冷却应用于被传送的玩家
WhoInitiated - 冷却应用于发起请求的玩家
BothUsers - 冷却应用于参与传送请求的两名玩家
NOTICE: This mod is deprecated in favour of BlossomTPA!
FabricTPA
A server-side Fabric/Quilt mod that adds /tpa command-set.
Works for Minecraft 1.16.2+ (snapshots not fully tested)
Requires FabricAPI
Commands
All commands except /tpaconfig don't require OP permissions. They're meant for everyone on a server to use.
/tpa <player> - Initiates request for you to teleport to <player>
/tpahere <player> - Initiates request for <player> to teleport to you
/tpacancel [<player>] - Cancel a tpa or tpahere request you've initiated, argument required if multiple ongoing
/tpaaccept [<player>] - Accept a tpa or tpahere request you've received, argument required if multiple ongoing
/tpadeny [<player>] - Deny a tpa or tpahere request you've received, argument required if multiple ongoing
/tpaconfig [<option> [<value>]] - Get/Set config options, more info below (Requres OP permission level 2)
LuckPers / fabric-permission-api
There are only 2 permissions:
fabrictpa.tpa allows players to execute the base commands
fabrictpa.config allows players to edit the config using the /tpaconfig command
Configuration
Configuration is done through /tpaconfig. There are currently 5 configurable options.
Configuration is also saved in config/FabricTPA.properties, from which the values are loaded at server startup.
It also updates when a setting is changed in-game.
timeout - How long should it take for a tpa or tpahere request to time out, if not accepted/denied/cancelled. Default: 60 (seconds)
stand-still - How long should the player stand still for after accepting a tpa or tpahere request. Default: 5 (seconds)
disable-bossbar - Whether to disable the boss bar indication for standing still, if set to true will use action bar for time. Default: false
cooldown - The minimum time between teleporting and the next request. Default: 5 (seconds)
cooldown-mode - The mode for the cooldown, one of 3 values: WhoTeleported, WhoInitiated, BothUsers. Default: WhoTeleported. More info below
Cooldown modes
WhoTeleported - The cooldown is applied to whoever got teleported
WhoInitiated - Cooldown is applied to whoever initiated the request
BothUsers - The Cooldown is applied to both players involved in the teleport request
NOTICE: This mod is deprecated in favour of BlossomTPA!
评论 0
登录后参与评分
还没有评论,来抢沙发吧