well404.Vault 1.0.0

dotnet add package well404.Vault --version 1.0.0
                    
NuGet\Install-Package well404.Vault -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="well404.Vault" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="well404.Vault" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="well404.Vault" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add well404.Vault --version 1.0.0
                    
#r "nuget: well404.Vault, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package well404.Vault@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=well404.Vault&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=well404.Vault&version=1.0.0
                    
Install as a Cake Tool

well404.Vault

Unturned / OpenMod 私人仓库插件 —— 玩家把背包里的物品存入 / 取出个人仓库,容量按背包格子数计算。

well404.Vaultwell404 OpenMod 插件家族 的私人仓库模块。它无硬依赖,可独立运行; 装了 well404.WebPanel 时还会提供网页存取界面与容量设置。

功能

  • 🧳 每位玩家一个私人仓库,通过指令或网页存入 / 取出背包物品
  • 🎒 完整保真:保留物品耐久、品质、枪械配件、弹匣/弹药箱内的弹药等原始状态,取出原样还原
  • 📐 容量按背包格子数计:每个物品按其网格尺寸 宽×高 占用(如 2×2 弹药箱 = 4 格), 物品内部的堆叠 / 弹药数不计入(一盒 39 发的弹药箱仍只占其格子,不算 39 个)
  • 👤 按玩家容量:基础容量 + 按权限的容量档位(VIP 更大),还能为单个玩家单独覆盖
  • 🔎 网页仓库按属性合并 + 可折叠详情:完全相同的多件合并为一行;不同属性的同种物品(如 5 发/8 发弹药盒) 折叠成卡片,点「详情」就地展开逐个变体,弹药/堆叠以装填比例(如 6/8)展示;物品以响应式双列网格排布, 单件给一个存入/取出按钮、多件给全部 / 数量 / 一件(数量弹出空白框、需自行输入,标题标注范围 1–N,与「全部」「一件」都不同)
  • 🌐 可选 Web 面板:玩家网页仓库 + 管理员配置容量(基础 / 档位 / 单独玩家)

安装

openmod install well404.Vault

重启服务器或执行 openmod reload 后生效。无硬依赖。

命令

命令 别名 说明
/vault /storage 显示用法
/vault store <物品ID> [数量] deposit 把背包里该物品(按游戏物品 ID)存入仓库
/vault take <物品ID> [数量] withdraw 把仓库里该物品取回背包(背包满则掉落脚下)
/vault list info 列出仓库内容与占用

装了 WebPanel 时,/menu vault 可打开网页仓库(背包 / 仓库两区,点按钮存取)。

  • 权限:命令按 OpenMod 路径派生权限(well404.Vault:commands.vault[.store|.take|.list]);网页仓库的存 / 取 强制相同权限,缺权限则网页只读,无法绕过。
  • 只存背包:手持的主 / 副武器槽物品不会被存入,需先放进背包。

配置 (config.yaml)

# 基础容量(背包格子数)。每个物品按其网格尺寸(宽×高)占用;内部堆叠/弹药数不计入。
maxSlots: 200
# 按权限的容量档位;玩家取「基础与其拥有的各档位」中的最大值。
tiers: {}
#   "well404.vault.size.vip": 400

装了 WebPanel 时,基础容量、权限档位、以及单独玩家容量都可在管理面板「仓库」模块里编辑。

well404 OpenMod 插件家族

插件 说明
well404.Economy 货币经济核心,全局 IEconomyProvider 供币
well404.Shop 物品商店,买卖单品 / 礼包,依赖 Economy
well404.WebPanel 通用 Web 管理面板,供各插件挂载可视化管理模块
well404.Essentials 面向玩家的实用指令:home/tp/warp/gift/sleep/back/party,经济收费可选
well404.Vault 私人仓库,存取背包物品(完整保真,按格子计容量)

完整文档见 GitHub 仓库docs/

许可

CC BY-NC-SA 4.0 © well404

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 6/15/2026