You are viewing a potentially older version of this package. View all versions.
Aolion-ShopBlacklist-1.0.0 icon

ShopBlacklist

Block specific items from appearing in the shop. Toggle items on/off or set a max purchase cap per item. Works with vanilla and modded items including rerolls.

By Aolion
Date uploaded 2 months ago
Version 1.0.0
Download link Aolion-ShopBlacklist-1.0.0.zip
Downloads 1529
Dependency string Aolion-ShopBlacklist-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Zehs-REPOLib-4.0.3 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.0.3

README

ShopBlacklist

A helpful simple blacklist that block specific items from appearing in the shop so that other items can take it's place instead. It should work with all vanilla items and any REPOLib-based mods.

Config

On first launch the mod generates a config file at:

BepInEx/config/ShopBlacklist.cfg

Each item gets two entries:

  • [Item Name] - Enabled — set to false to prevent the item from ever spawning
  • [Item Name] - Max Amount — set to a number to stop the item spawning once the team has bought that many total. 0 means no cap.

Items are grouped by type (Upgrades, Consumables, Health Packs, etc.) so they're easy to find.

Examples

Disable an item permanently:

Map Player Count Upgrade - Enabled = false

Cap sprint speed at 5 total team purchases meaning after 5 purchases it doesn't show up:

Sprint Speed Upgrade - Enabled = true
Sprint Speed Upgrade - Max Amount = 5

Notes

  • Vanilla items appear in config on first game launch
  • Modded items appear after your first lobby load from shop
  • Works with BetterTeamUpgrades, RerollNoBreak, MoreShopItems, GoopUpgrades
  • Soft dependency on REPOLib — works without it for vanilla-only

Known issues

Icon mismatch with RerollNoBreak: When a blocked item's slot gets replaced after a reroll, the card background art may not match. The item name, price, and what you actually buy are always correct only problem is the card image can look wrong it's unfortantely a limitation of how RerollNoBreak handles item reactivation.

CHANGELOG

v1.0.6

  • Renamed to ShopBlacklist

v1.0.5

  • Blocked items now replaced with allowed items of the same type instead of leaving empty slots
  • Reroll compatibility: blocked items no longer reappear after rerolling (including RerollNoBreak)
  • Fixed non-shop items (truck/floor items) being incorrectly affected
  • Card color and upgrade type update to match the replacement item
  • Known issue: card background art may not match when using RerollNoBreak (name and function always correct)

v1.0.4

  • Scene load hook for earlier modded item detection

v1.0.3

  • Config generates on game launch instead of first shop visit
  • Correct item type section groupings
  • Added Max Amount cap per item
  • Config redesign: bool toggle + int cap for clean UI

v1.0.0 - v1.0.2

  • Initial releases, config timing fixes