跳到正文

Avarus

作者:wdfeer

Buy permanent attribute buffs with commands. Server-side and configurable.

收藏

介绍

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

About

Server-side Fabric mod adding commands that give the player permanent attribute modifiers at the cost of a large amount of a single item.

By default contains 43 purchasable buffs designed for a completionist playthrough.

Commands

  • /avarus-get <item>\ example: /avarus-get carrot_512 – gives 1 max hp for 512 carrots\ Provides a buff by consuming the required number of items (unique to each item) from the player’s inventory.
  • /avarus-help\ Shows a short help message explaining the mod and its functionality.
  • /avarus-status\ Tells you how many buffs are active, which are missing.
  • /avarus-get-all\ Provides all the buffs for free at once. Requires permission level 2 and creative mode.
  • /avarus-remove <item>\ Removes a buff. Requires permission level 2.
  • /avarus-remove-all\ Removes all buffs. Requires permission level 2.

Configuration

The configuration can be found at config/avarus.json.

Buff entry structure:

  • string name: Optional. The name of the buff used in commands.
  • {itemId}_{itemsRequired} is used if not specified.
  • string itemId: Identifier of the item used to obtain the buff.
  • int itemsRequired: Number of items required to obtain the buff.
  • string attributeId: Identifier of the Attribute the player gains from the buff
  • double value: Value of the gained attribute as a floating point number.
  • string operationId: Operation type. Valid settings: addition, multiply_base, multiply_total.

Default configuration:

{
  "buffs": [
    {
      "itemId": "minecraft:sugar",
      "itemsRequired": 512,
      "attributeId": "minecraft:generic.movement_speed",
      "value": 0.075,
      "operationId": "multiply_base"
    },
    {
      "itemId": "minecraft:feather",
      "itemsRequired": 512,
      "attributeId": "minecraft:generic.movement_speed",
      "value": 0.075,
      "operationId": "multiply_base"
    },
    ...
  ] 
}

常见问题

Avarus 支持哪些 Minecraft 版本?

Avarus 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Avarus 怎么安装?

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

评论

登录后评论和评分

wdfeer 的其他作品

查看全部 →