BlossomHomes
BlossomHomes 是 Blossom 系列模组中的一个 Fabric 模组,提供 /home 命令及相关工具。
目录
依赖项
配置
该模组的配置文件位于 config/BlossomMods/BlossomHomes.json,在至少运行一次服务器后生成。
teleportation: TeleportationConfig -
传送设置
standStill: int -(秒数),玩家在被传送前必须静止不动的时间
cooldown: int -(秒数),使用该命令传送后,玩家需要等待多久才能再次使用此命令进行传送
defaultHome: String - 默认家园的名称
startHomes: int - 默认最大家园数量
dimensionBlacklist: String[] - 玩家无法在此维度列表中设置家园的维度 ID 列表(例如 minecraft:the_end)
useBlacklistAsWhitelist: boolean - 反转黑名单以使其作为白名单工作
fallbackToPlayerSpawnPoint: boolean - 如果未设置默认家园,则使用玩家重生点
命令及其权限
在所有 <name> 为可选的命令中,如果未提供,将使用配置值 defaultHome。
请注意,只有 /homes 子命令的权限使用复数形式 homes。这是为了允许服务器管理员在命令过多时隐藏某些命令。
/home [<name>] - 传送自己到名为 <name> 的家园
权限:blossom.home(默认:true)
/sethome [<name>] - 创建一个名为 <name> 的家园
权限:blossom.home.set(默认:true)
/sethome <name> <position> <rotation> - 在 <position> 处创建名为 <name> 的家园,朝向 <rotation>
权限:blossom.home.set.pos(默认:false)
/sethome <name> <position> <rotation> <dimension> - 在 <dimension> 维度的 <position> 处创建名为 <name> 的家园,朝向 <rotation>
权限:blossom.home.set.dim(默认:false)
/delhome [<name>] - 删除名为 <name> 的家园
权限:blossom.home.remove(默认:true)
/listhomes - 列出所有家园
权限:blossom.home.list(默认:true)
/homes - /listhomes 的别名
权限:blossom.homes.list(默认:true)
list - /listhomes 的别名
权限:blossom.homes.list(默认:true)
set - /sethome 的别名
权限:blossom.homes.set(默认:true)
add - /sethome 的别名
权限:blossom.homes.add(默认:false)
delete - /delhome 的别名
权限:blossom.homes.delete(默认:true)
remove - /delhome 的别名
权限:blossom.homes.remove(默认:false)
set-max <new-max> <players> - 将所有 <players> 的最大家园数量设置为 <new-max>
权限:blossom.homes.set-max(默认:OP 等级 2)
load-legacy [<overwrite>] - 加载旧版 FabricHomes 的玩家家园,将其追加到现有玩家家园中,除非
<overwrite> 设置为 true,则替换所有(找到的)玩家家园。玩家无需在线即可更新其家园
权限:blossom.homes.load-legacy(默认:OP 等级 4)
权限:blossom.homes.set.in-blacklist(默认:OP 等级 2)- 允许在黑名单维度中设置家园。
要设置其他玩家的家园,可以使用 /execute as <player> run sethome <name>。
翻译键
仅显示带有可用参数的键,完整列表请参见
src/main/resources/data/blossom/lang/en_us.json
blossom.homes.list.empty: 1 个参数 - 最大家园数量
blossom.homes.list.header: 2 个参数 - 总家园数量,最大家园数量
blossom.homes.list.item: 1 个参数 - 家园名称
blossom.homes.list.item.description: 7 个参数 - 家园名称,家园维度键,家园 x,家园 y,家园 z,家园偏航角,
家园俯仰角
blossom.homes.add: 1 个参数 - 家园名称
blossom.homes.add.failed.max: 1 个参数 - 最大家园数量
blossom.homes.add.failed.name: 1 个参数 - 家园名称
blossom.homes.remove: 1 个参数 - 家园名称
blossom.homes.remove.failed: 1 个参数 - 家园名称
blossom.homes.setMax: 2 个参数 - 新最大值,玩家
blossom.homes.load-legacy.done: 2 个参数 - 家园数量,玩家数量
zh_cn(简体中文)、zh_tw(繁体中文) - 由 @BackWheel 添加,由 @Pau1am 更新
BlossomHomes
BlossomHomes is a Minecraft Fabric mod in the Blossom-series mods that provides /home command and utilities
Table of contents
Dependencies
Config
This mod's config file can be found at config/BlossomMods/BlossomHomes.json, after running the server with
the mod at least once.
teleportation: TeleportationConfig -
teleportation settings
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
defaultHome: String - name of the default home
startHomes: int - default max homes
dimensionBlacklist: String[] - a list of dimension ids (like minecraft:the_end) in which a player can't set a home
useBlacklistAsWhitelist: boolean - invert blacklist to function as a whitelist
fallbackToPlayerSpawnPoint: boolean - use player spawn point if no default home set
Commands & their permissions
In all commands where <name> is optional, if it's not provided, config value defaultHome will be used.
Do pay attention that only /homes subcommand permissions have the homes as a plural. This is done
to allow the server owners to hide some commands in case of command clutter.
/home [<name>] - teleport self to home named <name>
Permission: blossom.home (default: true)
/sethome [<name>] - creates a home named <name>
Permission: blossom.home.set (default: true)
/sethome <name> <position> <rotation> - creates a home named <name> at <position> facing <rotation>
Permission: blossom.home.set.pos (default: false)
/sethome <name> <position> <rotation> <dimension> - creates a home named <name> in <dimension> at <position>
facing <rotation>
Permission: blossom.home.set.dim (default: false)
/delhome [<name>] - delete a home named <name>
Permission: blossom.home.remove (default: true)
/listhomes - lists all homes
Permission: blossom.home.list (default: true)
/homes - alias of /listhomes
Permission: blossom.homes.list (default: true)
list - alias of /listhomes
Permission: blossom.homes.list (default: true)
set - alias of /sethome
Permission: blossom.homes.set (default: true)
add - alias of /sethome
Permission: blossom.homes.add (default: false)
delete - alias of /delhome
Permission: blossom.homes.delete (default: true)
remove - alias of /delhome
Permission: blossom.homes.remove (default: false)
set-max <new-max> <players> - set all <players>'s max homes to <new-max>
Permission: blossom.homes.set-max (default: OP level 2)
load-legacy [<overwrite>] - load legacy FabricHomes player homes, appending them to existing player homes, unless
<overwrite> is set to true, then replace all (found) player homes. Players don't have to be online for their
homes to be updated
Permission: blossom.homes.load-legacy (default: OP level 4)
Permission: blossom.homes.set.in-blacklist (default: OP level 2) - allow setting homes in blacklisted dimensions.
To set other players' homes, /execute as <player> run sethome <name> can be used.
Translation keys
only keys with available arguments are shown, for full list, please see
src/main/resources/data/blossom/lang/en_us.json
blossom.homes.list.empty: 1 argument - max home count
blossom.homes.list.header: 2 arguments - total home count, max home count
blossom.homes.list.item: 1 argument - home name
blossom.homes.list.item.description: 7 arguments - home name, home dimension key, home x, home y, home z, home yaw,
home pitch
blossom.homes.add: 1 argument - home name
blossom.homes.add.failed.max: 1 argument - max home count
blossom.homes.add.failed.name: 1 argument - home name
blossom.homes.remove: 1 argument - home name
blossom.homes.remove.failed: 1 argument - home name
blossom.homes.setMax: 2 arguments - new max, players
blossom.homes.load-legacy.done: 2 arguments - home count, player count
zh_cn (Chinese, Simplified), zh_tw (Chinese, Traditional) - added by @BackWheel, updated by @Pau1am
评论 0
登录后参与评分
还没有评论,来抢沙发吧