CardDataEditor
Card Data Editor is a mod that allows you to edit card properties such as Rarity, Theme, Card Amount, and more.
About this mod Author’s original text
Card Data Editor
Description
Card Data Editor is a mod that allows you to edit card properties, including:
- Rarity
- Theme
- Card Amount
- Blacklist Cards
- Require Cards
- Detach From Class - available for certain class cards
- Detach From Curse - available for curse cards
These properties can be modified through the Card Data Editor menu.
Detaching Class Cards
By default, players can only detach class cards that have the ClassDetachable card category.
If you want to detach ANY class card, you can enable Danger Mode in the Card Data Editor settings. This allows any class card to be detached from its class, regardless of whether it has the ClassDetachable category.
Warning: Danger Mode allows you to detach class cards that were not designed to be detached. Doing so may cause cards to behave incorrectly, break card functionality, or cause other unexpected issues. Only enable Danger Mode if you understand and accept the risks.
Migrations
If you previously used mods such as Rarity Toggle or Theme Toggle, Card Data Editor will automatically migrate their configurations to its own config system.
This allows you to easily replace those mods with Card Data Editor without having to manually recreate your settings.
For Developers
If you are developing a mod and want to integrate it with Card Data Editor, there are two ways you can extend its functionality.
Making a Class Card Detachable
If your class card can safely be detached from its class without breaking anything, add the ClassDetachable card category to your card.
Players will then be able to detach the card from its class without needing to enable Danger Mode.
Warning: Only mark a card as ClassDetachable if detaching it is safe. Doing so may cause unexpected behavior or break your card if it relies on its class.
Adding Custom Card Properties
You can add your own custom card properties by creating a class that inherits from CardProperty:
public class MyCardProperty: CardProperty {
// Your property implementation
}
You can then register your property using:
PropertyRegistry.RegisterProperty();
If you only want the property to be available for a specific card, you can use:
PropertyRegistry.RegisterPropertyForCard(MyCard);
For more examples and implementation details, take a look at the Card Data Editor source code.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: