跳到正文

LuckPerms – MT Inventory Weight

作者:MEGATREX4

LuckPerms InventoryWeight connects LuckPerms rank meta values with MT Inventory Weight, allowing server admins to grant flat, percent, or multiplier-based carry capacity bonuses through LuckPerms meta keys.

收藏

截图

介绍

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

LuckPerms InventoryWeight

LuckPerms InventoryWeight is a server-side add-on for MT Inventory Weight and LuckPerms.

It lets server admins give players more maximum inventory weight through LuckPerms rank/user meta values.

This mod is not standalone.

Required Dependencies

This add-on requires:

Server-side Only

LuckPerms InventoryWeight is designed to run on the server.

It does not add client UI, keybinds, screens, HUD elements, or tooltips. It only modifies the server-side max weight calculation used by MT Inventory Weight.

Features

  • Integrates LuckPerms with MT Inventory Weight
  • Lets admins configure carry capacity bonuses using LuckPerms meta
  • Supports flat max-weight bonuses
  • Supports percentage bonuses
  • Supports direct multiplier bonuses
  • Server-side only

Supported LuckPerms Meta Keys

The add-on reads these LuckPerms meta keys:

inventoryweight.maxweight.add
inventoryweight.maxweight.percent
inventoryweight.maxweight.multiplier

Flat Bonus

/lp group vip meta set inventoryweight.maxweight.add 50

Gives:

+50 max weight

Percent Bonus

/lp group vip meta set inventoryweight.maxweight.percent 25

Gives:

+25% max weight

Multiplier Bonus

/lp group vip meta set inventoryweight.maxweight.multiplier 1.5

Gives:

1.5x max weight

Formula

The final result is calculated like this:

final max weight = (current max weight + add) * (1 + percent / 100) * multiplier

Example:

Current max weight: 100
Add: 50
Percent: 25
Multiplier: 1.5

Final: (100 + 50) * 1.25 * 1.5 = 281.25

Example Rank Setup

/lp group default meta set inventoryweight.maxweight.add 0
/lp group vip meta set inventoryweight.maxweight.add 50
/lp group vip meta set inventoryweight.maxweight.percent 10
/lp group elite meta set inventoryweight.maxweight.add 100
/lp group elite meta set inventoryweight.maxweight.percent 25
/lp group elite meta set inventoryweight.maxweight.multiplier 1.5

Documentation

Full documentation is available in:
https://megatrex4.github.io/inventory-weight/guide/addons/luckperms

常见问题

LuckPerms – MT Inventory Weight 支持哪些 Minecraft 版本?

LuckPerms – MT Inventory Weight 支持 Minecraft Java 版 1.20.1–26.1.2,共 19 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

LuckPerms – MT Inventory Weight 怎么安装?

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

评论

登录后评论和评分

MEGATREX4 的其他作品

查看全部 →