免费插件

Inventory Lock

库存锁定

加入服务器或进入某些区域时锁定玩家的库存

库存blockrestrictions物品zone

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

插件介绍

加入服务器或进入某些区域时锁定玩家的库存

This plugin allows you to lock or unlock players' inventories automatically upon joining the server, entering certain zones, or manually through a command.

Demonstration

主要用途

主要用于库存、block、restrictions、物品等服务端功能。 本插件由 VisEntities 发布,当前目录记录版本为 v2.0.0,uMod 累计下载 8,381 次。

适用场景

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

功能分类

库存blockrestrictions物品zone
查看 uMod 官方英文简介

Locks players' inventories when joining the server or upon entering certain zones

权限节点

inventorylock.admin - Allows to use the inv.lock command to lock or unlock inventories for other players.

inventorylock.bypass - Allows to be unaffected by automatic inventory locking or the inv.lock command.

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

inv.lock <PlayerId or PlayerName> <ContainerType> <True or False> - Locks or unlocks the specified inventory container type for a given player.

相关依赖

  • Zone Manager

配置说明

{ "Version": "2.0.0", "Lock On Connect": [ 0 ], "Locked Zones": [ { "Zone Id": "42626527", "Container Types": [ 0, 1 ] }, { "Zone Id": "89401263", "Container Types": [ 3 ] } ] }

官方配置示例

{
  "Version": "2.0.0",
  "Lock On Connect": [
    0
  ],
  "Locked Zones": [
    {
      "Zone Id": "42626527",
      "Container Types": [
        0,
        1
      ]
    },
    {
      "Zone Id": "89401263",
      "Container Types": [
        3
      ]
    }
  ]
}
{
  "InvalidArguments": "Invalid arguments provided. Usage: inv.lock <PlayerId or PlayerName> <ContainerType> <True or False>",
  "PlayerNotFound": "Player not found.",
  "InvalidContainerType": "Invalid container type provided.",
  "LockSuccess": "Successfully locked <color=#ffb347>{0}</color> container for <color=#ffb347>{1}</color>.",
  "UnlockSuccess": "Successfully unlocked <color=#ffb347>{0}</color> container for <color=#ffb347>{1}</color>.",
  "PlayerHasBypass ": "<color=#ffb347>{0}</color> has bypass permission and cannot have their inventory locked or unlocked.",
  "AdminPermissionRequired ": "You do not have the required admin permission to execute this command."
}

更新日志

最新版本: v2.0.0
最后版本发布: 2024-03-20
最后更新(条目): 2026-07-19

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

安装方法

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

使用前注意

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

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