RandomValueMod

v2.0.8·Updated 2026-05-25

It has been supported up to REPO v0.4.4 version, communication QQ group 573485890, randomizes the price of valuable items when grabbing. Supports black and white list, cash bag protection, multi-person synchronization.

About this mod Machine translation

💬 Exchange feedback

QQ group: 573485890. Welcome to join the group to discuss, feedback problems, and form a team to compete.

Random valuable item price (RandomValueMod)

Version: 2.0.8 | Dependency: RandomValueLib

⚠️ Major update (v2.0.0)

  • Completely rewritten network synchronization: adopts the homeowner authority mode, which fixes the problems of online lag and price inconsistency in the old version.
  • Detailed log output: can be turned on in the configuration to facilitate troubleshooting.
  • Note: This version is a major update. It is recommended to delete the old version of the module and install it again.

📖 Overview

In REPO, when you grab a valuable item, its price will randomly change based on the multiplier range you set.

Supports black and white lists, exclusion of high-priced items, and separate control of cash bags, and all configurations can be adjusted in real time.

✨ Main functions

  • Price randomization: When an item is grabbed, the price is randomized within the set multiplier range.
  • Black and white lists: You can specify to only randomize certain items (white list) or exclude certain items (black list).
  • Exclusion of high-priced items: items whose original price is higher than the threshold will not participate in randomization.
  • Cash bag control: You can individually set whether to take effect on the cash bag.
  • Online synchronization: Homeowner authority mode, the prices seen by all players are exactly the same.
  • Configuration hot reload: automatically takes effect after modifying the configuration file in the game (homeowners only).
  • Standalone/online dual mode: automatically adapts to standalone and online environments.
  • Detailed log: Item name, original price, new price, multiplier, and captured player name are all clear at a glance.

📦 Installation

  • Make sure BepInExPack is installed.
  • Install the dependency RandomValueLib of this module.
  • Place RandomValueMod.dll into the BepInEx/plugins folder.
  • Start the game and the module will automatically generate the configuration file.

⚙️ Configuration instructions

Configuration file location: BepInEx/config/RandomValuablePrice.cfg

| Configuration items | Default value | Description |

|--------|--------|------|

| Basic settings | | |

| Randomize item prices | true | Module master switch |

| Price settings | | |

| Minimum price multiple | 0.5 | Lower limit of price multiplier |

| Maximum Price Multiplier | 2.0 | Price Multiplier Cap |

| black and white list | | |

| Enable blacklist mode | true | Items in the blacklist are not randomized |

| Blacklist keywords | (empty) | Comma/semicolon separated, matching item names |

| Enable whitelist mode | false | Only items in the whitelist are randomized |

| Whitelist keywords | (empty) | Comma/semicolon separated, matching item names |

| Special exclusion rules | | |

| Exclude high-priced items | false | Items whose original price exceeds the threshold are not randomized |

| High price threshold | 50000 | Determine the price line for high-priced items |

| Cash bag randomization | false | Whether to take effect on cash bag (Surplus) |

| Debugging | | |

| Detailed log | true | Output detailed randomization information on the console |

🧩 Compatibility

This mod is compatible with most REPO mods.

In case of conflict, please first check whether it is used with other modules that modify the price of ValuableObject.

❓ FAQ

Q: What should I do if the prices are inconsistent when online?

A: v2.0.0 has completely fixed this issue. If it still happens, please verify that both the host and the client have the same version of the mod and RandomValueLib installed.

Q: How to view detailed logs?

A: Set verbose log = true in the configuration file and view the output in the BepInEx console.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPackcn_xc-RandomValueLib

File & checksum

Filename
RandomValueMod-2.0.8.zip
File size
121.3 KiB