TCGgather

One Piece Card Game search syntax

The card search takes plain text and typed filters in one box — no mode toggle. Plain words search card names; anything with an operator becomes a filter. Anything the parser doesn't understand falls back to name search, so a query can never error.

General rules

  • field:value — operators are : = != < <= > >=. :means "has / contains".
  • Space means AND: c:red cost<=3. Use or and parentheses to group: (t:leader or t:character).
  • - negates: -c:red excludes red.
  • Quotes keep phrases together: o:"draw a card".
  • Paste a card code on its own — OP01-001 — and it searches codes as well as names. To match only a code, spell the field: code:OP01-001. A whole set is set:, not code:.
  • Colour-type fields compare as sets: : and >=mean "has all listed", = exactly, <= "only these" (fits-my-deck), != none of them. Single-letter codes combine where the game has them.

Fields

FieldAliasesMatchesOperatorsExample
nnametext — `:` contains, `=` exact: = !=n:value
ttypetext — `:` contains, `=` exact: = !=t:value
rraritytext — `:` contains, `=` exact: = !=r:value
ssettext — `:` contains, `=` exact: = !=s:value
otext, oracle, effectrules text (full-text search): =o:"draw a card"
ownedcards already in your collection (requires signing in): = !=owned:yes
ccolorcolour set — see the set-membership rules above: = != < <= > >=c:red
costnumber: = != < <= > >=cost<=3
powpowernumber: = != < <= > >=pow<=3
counternumber: = != < <= > >=counter<=3
lifenumber: = != < <= > >=life<=3
kkeyword, islist — `:` contains, `=` exact entry: = !=k:value
trtraitlist — `:` contains, `=` exact entry: = !=tr:value
attrattributetext — `:` contains, `=` exact: = !=attr:value
cncode, number, collectorprinted card code, exact — `set-number`, or just the number: = !=cn:OP01-001

Examples are live links — click one to run it.