Minecraft 1.20.1 + 1.21.1 · Fabric · Server-side
Inventory EX
Inventory EX 允许服务器管理人员查看和管理玩家背包及末影箱,包括离线玩家的已保存背包数据。当安装了 Trinkets 或 Accessories 模组时,它也支持查看这些模组添加的装备栏位。玩家只需使用原版 Minecraft 客户端即可;在服务器上安装 Inventory EX 及其所需依赖项即可。
由 Bare Minimum Studios 维护。作者:naomieow 和 pokesmells。
指令
| 指令 |
打开界面 |
/invsee <name> |
主物品栏、护甲栏和副手 |
/endsee <name> |
末影箱 |
/trinketsee <name> |
Trinkets 饰品栏;当启用 Accessories 兼容层时隐藏 |
/accsee <name> |
Accessories 饰品栏 |
指令必须由玩家执行,且目标必须恰好为一名玩家。离线目标需要存在已保存的玩家数据。名称建议会包含在线玩家以及其配置文件已被 Minecraft 缓存的已保存离线玩家。
权限
在使用原版权限的情况下,操作员等级 2 可查看,等级 3 可编辑。被授权的管理人员可以查看和操作操作员的背包;拥有操作员身份并不意味着免疫。
如果使用 LuckPerms 等权限插件,请授予单独的权限节点:
| 查看权限 |
编辑权限 |
invex.invsee.command |
invex.invsee.modify |
invex.endsee.command |
invex.endsee.modify |
invex.trinketsee.command |
invex.trinketsee.modify |
invex.accsee.command |
invex.accsee.modify |
显式授予 invex.immune.view 可保护目标免遭查看。授予 invex.immune.modify 允许查看但阻止编辑。这两项权限均不会通过原版操作员身份自动授予。通配符权限也可以赋予免疫效果;如果希望某些人员仍可被检查,请将这些节点设置为 false。
安装
- 选择与服务器 Minecraft 版本匹配的 Inventory EX 文件。
- 安装 Fabric Loader、Fabric API 和 Fabric Language Kotlin。
- 将 Inventory EX JAR 文件放入服务器的
mods 文件夹中并重启服务器。
- 授予相关人员相应的操作员等级或权限节点,然后使用以下指令。
仅当你想要检查 Trinkets 或 Accessories 模组中的装备栏位时才安装它们。Inventory EX 本身并不添加任何装备系统。
要求
| Minecraft |
Java |
必需模组 |
| 1.20.1 |
17 或更高 |
Fabric API, Fabric Language Kotlin |
| 1.21.1 |
21 或更高 |
Fabric API, Fabric Language Kotlin |
Trinkets 和 Accessories 是可选的。SGUI 和 Fabric Permissions API 已捆绑在内。离线玩家查询使用 Minecraft 自身的配置文件缓存和已保存的玩家文件。
离线玩家与可选集成
离线背包数据来自世界存档中的玩家数据。从未加入过服务器的玩家没有已保存的背包可供查看。Minecraft 的配置文件缓存提供离线名称建议;当没有建议可用时,请输入完整名称。
Trinkets 和 Accessories 的指令仅在安装了相应模组时才会出现。当启用 Accessories 兼容层时,Trinkets 指令会被隐藏,以避免通过重复菜单暴露同一套装备系统。
只读访问会阻止通过直接点击、Shift+点击、拖拽和双击收集来移动物品。拥有编辑权限的管理人员可以更改目标背包的数据;对已保存离线背包的修改将在关闭界面时写回。
构建与发布
该项目使用 Gradle 9.8.0、Kotlin 和 Cloche。安装 Java 17 和 21,并在 Gradle 无法自动发现它们时通过环境变量 JDK17 和 JDK21 暴露其安装目录。
./gradlew build
在 Windows 上,请使用 gradlew.bat build。两个 Minecraft 版本目标会一起构建。
GitHub Actions 会验证推送和拉取请求,然后使用 MC Publish 在每个匹配的 v<version> 标签上将每个目标上传至 CurseForge 和 Modrinth。手动运行默认执行构建;选择 Publish 以进行上传。在发布前请设置仓库密钥 CURSEFORGE_TOKEN 和 MODRINTH_TOKEN。有关项目 ID、发布步骤和列表资源的信息,请参阅 发布指南。
链接
赞助
使用代码 bareminimum 可获得首月 8折优惠!
许可证
Inventory EX 采用 Bare Minimum License v1.0 许可证。详见 LICENSE。
Minecraft 1.20.1 + 1.21.1 · Fabric · Server-side
Inventory EX
Inventory EX lets server staff inspect and manage player inventories and Ender Chests, including saved inventories of offline players. It also supports Trinkets and Accessories when those mods are installed. Players can use ordinary Minecraft clients; install Inventory EX and its required dependencies on the server.
Maintained by Bare Minimum Studios. Authors: naomieow and pokesmells.
Commands
| Command |
Opens |
/invsee <name> |
Main inventory, armor, and offhand |
/endsee <name> |
Ender Chest |
/trinketsee <name> |
Trinkets; hidden when the Accessories compatibility layer is active |
/accsee <name> |
Accessories |
Commands must be used by a player and target exactly one player. Offline targets need existing saved player data. Name suggestions include online players and saved offline players whose profiles are cached by Minecraft.
Permissions
With vanilla permissions, operator level 2 can view and level 3 can edit. Operators can have their inventories viewed and edited by authorized staff; operator status does not grant immunity.
With a permissions provider such as LuckPerms, grant individual permissions:
| Viewer permission |
Editing permission |
invex.invsee.command |
invex.invsee.modify |
invex.endsee.command |
invex.endsee.modify |
invex.trinketsee.command |
invex.trinketsee.modify |
invex.accsee.command |
invex.accsee.modify |
Explicitly granting invex.immune.view protects a target from viewing. Granting invex.immune.modify allows viewing but blocks editing. Neither permission is granted by vanilla operator status. Wildcard permissions can grant immunity too; set these nodes to false if staff should remain inspectable.
Installation
- Choose the Inventory EX file matching your server's Minecraft version.
- Install Fabric Loader, Fabric API, and Fabric Language Kotlin.
- Place the Inventory EX JAR in the server's
mods folder and restart the server.
- Grant staff the appropriate operator level or permissions, then use the commands below.
Install Trinkets or Accessories only if you want to inspect those mods' equipment slots. Inventory EX does not add either equipment system itself.
Requirements
| Minecraft |
Java |
Required mods |
| 1.20.1 |
17 or newer |
Fabric API, Fabric Language Kotlin |
| 1.21.1 |
21 or newer |
Fabric API, Fabric Language Kotlin |
Trinkets and Accessories are optional. SGUI and Fabric Permissions API are bundled. Offline player lookup uses Minecraft's own profile cache and saved player files.
Offline players and optional integrations
Offline inventories come from the world's saved player data. A player who has never joined the server has no saved inventory to inspect. Minecraft's profile cache supplies offline name suggestions; type the full name when a suggestion is unavailable.
Trinkets and Accessories commands appear only when the corresponding mod is installed. The Trinkets command is hidden when its Accessories compatibility layer is active, so the same equipment system is not exposed through duplicate menus.
Read-only access blocks moving items through direct clicks, shift-click, dragging, and double-click collection. Staff with editing permission can change the target inventory; changes to saved offline inventories are written back when the menu closes.
Building and publishing
The project uses Gradle 9.8.0, Kotlin, and Cloche. Install Java 17 and 21 and expose their installation directories through JDK17 and JDK21 when Gradle cannot discover them.
./gradlew build
On Windows, use gradlew.bat build. Both Minecraft targets are built together.
GitHub Actions validates pushes and pull requests, then uses MC Publish to upload each target to CurseForge and Modrinth on a matching v<version> tag. Manual runs build by default; select Publish to upload. Set repository secrets CURSEFORGE_TOKEN and MODRINTH_TOKEN before publishing. See publishing guide for project IDs, release steps, and listing assets.
Links
Sponsor
Use code bareminimum to get 25% off your first month!
License
Inventory EX is licensed under the Bare Minimum License v1.0. See LICENSE.
评论 0
登录后参与评分
还没有评论,来抢沙发吧