Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SellItems
Sell unwanted items (weapons, upgrades) in the lobby truck. Supports modded items via public API. Configurable.
| Last updated | 3 weeks ago |
| Total downloads | 4053 |
| Total rating | 0 |
| Categories | Mods Misc Server-side |
| Dependency string | silsotha-SellItems-1.0.0 |
| Dependants | 1 other package depends on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
SellItems
A BepInEx 5 mod for R.E.P.O. — sell unwanted items in the lobby truck between levels and get your money back.
Features
| Feature | Description |
|---|---|
| Sell items | Hold an item → press X → confirm with Enter |
| Configurable refund | 50% by default, adjustable in config |
| On-screen hint | [X] Sell (250$) appears while holding a sellable item |
| Category filter | Toggle weapons, upgrades, and consumables independently |
| Mod support | Works with any item that has ItemAttributes or is detected by name/component |
| Purchase check | Only items actually bought in the shop can be sold |
| Public API | Other mods can register item prices and trigger sells programmatically |
| Multiplayer | Item destruction synced via PhotonNetwork.Destroy |
Installation
With mod manager (r2modman / Thunderstore Mod Manager)
- Search for SellItems in the mod browser
- Click Install
- Launch the game through the mod manager
Manual
- Install BepInEx 5.x
- Place
RepoSellModMod.dllintoBepInEx/plugins/ - Launch the game
How to use
- Buy an item in the shop.
- Return to the lobby truck.
- Pick up the item.
- Press X — a confirmation prompt appears.
- Press Enter to confirm, or X again to cancel.
Selling is only available in the lobby truck. It is blocked during shop browsing, scene transitions, and active levels.
API for mod developers
If your mod adds custom items, register their price so the refund is accurate:
using RepoSellMod;
// In your plugin's Awake():
SellModAPI.RegisterItemPrice("MyCustomGun", 800);
// Check if an item can be sold:
bool ok = SellModAPI.IsSellable(gameObject);
// Get item category:
ItemCategory cat = SellModAPI.GetCategory(gameObject); // Weapon / Upgrade / …
// Get refund amount:
int refund = SellModAPI.GetRefundAmount(gameObject);
// Sell programmatically:
bool sold = SellModAPI.TrySell(gameObject);
Multiplayer
- Install on the host for the mod to work
- Recommended: all players install for full compatibility
- Works in singleplayer without any restrictions
Troubleshooting
| Symptom | Fix |
|---|---|
| Item can't be sold | Enable the relevant category in config, or set SellAll = true |
| Refund is 0$ | Item wasn't bought through the shop this session; register price via API |
| Hint doesn't appear | Check ShowSellHint = true and that you're in the lobby truck |
| Mod not loading | Verify BepInEx 5 (not 6) and check BepInEx/LogOutput.log |
| Items reappear after level | Check LogOutput.log for Purchase count lines to confirm stat update |