免费插件

Stack Size Controller

物品堆叠控制

允许设置每个项目的最大堆栈大小

stack物品库存storage

原作者:AnExiledDev · 查看 uMod 官方页面 ↗

插件介绍

允许设置每个项目的最大堆栈大小

主要用途

主要用于stack、物品、库存、storage等服务端功能。 本插件由 AnExiledDev 发布,当前目录记录版本为 v4.1.3,uMod 累计下载 570,774 次。

适用场景

  • 需要调整建造、物品、制作或采集体验的服务器

功能分类

stack物品库存storage
查看 uMod 官方英文简介

Allows setting the max stack size of every item

相关依赖

  • Stack Fuel Generator

配置说明

{ "RevertStackSizesToVanillaOnUnload": true, "AllowStackingItemsWithDurability": true, "HidePrefixWithPluginNameInMessages": false, "GlobalStackMultiplier": 1.0, "CategoryStackMultipliers": { "Weapon": 1.0, "Construction": 1.0, "Items": 1.0, "Resources": 1.0, "Attire": 1.0, "Tool": 1.0, "Medical": 1.0, "Food": 1.0, "Ammunition": 1.0, "Traps": 1.0, "Misc": 1.0, "All": 1.0, "Common": 1.0, "Component": 1.0, "Search": 1.0, "Favourite": 1.0, "Electrical": 1.0, "Fun": 1.0 }, "IndividualItemStackMultipliers": {}, "IndividualItemStackSize": {}, "VersionNumber": { "Major": 4, "Minor": 0, "Patch": 0 } }

{ "RevertStackSizesToVanillaOnUnload": true, "AllowStackingItemsWithDurability": true, "HidePrefixWithPluginNameInMessages": false, "GlobalStackMultiplier": 1.0, "CategoryStackMultipliers": { "Weapon": 1.0, "Construction": 5.0, "Items": 1.0, "Resources": 1.0, "Attire": 1.0, "Tool": 1.0, "Medical": 1.0, "Food": 1.0, "Ammunition": 1.0, "Traps": 1.0, "Misc": 1.0, "All": 1.0, "Common": 1.0, "Component": 1.0, "Search": 1.0, "Favourite": 1.0, "Electrical": 1.0, "Fun": 1.0 }, "IndividualItemStackMultipliers": { "-586342290": 10, "ammo.pistol": 20 }, "IndividualItemStackSize": { "abovegroundpool": 1, "aiming.module.mlrs": 1, "ammo.grenadelauncher.buckshot": 24, "ammo.grenadelauncher.he": 12, "ammo.grenadelauncher.smoke": 12, "ammo.handmade.shell": 64, "ammo.nailgun.nails": 64, "ammo.pistol": 128, "ammo.pistol.fire": 128, "ammo.pistol.hv": 128, "ammo.rifle": 128, "ammo.rifle.explosive": 128, (... Continued) }, "VersionNumber": { "Major": 4, "Minor": 0, "Patch": 0 } }

RevertStackSizesToVanillaOnUnload - If true; item stacksizes are returned to vanilla defaults on plugin unload.

AllowStackingItemsWithDurability - If enabled, items with durability such as weapons can be stacked if they are at full durability. If disabled items with durability can't be stacked at all. (Contents, attachments and ammo are all returned to the player)

HidePrefixWithPluginNameInMessages - Currently does nothing. Future version will hide the prefix from chat messages in-game.

GlobalStackMultiplier - Multiplies all item stacks by this value.

CategoryStackMultipliers - Each category will multiply stacks for those items by the defined amount.

IndividualItemStackMultipliers - Accepts "item_id": multiplier. Use stacksizecontroller.itemsearch to find the item id easily.

IndividualItemStackSize - Where you define specific stack sizes for each individual item.

官方配置示例

{
  "RevertStackSizesToVanillaOnUnload": true,
  "AllowStackingItemsWithDurability": true,
  "HidePrefixWithPluginNameInMessages": false,
  "GlobalStackMultiplier": 1.0,
  "CategoryStackMultipliers": {
    "Weapon": 1.0,
    "Construction": 1.0,
    "Items": 1.0,
    "Resources": 1.0,
    "Attire": 1.0,
    "Tool": 1.0,
    "Medical": 1.0,
    "Food": 1.0,
    "Ammunition": 1.0,
    "Traps": 1.0,
    "Misc": 1.0,
    "All": 1.0,
    "Common": 1.0,
    "Component": 1.0,
    "Search": 1.0,
    "Favourite": 1.0,
    "Electrical": 1.0,
    "Fun": 1.0
  },
  "IndividualItemStackMultipliers": {},
  "IndividualItemStackSize": {},
  "VersionNumber": {
    "Major": 4,
    "Minor": 0,
    "Patch": 0
  }
}
{
  "RevertStackSizesToVanillaOnUnload": true,
  "AllowStackingItemsWithDurability": true,
  "HidePrefixWithPluginNameInMessages": false,
  "GlobalStackMultiplier": 1.0,
  "CategoryStackMultipliers": {
    "Weapon": 1.0,
    "Construction": 5.0,
    "Items": 1.0,
    "Resources": 1.0,
    "Attire": 1.0,
    "Tool": 1.0,
    "Medical": 1.0,
    "Food": 1.0,
    "Ammunition": 1.0,
    "Traps": 1.0,
    "Misc": 1.0,
    "All": 1.0,
    "Common": 1.0,
    "Component": 1.0,
    "Search": 1.0,
    "Favourite": 1.0,
    "Electrical": 1.0,
    "Fun": 1.0
  },
  "IndividualItemStackMultipliers": 
  {
    "-586342290": 10,
    "ammo.pistol": 20
  },
  "IndividualItemStackSize": {
    "abovegroundpool": 1,
    "aiming.module.mlrs": 1,
    "ammo.grenadelauncher.buckshot": 24,
    "ammo.grenadelauncher.he": 12,
    "ammo.grenadelauncher.smoke": 12,
    "ammo.handmade.shell": 64,
    "ammo.nailgun.nails": 64,
    "ammo.pistol": 128,
    "ammo.pistol.fire": 128,
    "ammo.pistol.hv": 128,
    "ammo.rifle": 128,
    "ammo.rifle.explosive": 128,
    (... Continued)
  },
  "VersionNumber": {
    "Major": 4,
    "Minor": 0,
    "Patch": 0
  }
}

更新日志

最新版本: v4.1.3
最后版本发布: 2024-07-04
最后更新(条目): 2026-07-19

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。