如果你来到了这个页面,说明你正为如何控制玩家拥有的某些不该拥有的物品而头疼。
这个简单的模组解决了这个问题——终极解决方案就是删除。
模组工作原理:根据配置文件,它会删除在世界中生成的物品实体,并在容器打开或关闭时删除其中的物品。就这么简单。
注意:此模组不会使物品本身、配方、已放置的方块或其他任何对象从世界中消失。它仅移除掉落的物品和容器中的物品!
配置很简单,将 F3+H 模式下显示的物品 ID 添加到“待删除物品”列表中。你也可以通过配置文件随时开启或关闭该功能,以便仅在需要时使用。
添加 ID 后,配置应如下所示:
"Items To Delete" = ["minecraft:dirt"]
如果有多个物品:
"Items To Delete" = ["minecraft:dirt", "minecraft:stone"]
只需在两个名称之间添加逗号,即可添加任意数量的物品。
客户端无需安装,服务器管理员只需将此模组放入服务器即可轻松搞定。
自 V1.2.0 版本起,所有被删除的物品都会记录到日志文件中,包括其来源、涉及的玩家以及所在位置。
If you have ended up on this page you are at your wits end at trying to control an item your players have for whatever reason they shouldn't have it.
This simple mod fixes that, the ultimate power that is, delete.
How the mod works: It delete item entities that spawn in the world and deletes items from containers when opened or closed based off the config. That's it.
NOTE: This mod WILL NOT REMOVE the item itself from existence, recipes, placed blocks, or any other object. It ONLY REMOVES DROPPED ITEMS and ITEMS IN CONTAINERS!
Config is simple, add item ID's from F3+H to the item delete list. You can also turn it on and off via the config if you only want it every now and again.
Once you have the ID(s) it should look like this:
"Items To Delete" = ["minecraft:dirt"]
or if you have multiple items:
"Items To Delete" = ["minecraft:dirt", "minecraft:stone"]
You can chain as many as you wish by just adding a comma between two names.
Not required on the client so server owners can just plop this sucker in their server and win.
As of V1.2.0 any deleted items are logged to the log file. Including where they came from, who they came from and what the location is.
评论 0
登录后参与评分
还没有评论,来抢沙发吧