全面掌控 Minecraft 服务器中的物品。 封禁、限制或将物品标记为非法 —— 支持自动执行、JEI 集成、维度支持及自定义消息。
描述
Item Manager 是一款服务器端的管理模组,允许管理员控制玩家可以在服务器上拥有、制作或携带哪些物品。无论你是运行生存 SMP、RPG 服务器还是竞技环境,Item Manager 都能为你提供工具以自动执行物品规则 —— 无需插件,无需命令刷屏,无需手动执行。
只需将物品添加到某个类别,模组即可自动完成其余工作。
工作原理
Item Manager 拥有 3 种执行类别,每种类别具有不同程度的限制:
? BANNED(封禁)
最严格的限制。被封禁的物品在服务器上完全禁止。
- ✖ 每秒自动从玩家背包中移除
- ✖ 当玩家打开箱子或其他容器时,自动从中移除
- ⚠ 移除物品时,玩家会收到警告消息
- ?️ 物品上显示红色提示框警告
- ? 支持每个物品使用颜色代码的完全自定义消息
- ? 可仅针对特定维度进行限制
? ILLEGAL(非法)
较宽松的限制。非法物品可以存在于背包中,但无法被主动使用。
- ↩ 自动移出快捷栏(0–8 号槽位)
- ↩ 自动移出副手槽位
- ↩ 自动卸下所有盔甲槽位中的物品(头盔、胸甲、护腿、靴子)
- 物品保留在主背包中 —— 不会被销毁
- ?️ 物品上显示橙色提示框警告
- ? 支持每个物品使用颜色代码的完全自定义消息
- ? 可仅针对特定维度进行限制
? RESTRICTED(限制)
最轻微的限制。受限制的物品可以被拥有,但无法制作。
- ✖ 制作配方被阻止 —— 结果会自动取消
- ✖ 启动时直接从服务器中移除配方
- ✖ 配方在 JEI (Just Enough Items) 中隐藏
- ?️ 物品上显示黄色提示框警告
- ? 支持每个物品使用颜色代码的完全自定义消息
- ? 可仅针对特定维度进行限制
维度支持
每个物品都可以设置为 全局 限制,或仅在 特定维度 中限制 —— 包括模组添加的维度。
# 全局限制(所有维度)
/itemmanager add banned minecraft:tnt
# 仅限下界
/itemmanager add banned minecraft:tnt --dim minecraft:the_nether
# 仅限末地
/itemmanager add illegal minecraft:elytra --dim minecraft:the_end
# 模组维度
/itemmanager add banned botania:mana_sword --dim botania:alfheim
自定义消息
每个物品都可以拥有 完全自定义的提示框消息,支持任何语言,并使用 & 符号完整支持 Minecraft 颜色代码。
/itemmanager add banned minecraft:tnt|&8[&c&lBANNED&8] &c▪ &fThis item is forbidden.
/itemmanager add illegal minecraft:diamond_sword|&6No puedes usar esto aquí.
/itemmanager add restricted minecraft:elytra|&eItem restringido en este servidor.
# 带维度限制
/itemmanager add banned minecraft:tnt|&cNo TNT en el Nether --dim minecraft:the_nether
如果未设置自定义消息,则显示默认的双语消息(西班牙语/英语)。
实时配置同步
无需重启服务器。更改立即生效:
- 每次执行命令后,配置自动同步给所有玩家
- 玩家登录时,配置同步给该玩家
/itemmanager reload 强制向所有玩家手动同步
命令
所有命令需要 OP 等级 2 或更高。所有命令均支持 Tab 键自动补全。
| 命令 |
描述 |
/itemmanager add <cat> <item> |
将物品添加到类别 |
/itemmanager add <cat> <item>|<msg> |
添加带有自定义消息的物品 |
/itemmanager add <cat> <item> --dim <dim> |
为特定维度添加物品 |
/itemmanager add <cat> <item>|<msg> --dim <dim> |
添加带有消息和维度的物品 |
/itemmanager remove <cat> <item> |
从类别中移除物品 |
/itemmanager setmessage <cat> <item>|<msg> |
设置或更新自定义消息 |
/itemmanager clearmessage <cat> <item> |
移除自定义消息 |
/itemmanager list |
显示所有已注册物品 |
/itemmanager check <item> |
检查特定物品的状态 |
/itemmanager reload |
重新加载并将配置同步给所有玩家 |
快速开始
1. 安装模组 — 将 itemmanager-1.2.0.jar 放入服务器的 mods/ 文件夹。适用于 Forge 和 Mohist 服务器。为了实现 JEI 配方隐藏和提示框功能,客户端也需要安装该模组。
2. 启动服务器 — 配置文件将在 world/serverconfig/itemmanager-server.toml 处创建
3. 通过命令添加物品:
/itemmanager add banned minecraft:tnt|&cForbidden on this server
/itemmanager add illegal minecraft:diamond_helmet|&6Cannot be equipped
/itemmanager add restricted minecraft:elytra|&eNot craftable here
4. 手动编辑(可选):
[items]
banned = ["minecraft:tnt", "minecraft:tnt@minecraft:the_nether"]
banned_messages = ["minecraft:tnt|&cForbidden!", "minecraft:tnt@minecraft:the_nether|&cNo TNT here"]
illegal = ["minecraft:diamond_sword"]
illegal_messages = ["minecraft:diamond_sword|&6Cannot use this"]
restricted = ["minecraft:elytra"]
restricted_messages = []
兼容性
| 模组 / 平台 |
状态 |
| Forge 1.20.1 |
✅ 完全支持 |
| Mohist 1.20.1 |
✅ 完全支持 |
| JEI 15.20.0.x |
✅ 隐藏配方和材料 |
| REI |
? 即将推出 |
| EMI |
? 即将推出 |
| 任意模组物品 |
✅ 通过 modid:itemname 完全支持 |
| 模组维度 |
✅ 通过 modid:dimension 完全支持 |
常见问题
更改后需要重启服务器吗? 不需要 —— 更改会即时同步给所有玩家。
从未打开过的箱子中的封禁物品会被移除吗? 不会 —— 只有当玩家打开箱子时才会扫描其中的物品。
如果移动非法物品时背包已满会发生什么? 物品会掉落在玩家附近的地面上。
这是否与模组物品和维度兼容? 是的——请使用 modid:itemname 和 modid:dimension。
能否在消息中使用颜色代码? 可以——使用 & 后跟颜色代码(例如 &c 红色、&e 黄色、&6 金色)。
是否支持 Mohist? 是的——已在 Mohist 1.20.1 上完全测试通过。
要求
- Minecraft: 1.20.1
- Forge: 47.4.13+
- JEI (可选):15.20.0.x
Take full control of items on your Minecraft server. Ban, restrict, or mark items as illegal — with automatic enforcement, JEI integration, dimension support and custom messages.
Description
Item Manager is a server-side moderation mod that allows administrators to control which items players can have, craft, or carry on their server. Whether you're running a survival SMP, an RPG server, or a competitive environment, Item Manager gives you the tools to enforce item rules automatically — no plugins, no command spam, no manual enforcement.
Simply add an item to a category and the mod does the rest.
How It Works
Item Manager has 3 enforcement categories, each with a different level of restriction:
? BANNED
The most severe restriction. Banned items are completely forbidden on the server.
- ✖ Automatically removed from the player's inventory every second
- ✖ Automatically removed from any chest or container when a player opens it
- ⚠ Players receive a warning message when an item is removed
- ?️ Red tooltip warning shown on the item
- ? Supports fully custom messages per item with color codes
- ? Can be restricted to specific dimensions only
? ILLEGAL
A softer restriction. Illegal items can exist in the inventory but cannot be actively used.
- ↩ Automatically moved out of the hotbar (slots 0–8)
- ↩ Automatically removed from the offhand slot
- ↩ Automatically unequipped from all armor slots (helmet, chestplate, leggings, boots)
- The item stays in the main inventory — it is not destroyed
- ?️ Orange tooltip warning shown on the item
- ? Supports fully custom messages per item with color codes
- ? Can be restricted to specific dimensions only
? RESTRICTED
The lightest restriction. Restricted items can be owned but cannot be crafted.
- ✖ Crafting recipes are blocked — the result is cancelled automatically
- ✖ Recipes are removed directly from the server on startup
- ✖ Recipes are hidden in JEI (Just Enough Items)
- ?️ Yellow tooltip warning shown on the item
- ? Supports fully custom messages per item with color codes
- ? Can be restricted to specific dimensions only
Dimension Support
Every item can be restricted globally or only in specific dimensions — including modded dimensions.
# Global restriction (all dimensions)
/itemmanager add banned minecraft:tnt
# Only in the Nether
/itemmanager add banned minecraft:tnt --dim minecraft:the_nether
# Only in the End
/itemmanager add illegal minecraft:elytra --dim minecraft:the_end
# Modded dimension
/itemmanager add banned botania:mana_sword --dim botania:alfheim
Custom Messages
Every item can have a fully custom tooltip message in any language, with full Minecraft color code support using &.
/itemmanager add banned minecraft:tnt|&8[&c&lBANNED&8] &c▪ &fThis item is forbidden.
/itemmanager add illegal minecraft:diamond_sword|&6No puedes usar esto aquí.
/itemmanager add restricted minecraft:elytra|&eItem restringido en este servidor.
# With dimension
/itemmanager add banned minecraft:tnt|&cNo TNT en el Nether --dim minecraft:the_nether
If no custom message is set, a default bilingual message (Spanish/English) is shown.
Live Config Sync
No server restart needed. Changes apply instantly:
- Config syncs to all players automatically after every command
- Config syncs to a player when they log in
/itemmanager reload forces a manual sync to all players
Commands
All commands require OP level 2 or higher. All have Tab auto-complete.
| Command |
Description |
/itemmanager add <cat> <item> |
Add item to a category |
/itemmanager add <cat> <item>|<msg> |
Add item with custom message |
/itemmanager add <cat> <item> --dim <dim> |
Add item for specific dimension |
/itemmanager add <cat> <item>|<msg> --dim <dim> |
Add with message and dimension |
/itemmanager remove <cat> <item> |
Remove item from a category |
/itemmanager setmessage <cat> <item>|<msg> |
Set or update custom message |
/itemmanager clearmessage <cat> <item> |
Remove custom message |
/itemmanager list |
Show all registered items |
/itemmanager check <item> |
Check status of a specific item |
/itemmanager reload |
Reload and sync config to all players |
Quick Start
1. Install the mod — Place itemmanager-1.2.0.jar in your server's mods/ folder. Works on Forge and Mohist servers. For JEI recipe hiding and tooltips, clients also need the mod installed.
2. Start the server — Config file is created at world/serverconfig/itemmanager-server.toml
3. Add items via commands:
/itemmanager add banned minecraft:tnt|&cForbidden on this server
/itemmanager add illegal minecraft:diamond_helmet|&6Cannot be equipped
/itemmanager add restricted minecraft:elytra|&eNot craftable here
4. Edit manually (optional):
[items]
banned = ["minecraft:tnt", "minecraft:tnt@minecraft:the_nether"]
banned_messages = ["minecraft:tnt|&cForbidden!", "minecraft:tnt@minecraft:the_nether|&cNo TNT here"]
illegal = ["minecraft:diamond_sword"]
illegal_messages = ["minecraft:diamond_sword|&6Cannot use this"]
restricted = ["minecraft:elytra"]
restricted_messages = []
Compatibility
| Mod / Platform |
Status |
| Forge 1.20.1 |
✅ Full support |
| Mohist 1.20.1 |
✅ Full support |
| JEI 15.20.0.x |
✅ Recipe and ingredient hiding |
| REI |
? Coming soon |
| EMI |
? Coming soon |
| Any modded items |
✅ Full support via modid:itemname |
| Modded dimensions |
✅ Full support via modid:dimension |
FAQ
Do I need to restart the server after changes? No — changes sync instantly to all players.
Will banned items be removed from chests that are never opened? No — chests are only scanned when a player opens them.
What happens if inventory is full when an illegal item is moved? The item drops on the ground near the player.
Does this work with modded items and dimensions? Yes — use modid:itemname and modid:dimension.
Can I use color codes in messages? Yes — use & followed by a color code (e.g. &c red, &e yellow, &6 gold).
Does it work on Mohist? Yes — fully tested on Mohist 1.20.1.
Requirements
- Minecraft: 1.20.1
- Forge: 47.4.13+
- JEI (optional): 15.20.0.x
评论 0
登录后参与评分
还没有评论,来抢沙发吧