插件介绍
阻止玩家将食物存放在常规存储容器中,迫使他们改用冰箱。
Prevent players from storing food items in regular storage containers, forcing them to use fridges instead.
When a player tries to place a food item in a restricted container (like a wooden box), the plugin will:
This encourages players to use fridges for food storage, adding realism to the gameplay.
Optional:
主要用途
主要用于游戏机制等服务端功能。 本插件由 sami37 发布,当前目录记录版本为 v1.2.1,uMod 累计下载 13,092 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Prevent players from storing food items in regular storage containers, forcing them to use fridges instead.
指令说明
Permission: Admin onlyDescription: Toggle debug mode to see container names when placing items
When enabled, you'll see a message showing the internal name of any container you interact with. This is useful for adding new containers to the config.
Usage:
/fdebug
Example output:
Enabled debug system. The name of this container is box.wooden.large
配置说明
The plugin generates a configuration file at oxide/config/FridgeFood.json on first load.
{ "Food List": [ "apple", "apple.spoiled", "black.raspberries", "blueberries", "grub", "worm", "cactusflesh", "can.beans", "can.tuna", "chocolate", "fish.anchovy", "fish.catfish", "fish.cooked", "fish.raw", "fish.herring", "fish.minnows", "fish.orangeroughy", "fish.salmon", "fish.sardine", "fish.smallshark", "fish.troutsmall", "fish.yellowperch", "granolabar", "chicken.burned", "chicken.cooked", "chicken.raw", "chicken.spoiled", "deermeat.burned", "deermeat.cooked", "deermeat.raw", "horsemeat.burned", "horsemeat.cooked", "horsemeat.raw", "humanmeat.burned", "humanmeat.cooked", "humanmeat.raw", "humanmeat.spoiled", "bearmeat.burned", "bearmeat.cooked", "bearmeat", "wolfmeat.burned", "wolfmeat.cooked", "wolfmeat.raw", "wolfmeat.spoiled", "meat.pork.burned", "meat.pork.cooked", "meat.boar", "mushroom", "jar.pickle", "smallwaterbottle", "waterjug", "candycane", "bottle.vodka", "black.berry", "clone.black.berry", "seed.black.berry", "blue.berry", "clone.blue.berry", "seed.blue.berry", "green.berry", "clone.green.berry", "seed.green.berry", "red.berry", "clone.red.berry", "seed.red.berry", "white.berry", "clone.white.berry", "seed.white.berry", "yellow.berry", "clone.yellow.berry", "seed.yellow.berry", "corn", "clone.corn", "seed.corn", "clone.hemp", "seed.hemp", "potato", "clone.potato", "seed.potato", "pumpkin", "clone.pumpkin", "seed.pumpkin", "healingtea.advanced", "healingtea", "healingtea.pure", "maxhealthtea.advanced", "maxhealthtea", "maxhealthtea.pure", "oretea.advanced", "oretea", "oretea.pure", "radiationremovetea.advanced", "radiationremovetea", "radiationremovetea.pure", "radiationresisttea.advanced", "radiationresisttea", "radiationresisttea.pure", "scraptea.advanced", "scraptea", "scraptea.pure", "woodtea.advanced", "woodtea", "woodtea.pure" ], "Unallowed container": [ "box.wooden.large", "box.wooden", "coffin.storage", "small.stash", "locker", "smallbackpack", "largebackpack" ] }
Food List:
Array of item shortnames that are considered "food"
By default, includes all items in the ItemCategory.Food category
Add or remove items as needed for your server
You can use item IDs or shortnames
Unallowed container:
Array of container shortnames where food cannot be stored
Common containers: box.wooden, box.wooden.large, coffin.storage, locker
Use /fdebug command to find container names in-game
You can find the complete Rust item list with item IDs and shortnames here:
Rust Item List - Corrosion Hour
To add a custom food item:
"Food List": [ "apple", "can.beans", "your.custom.item" // Add your item shortname here ]
To add a custom restricted container:
"Unallowed container": [ "box.wooden", "your.custom.container" // Add container shortname here ]
官方配置示例
{
"Food List": [
"apple",
"apple.spoiled",
"black.raspberries",
"blueberries",
"grub",
"worm",
"cactusflesh",
"can.beans",
"can.tuna",
"chocolate",
"fish.anchovy",
"fish.catfish",
"fish.cooked",
"fish.raw",
"fish.herring",
"fish.minnows",
"fish.orangeroughy",
"fish.salmon",
"fish.sardine",
"fish.smallshark",
"fish.troutsmall",
"fish.yellowperch",
"granolabar",
"chicken.burned",
"chicken.cooked",
"chicken.raw",
"chicken.spoiled",
"deermeat.burned",
"deermeat.cooked",
"deermeat.raw",
"horsemeat.burned",
"horsemeat.cooked",
"horsemeat.raw",
"humanmeat.burned",
"humanmeat.cooked",
"humanmeat.raw",
"humanmeat.spoiled",
"bearmeat.burned",
"bearmeat.cooked",
"bearmeat",
"wolfmeat.burned",
"wolfmeat.cooked",
"wolfmeat.raw",
"wolfmeat.spoiled",
"meat.pork.burned",
"meat.pork.cooked",
"meat.boar",
"mushroom",
"jar.pickle",
"smallwaterbottle",
"waterjug",
"candycane",
"bottle.vodka",
"black.berry",
"clone.black.berry",
"seed.black.berry",
"blue.berry",
"clone.blue.berry",
"seed.blue.berry",
"green.berry",
"clone.green.berry",
"seed.green.berry",
"red.berry",
"clone.red.berry",
"seed.red.berry",
"white.berry",
"clone.white.berry",
"seed.white.berry",
"yellow.berry",
"clone.yellow.berry",
"seed.yellow.berry",
"corn",
"clone.corn",
"seed.corn",
"clone.hemp",
"seed.hemp",
"potato",
"clone.potato",
"seed.potato",
"pumpkin",
"clone.pumpkin",
"seed.pumpkin",
"healingtea.advanced",
"healingtea",
"healingtea.pure",
"maxhealthtea.advanced",
"maxhealthtea",
"maxhealthtea.pure",
"oretea.advanced",
"oretea",
"oretea.pure",
"radiationremovetea.advanced",
"radiationremovetea",
"radiationremovetea.pure",
"radiationresisttea.advanced",
"radiationresisttea",
"radiationresisttea.pure",
"scraptea.advanced",
"scraptea",
"scraptea.pure",
"woodtea.advanced",
"woodtea",
"woodtea.pure"
],
"Unallowed container": [
"box.wooden.large",
"box.wooden",
"coffin.storage",
"small.stash",
"locker",
"smallbackpack",
"largebackpack"
]
}"Food List": [
"apple",
"can.beans",
"your.custom.item" // Add your item shortname here
]更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。