免费插件

Loot Plus

战利品加

修改服务器上的战利品

loot游戏机制rates物品containers

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

插件介绍

修改服务器上的战利品

This plugin is a loot system for your server. You can modify content of all the containers and do whatever you want!

WARNING! This plugin restores all the containers' loot after it's unload.

All commands can be easily changed in the configuration.

Refill Loot On Plugin Load is whether to refill loot on plugin load. Disable to prevent unnecessary changes and performance improvement but only on a test server. On your real server you should turn it on.

主要用途

主要用于loot、游戏机制、rates、物品等服务端功能。 本插件由 misticos 发布,当前目录记录版本为 v2.2.7,uMod 累计下载 28,438 次。

适用场景

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

功能分类

loot游戏机制rates物品containers
查看 uMod 官方英文简介

Modify loot on the server

权限节点

lootplus.lootsave - Permission for lootsave command.

lootplus.lootrefill - Permission for lootrefill command.

lootplus.loadconfig - Permission for lootconfig command.

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

指令说明

lootsave - Fill your inventory with items you want to be in the container and use this command. You need to look at the container/etc.

lootrefill - Refill all loot, without any kind of restarts, etc.

lootconfig - Load the config without refilling all loot, restarting the plugin, etc. Helpful for enabling debug without spam on plugin load.

All commands can be easily changed in the configuration.

配置说明

{ "Refill Loot On Plugin Load": true, "Container Loot Save Command": "lootsave", "Container Refill Command": "lootrefill", "Load Config Command": "lootconfig", "Containers": [ { "Entity Shortnames": [ { "Shortname": "entity.shortname", "Enable Regex": false, "Exclude": false, "API Shortname": false } ], "Process Corpses": true, "Process Loot Containers": true, "Monument Prefabs": [ "" ], "Shuffle Items": true, "Allow Duplicate Items": false, "Allow Duplicate Items With Different Skins": true, "Remove Container": false, "Item Container Indexes": [ 0 ], "Replace Items": true, "Add Items": false, "Modify Items": false, "Modify Ignores Blueprint State": false, "Fill With Default Items": false, "Online Condition": { "Minimal Online": -1, "Maximal Online": -1 }, "Maximal Failures To Add An Item": 5, "Capacity": [ { "Capacity": 3, "Chance": 1 } ], "Items": [ { "Item Shortnames": [ { "Shortname": "item.shortname", "Rarity": "global", "Category": "global", "Enable Regex": false, "Exclude": false } ], "Item Name (Empty To Ignore)": "", "Is Blueprint": false, "Allow Stacking": true, "Ignore Max Stack": true, "Ignore Max Condition": true, "Remove Item": false, "Replace Item With Default Loot": false, "Conditions": [ { "Minimal Condition": 75.0, "Maximal Condition": 100.0, "Max Condition Of Item": -1.0, "Condition Rate": -1.0, "Max Condition Rate": -1.0, "Chance": 1 } ], "Skins": [ { "Skin": 0, "Chance": 1 } ], "Amount": [ { "Minimal Amount": 3, "Maximal Amount": 3, "Rate": -1.0, "Chance": 1 } ], "Chance": 1 } ] } ], "Debug": false }

Refill Loot On Plugin Load is whether to refill loot on plugin load. Disable to prevent unnecessary changes and performance improvement but only on a test server. On your real server you should turn it on.

Container is a configuration entry that describes a group that can contain different containers that match specified shortnames, regex and etc.

Entity Shortnames are entries that let you select certain containers or exclude in case you do not need some. Use "global" to include all containers.

Process Corpses is whether this container should process corpses at all. Notice that it always ignores players' corpses.

Process Loot Containers is whther this container should process loot containers (not all containers tho).

Monument Prefabs is a list of monument prefabs. Notice that some of them cannot be detected because of in-game limitations.

Shuffle Items is whether to shuffle items. Should be enabled in case you want to randomize items order, else there may be less specific items than stated in configuration.

Allow Duplicate Items is whether to allow duplicate items when any added or no.

Allow Duplicate Items lets same items with different skips be added.

Remove Container is whether to remove container.

Item Container Indexes are container indexes used mostly for corpses. Your main inventory is 0, clothes container is 1 and belt is 2.

Replace Items is a mode toggle for replacing items completely in a container.

Add Items is a mode toggle for simply adding items to existing ones in a container.

Modify Items is a mode toggle for modifying existing loot.

Modify Ignores Blueprint State is whether modify should ignore blueprint states (no need for duplicate items with Is Blueprint true and false).

Fill With Default Items is whether the container should be filled with default items. Use with Replace to refill whole container and with Add to refill only empty slots.

Online Condition is an option to limit this container usage to a specific online, for example you can add a specific item to barrels when online is low and only to elite crates when you have high online.

Maximal Failures To Add An Item is a number of maximal failures. Increase it if something does not work, usually numbers up to a few hundreds are fine.

Capacity is a setting for capacity in a container. When using Add mode, it adds slots and with Replace it replaces number of free slots completely.

Item is an entry in a container that describes a certain group of items that match specified regex and etc..

Item Shortnames are entries that allow you to specify what items you want to change or add or exclude by providing their shortname, rarity and category. Use "global" to include all items, rarities or categories.

Item Name is a custom item name.

Is Blueprint is whether this item is a blueprint or not.

Allow Stacking is whether to allow stacking or not when adding an item.

官方配置示例

{
  "In-Game Only": "Please, use this only while you're in the game",
  "No Permission": "You don't have enough permissions",
  "No Loot Container": "Please, look at the loot container in 10m",
  "Loot Container Saved": "You have saved this loot container data to configuration",
  "Loot Refill Started": "Loot refill process just started",
  "Config Loaded": "Your configuration was loaded"
}
{
  "Refill Loot On Plugin Load": true,
  "Container Loot Save Command": "lootsave",
  "Container Refill Command": "lootrefill",
  "Load Config Command": "lootconfig",
  "Containers": [
    {
      "Entity Shortnames": [
        {
          "Shortname": "entity.shortname",
          "Enable Regex": false,
          "Exclude": false,
          "API Shortname": false
        }
      ],
      "Process Corpses": true,
      "Process Loot Containers": true,
      "Monument Prefabs": [
        ""
      ],
      "Shuffle Items": true,
      "Allow Duplicate Items": false,
      "Allow Duplicate Items With Different Skins": true,
      "Remove Container": false,
      "Item Container Indexes": [
        0
      ],
      "Replace Items": true,
      "Add Items": false,
      "Modify Items": false,
      "Modify Ignores Blueprint State": false,
      "Fill With Default Items": false,
      "Online Condition": {
        "Minimal Online": -1,
        "Maximal Online": -1
      },
      "Maximal Failures To Add An Item": 5,
      "Capacity": [
        {
          "Capacity": 3,
          "Chance": 1
        }
      ],
      "Items": [
        {
          "Item Shortnames": [
            {
              "Shortname": "item.shortname",
              "Rarity": "global",
              "Category": "global",
              "Enable Regex": false,
              "Exclude": false
            }
          ],
          "Item Name (Empty To Ignore)": "",
          "Is Blueprint": false,
          "Allow Stacking": true,
          "Ignore Max Stack": true,
          "Ignore Max Condition": true,
          "Remove Item": false,
          "Replace Item With Default Loot": false,
          "Conditions": [
            {
              "Minimal Condition": 75.0,
              "Maximal Condition": 100.0,
              "Max Condition Of Item": -1.0,
              "Condition Rate": -1.0,
              "Max Condition Rate": -1.0,
              "Chance": 1
            }
          ],
          "Skins": [
            {
              "Skin": 0,
              "Chance": 1
            }
          ],
          "Amount": [
            {
              "Minimal Amount": 3,
              "Maximal Amount": 3,
              "Rate": -1.0,
              "Chance": 1
            }
          ],
          "Chance": 1
        }
      ]
    }
  ],
  "Debug": false
}

更新日志

最新版本: v2.2.7
最后版本发布: 2026-03-06
最后更新(条目): 2026-03-06

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

安装方法

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

使用前注意

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

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