FabricEssentials

FabricEssentials

一个为普通服务器提供基础命令和功能的Fabric模组。

Fabric Essentials 是一个 Minecraft Fabric 模组,它为游戏添加了许多命令(例如传送点、家、tpa 以及许多实用命令)。它完全在服务端运行,客户端无需安装。

命令

/anvil、/cartographytable、/enchantment、/enderchest、/grindstone、/loom、/smithing、/stonecutter、/workbench、/deletehome [home] [player]、/home [home] [player]、/homes [player]、/sethome [home] [player|-confirm]、/deletewarp warp、/warp warp、/setwarp warp、/warps、/tpa target、/tpahere target、/tpall、/tpaccept [target]、/tpdeny [target]、/back、/broadcast message、/commandspy、/essentials reload、/essentials import importer、/feed [player]、/hat、/itemedit name (name|clear)、/itemedit lore line (lore|clear)、/heal [player]、/glow [player]、/ping [player]、/signedit line (text|clear)、/mods [mod]、/fly [player]、/flyspeed [flyspeed] [target]、/walkspeed [walkspeed] [target]、/invulnerable [player]、/tellmessage targets message、/message-to-vanilla quicktext message、/message-to-vanilla simplifiedtext message

配置

{
  "homes": {
    // 每个玩家在不考虑权限的情况下应拥有的家数量
    "defaultLimit": 3,
    // 用于提高家数量上限的配置列表。系统将从所有条目中
    // 禁用堆叠时选择最高值,并在启用堆叠时累加所有值
    "homesLimits": [
      {
        // 玩家获得此配置所需的权限 'fabric-essentials.command.sethome.limit.permission'
        "permission": "vip",
        "limit": 5,
        "stacks": false
      }
    ]
  },
  "tpa": {
    // 传送请求保持有效的时间(秒)
    "expiry": 30
  },
  "commands": {
    // 是否允许玩家参数命令使用部分名称(仅名称开头)来指定目标玩家
    "allowPartialNames": false
  },
  "teleportation": {
    "waitingPeriod": {
      // 玩家在传送前需要等待的秒数
      "period": 2,
      "cancellation": {
        // 是否因受到伤害而取消传送
        "damage": false,
        // 传送被取消前玩家可移动的最大距离
        "maxMoveDistance": -1
      }
    },
    // 为 /back 命令保存的位置数量
    "savedBackLocations": 32,
    // 启用后,运行 /back 时会创建一个返回位置,从而允许您使用 /back 在最近位置和当前位置之间切换
    "saveBackCommandLocation": false
  },
  "itemEdit": {
    // 物品编辑命令的名称最大长度
    "name": {
      "maxLength": 50,
      "experienceLevelCost": 1
    },
    // 物品编辑命令的描述(lore)最大长度
    "lore": {
      "maxLength": 50,
      "maxLines": 5,
      "experienceLevelCost": 1
    }
  },
  "ignoreCommandSpyCommands": [
    "me",
    "msg",
    "teammsg",
    "tell",
    "w"
  ]
}

其他

命令监视(Commandspy)

运行 /commandspy 以切换监视模式。玩家运行的任何命令都将发送给您。配置选项 ignoreCommandSpyCommands 中列出的命令将不会发送。

样式输入(Styled Input)

允许用户在使用 patboxs text format 时在铁砧、书、告示牌和物品中使用样式。他们需要以下权限才能使用:fabric-essentials.style.type.tag,其中 type 可以是:anvil、book、sign、item.name、item.lore,而 tag 可以是任何 可用的标签!

导入模组数据

此模组提供从其他一些模组导入数据的功能,以帮助您进行过渡。在开始导入过程之前,请务必进行备份! 目前支持 kiloessentials 和 essential_commands 的数据导入。如果您希望从这些模组中的任何一个导入数据:

  1. 关闭您的服务器
  2. 移除旧模组
  3. 安装此模组
  4. 启动服务器
  5. 从控制台运行 /essentials import id 以开始导入过程。