免费插件

Custom Vending Setup

定制自动售货设置

定制纪念碑自动售货机

vending游戏机制storeadministrationitem

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

插件介绍

定制纪念碑自动售货机

Note: Does not affect player vending machines.

When you open an NPC vending machine, if you have permission, you will see an edit button. Clicking that edit button will reveal a container UI where you can customize the vending machine.

When editing a vending machine, you will see some debug text that says "Data Provider: ..." which informs you of how your customizations will be saved and retrieved.

主要用途

主要用于vending、游戏机制、store、administration等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v2.17.2,uMod 累计下载 68,630 次。

适用场景

  • 需要管理、审计或维护能力的服务器

功能分类

vending游戏机制storeadministrationitem
查看 uMod 官方英文简介

Customize monument vending machines

权限节点

customvendingsetup.use

Allows editing NPC vending machines at monuments.

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

相关依赖

  • Economics
  • Item Retriever
  • Monument Finder
  • Server Rewards
  • Monument Addons
  • Waterless Sprinklers

配置说明

Default configuration:

{ "Enable liquid currency": false, "Economics integration": { "Enabled": false, "Item short name": "paper", "Item skin ID": 2420097877 }, "Server Rewards integration": { "Enabled": false, "Item short name": "paper", "Item skin ID": 2420097877 }, "Override item max stack sizes (shortname: amount)": {} }

Enable liquid currency (true or false) -- While true, you can use liquid items (e.g., water) as currency, allowing players to directly sell liquids to vending machines without consuming their containers. For example, if you configure the cost of an item to be a bottle of 500ml water, the vending machine UI will instead display 500ml of water as the cost (rather than displaying the bottle), and when the player makes the purchase, 500ml of water will be taken from any available containers in their inventory. Note that players cannot spend liquid currency via drone marketplaces, they must visit the vending machine in person.

Economics integration

Controls integration with the Economics plugin.Enabled (true or false) -- Determines whether Economics integration is enabled. While enabled, the below configured item will be used as a proxy to configure vending machines to buy and sell Economics currency.Item short name -- Determines the item that will be associated with Economics currency. When you want to configure a sale offer to buy or sell Economics currency, you must place this item into the corresponding "For Sale" or "Currency" column while editing the vending machine. Whichever item you configure here will be displayed in the shop view, though you may cover it up with the image of a skin by setting a non-0Item skin ID.Item skin ID -- Determines the skin ID that will be associated with Economics currency. If you set this to 0, the vanilla item (with no skin) will be displayed in the shop view.

Server Rewards

Controls integration with the Server Rewards plugin.Enabled (true or false) -- Same as for Economics.Item short name -- Same as for Economics.Item skin ID -- Same as for Economics.

Override item max stack sizes (shortname: amount) -- This section allows you to override the max stack size of items that players can get when purchasing items, by item short name. This is intended to allow players to receive larger stacks of items from vending machines than they could receive from other sources. For example, if the max stack size of wood is 5000, configuring a maximum of 10000 here will allow the player to acquire a single wood item with stack size 10000 (granted the vending machine has enough wood in stock).This feature only applies to vending machines customized by this plugin.This feature might not work with every stack size plugin. Worst case, editing these settings may have no effect.I don't recommend this feature for most servers. It was added on request because the plugin fixes a vanilla bug where players can acquire larger stack sizes of items from vending machines after server reboot. Some server owners wanted that behavior reintroduced in a manner that is more consistent.

Enabled (true or false) -- Determines whether Economics integration is enabled. While enabled, the below configured item will be used as a proxy to configure vending machines to buy and sell Economics currency.

Item short name

Determines the item that will be associated with Economics currency. When you want to configure a sale offer to buy or sell Economics currency, you must place this item into the corresponding "For Sale" or "Currency" column while editing the vending machine. Whichever item you configure here will be displayed in the shop view, though you may cover it up with the image of a skin by setting a non-0Item skin ID.

Item skin ID

Determines the skin ID that will be associated with Economics currency. If you set this to 0, the vanilla item (with no skin) will be displayed in the shop view.

Enabled (true or false) -- Same as for Economics.

Item short name

Same as for Economics.

Item skin ID

Same as for Economics.

This feature only applies to vending machines customized by this plugin.

This feature might not work with every stack size plugin. Worst case, editing these settings may have no effect.

I don't recommend this feature for most servers. It was added on request because the plugin fixes a vanilla bug where players can acquire larger stack sizes of items from vending machines after server reboot. Some server owners wanted that behavior reintroduced in a manner that is more consistent.

Example of overriding stack sizes:

"Override item max stack sizes (shortname: amount)": { "wood": 10000, "stones": 5000 }

官方配置示例

{
  "Enable liquid currency": false,
  "Economics integration": {
    "Enabled": false,
    "Item short name": "paper",
    "Item skin ID": 2420097877
  },
  "Server Rewards integration": {
    "Enabled": false,
    "Item short name": "paper",
    "Item skin ID": 2420097877
  },
  "Override item max stack sizes (shortname: amount)": {}
}
"Override item max stack sizes (shortname: amount)": {
  "wood": 10000,
  "stones": 5000
}

更新日志

最新版本: v2.17.2
最后版本发布: 2026-06-30
最后更新(条目): 2026-07-19

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

安装方法

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

使用前注意

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

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