Upgrade
Use /cards upgrade to convert one configured set of cards into another.
Upgrades are defined in storage and match against the card held in the player’s main hand. The held card helps the plugin determine which upgrade rule to use when no explicit upgrade id is provided.
Syntax
Section titled “Syntax”Default
Section titled “Default”/cards upgrade [amount] [upgradeId]Behavior:
- If
upgradeIdis omitted, TradingCards tries to match an upgrade from the held card’s rarity and series. - If
amountis omitted, it defaults to1. - The player must have enough matching input cards in inventory.
Maximum Possible
Section titled “Maximum Possible”/cards upgrade maxThis calculates the highest number of upgrades the player can perform from their current inventory and then runs the upgrade automatically.
- Upgrades only consume non-shiny matching cards.
- Results are dropped to the player as generated card items.
- The result card is random within the configured output rarity.