跳到正文

BlossomHomes

作者:CodedSakura

Blossom-series /home command and utilities

收藏

介绍

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

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

常见问题

BlossomHomes 支持哪些 Minecraft 版本?

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

BlossomHomes 怎么安装?

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

评论

登录后评论和评分

CodedSakura 的其他作品

查看全部 →