Jump to content

Advanced Filtering - collection sorting with search bar commands


Kapo

Recommended Posts

What is Advanced Filtering?

Your card collection has clickable filters like rarity, orb colour, and more. But there is also an extremely powerful search bar that accepts special commands to filter your cards. Below you will find a list of all those commands with some explanations. (Please note, due to the necessary formatting, this article will look weird on mobile devices.)

grafik.png.62cbe6d361427c4cd193ed33cbed2557.png

 

Basic Filters

Command Example
promo: + 1 or 0                                                        `promo:1` (Instead of 1/0 you can also use: true/false, yes/no)
flying: + 1 or 0   
ranged: + 1 or 0  
melee: + 1 or 0  
   
name= + exact card name   e.g.: `name=Mo` (exact match)
name: + part of card name  e.g.: `name:enli`
name? + approximate card name   e.g.: `name?abonimation`
class name= e.g.: `class name=Soldier` (exact match)  
class name: e.g.: `class name:Archer`
class name? e.g.: `class name?Dominatrix`
ability=  e.g.: `ability=swift`
ability:  
ability?  
   
class: + ID (or SR assigned name)                              e.g.: `class:female`
rarity: or rarity= + rarity name  e.g.: `rarity:rare`
affinity: or affinity= + affinity name   e.g.: `affinity:shadow`
edition: or edition= + edition name (or ID)   e.g.: `edition:twilight`
colors() e.g.: `colors(nature, !fire, !shadow)` to see only nature, and Stonekin
  `colors(fire, !other)` to show only fire cards
colors=() exact match, e.g. `colors=(fire, nature)` to see only Twilight
size: + type e.g.: `size:XL`
counter: + type e.g.: `counter:XL`

Affinity names: `shadow`, `nature`, `frost`, `fire`, and `-` or `none` for cards without affinity
Edition names: `3` =`twilight`, `4` = `renegade`, `5` = `lostsouls`, `6` = `amii`, `7` = `rebirth`
Color names: `fire`, `frost`, `shadow`, `nature`, `neutral`, `other`
Size and Counter types: `S`, `M`, `L`, `XL`, `special` (special is used for buildings or magic)


Number Range Filters

Operators:

      grafik.png.71c23e912dc5f0dfbd58a7846e464a13.png

power + number range                                       e.g.: `power>300`
damage + number range  e.g.: `damage>500`
health + number range  e.g.: `health>500`
upgrade + number range e.g.: `upgrade<3` to show cards that are missing an upgrade
charges + number range  e.g.: `charges<3` to show cards that are missing a charge
copies + number range  e.g.: `copies>4`  to show what to reforge
ID + number range (mostly for internal/development use and for the search in market feature)


Combining Filters

Operators:

      
       grafik.png.f4ebdb4abcd61322fee94d9d00e2bda9.png

Logical OR matches at least one of the filters. If one is matching and the other is not, it will return a result.
Logical AND has to match both filters. Only if both conditions apply will it return a result.
Logical NOT inverts the result. Beware that not all filters can be inverted, that's why it may be advisable to use !(filter).
Wrapping the filter with `( )` does not change it in any way, but allows easier organization.

 

Error Tolerance

? Name
?<number> Name

The question mark will help you to search a text with error tolerance. If you know the card name, but you are not sure about spelling, you may use this. You can also use ?<number> to specify the error tolerance you want, e.g. 'name?5' for up to five typos in the name. If you do not specify the tolerance level, level 3 will be used.

“?Light blade” will find “Lightblade” even though the search input had a space in it – “?1Light blade” would also work (because it only contains just one typo).
 

Custom Filters

*name*

You can create any custom filter you want, `Documents\BattleForge\custom_filter_extensions.json` contains some examples.
In-game you can use `*name*` (where `name` is the name of the custom filter), e.g.: *shiny* 

Note: Numbers [0-9] are not allowed for naming custom filters.
 

Market Place Filtering

Advanced Filters also work on the marketplace – for example, if you want to see all cards that you do not own yet, you can use 'copies<1' to find out:

grafik.png.b3da11e88bc78cace2c8ea2976c43060.png
 

Filter Examples

class:Dragon                          Finding dragons for the Draconic Desolation achievement
class:Female                           What works with Girl Power?
charges=3 & copies>1          Something you might want to sell on the market
charges=3 & copies>4          Something you might want to Reforge
charges<3 & copies>1          All cards not fully charged, but you have additional copy, so you might want to apply it
rarity>2                                To see only rare and ultra-rare cards

Suggest your best filters in the comments, so we may add them to the examples!


Keyword List – Languages and Synonyms
 

Spoiler

 

`name`, `nom`, `название`
`class name`, `classname`, `klassenname`, `nom de la classe`, `название класса`
`ability`, `fähigkeit`, `capacité`, `способность`
`class:`, `klasse:`, `classe:`, `класс:`

`affinity:`, `affinität:`, `neigung:`, `affinité:`, `свойство:`
`fire`,  `feuer`,  `feu`,  `огонь`
`frost`, `glace`,  `мороз`
`shadow`, `schatten`, `ombre`, `тень`
`nature`, `natur`,  `природа`
`-`, `none`,  `keine`,  `aucune`,  `нет`

`colors`, `color`, `colours`, `farben`, `couleur`, `цвета`
`fire`, `feuer`, `feu`, `огонь`
`frost`, `glace`, `мороз`
`shadow`, `schatten`, `ombre`, `тень`
`nature`, `natur`, `природа`
`neutral`, `neutre`, `нейтральный`
`other`, `andere`, `autre`, `другие`

`edition`, `édition`, `Издание`
`3`, `twilight`, `zwielicht`, `crépuscule`, `Сумрак`
`4`, `renegade`, `bandits`, `Отступник`
`5`, `lostsouls`, `lost souls`, `verlorene seelen`, `âmes perdues`, `Потерянные Души`
`6`, `amii`, `Амии`
`7`, `rebirth`, `wiedergeburt`, `renaissance`, `Возрождение`

`1`, `t`, `y`, `yes`, `true`, `j`, `w`, `ja`, `wahr`, `o`, `v`, `oui`, `vrai`, `д`, `и`, `да`, `истина`
`0`, `f`, `n`, `no`, `false`, `nein`, `falsch`, `non`, `faux`, `н`, `л`, `нет`, `ложь`
`promo`, `промо`
`flying`, `fliegen`, `volant`, `летающий`
`ranged`, `reichweite`, `à distance`, `дальний бой`
`melee`, `nahkampf`, `mêlée`, `ближний бой`


`power`, `power cost`, `cost`, `energiekosten`, `energie`, `kosten`, `coût en énergie`, `énergie`, `coût`, `Энергия`, `стоимость`
`damage`, `dmg`, `atk`, `schaden`, `dégats`, `dgt`, `урон`, `атк`
`health`, `hp`, `lebenspunkte`, `lp`, `santé`, `pv`, `здоровье`, `xn`
`upgrade`, `aufwertung`, `mise à niveau`, `улучшение`
`charges`, `ladungen`, `заряды`
`copies`, `kopien`, `копии`


`rarity`, `seltenheit`, `rareté`, `редкость`
`common`, `c`, `co`, `copper`, `bronze`, `red`, `orange`,   `häufig`, `gewöhnlich`, `kupfer`, `rot`,   `commune`, `cuivre`, `rouge`,   `обычный`, `медь`, `бронза`, `красный`, `оранженый`,   `1`
`uncommon`, `u`, `uc`, `silver`, `grey`, `white`,   `unhäufig`, `weniger häufig`, `ungewöhnlich`, `silber`, `grau`, `weiss`,   `peu commune`, `argent`, `gris`, `blanc`,   `необычный`, `серебро`, `серый`, `белый`,   `2`
`rare`, `r`, `ra`, `gold`, `yellow`,   `selten`, `gelb`,   `or`, `jaune`,   `редкий`, `золото`, `жёлтый`,   `3`
`ultra rare`, `ur`, `ultra-rare`, `ultrarare`, `platinum`, `diamond`, `blue`, `turquoise`,   `sehr selten`, `ultra selten`, `ultraselten`, `platin`, `diamant`, `blau`, `türkis`,   `platine`, `bleu`,   `особо редкий`, `ультра-редкий`, `ультра редкий`, `платина`, `алмаз`, `синий`, `голубой`,   `4`


`special`, `spezial`, `spécial`, `особый`, `?`
`s`, `m`, `l`, `xl`
`size`, `armor`, `armour`, `grösse`, `rüstung`, `taille`, `armure`, `размер`, `защита`, `броня`
`counter`, `weapon`, `konter`, `waffe`, `contre`, `arme`, `против`, `атака`, `оружие`'


`()`
`!()`
`|`, `||`
`&`, `&&`

`**`



Final Notes

There is an always up-to-date version of this information in your Skylords Reborn\docs folder.

Additionally, for more information about why this system was created, and how it works, feel free to read HERE.

A special thanks goes out to @Kubik, who made this awesome feature possible and keeps on developing more features for it.

Edited by Kapo
Link to comment
Share on other sites

MYNODUESPs Custom Filter Extension

...\Documents\BattleForge\custom_filter_extensions.json

NOTE: This is my personally used custom filter extension as an example of what one could do with custom filters.
If you end up liking it, feel free to use it and make your personal adjustments and additions to unlock their full potential!

If there are any specific questions about custom filters and custom filter extension, you can ask on the forum (in this thread) or on Discord. We'll try to improve user friendliness according to the feedback we get.


Filter Collection Exposition
DISCLAMER: You should really use a custom filter extension instead of copy-pasting these filter strings. 🙂
 

Unowened Cards (can only be used in the Marketplace)*unowned*
copies<1

Chargeable Cards *charge*
((upgrade=1&charges<1)|(upgrade=2&charges<2)|(upgrade=3&charges<3))&copies>1

Collection Completion (should be used in the Marketplace) *collection*
(charges=0&copies<4)|(charges=1&copies<3)|(charges=2&copies<2)|((charges=3|promo:1)&copies<1)

Trade / Duplicates - *trade*
(charges=0&copies>4)|(charges=1&copies>3)|(charges=2&copies>2)|((charges=3|promo:1)&copies>1)

Reforge (4x duplicates) - *reforge4*
((charges=0&copies>7)|(charges=1&copies>6)|(charges=2&copies>5)|(charges=3&copies>4))&promo=0

Reforge (3x common + 1x uncommon) - *reforge3c*
(((charges=0&copies>6)|(charges=1&copies>5)|(charges=2&copies>4)|(charges=3&copies>3))&rarity=c)|(((charges=0&copies>4)|(charges=1&copies>3)|(charges=2&copies>2)|(charges=3&&copies>1))&rarity=uc)

Reforge (3x uncommon + 1x rare) - *reforge3uc*
(((charges=0&copies>6)|(charges=1&copies>5)|(charges=2&copies>4)|(charges=3&copies>3))&rarity=uc)|(((charges=0&copies>4)|(charges=1&copies>3)|(charges=2&copies> 2)|(charges=3&&copies>1))&rarity=r)

Reforge (3x rare + 1x ultra rare) - *reforge3r*
(((charges=0&copies>6)|(charges=1&copies>5)|(charges=2&copies>4)|(charges=3&copies>3))&rarity=r)|(((charges=0&copies>4)|(charges=1&copies>3)|(charges=2&copies>2)|(charges=3&&copies>1))&rarity=ur)

Bandit Faction - *bandit*
color=(fire,shadow)

Stonekin Faction - *stonekin*
color=(nature,frost)

Amii Faction - *amii*
color=(nature,shadow)

Lost Souls Faction - *lost souls*
color=(frost,shadow)
 

Post Change Log

2023/01/18 - updated/clean-up custom_filter_extensions.json
2023/02/03 - updated/fixed custom_filter_extensions.json
2024/07/17 - added filternames & faction filters

Edited by Mynoduesp
Link to comment
Share on other sites

  • Kubik pinned this topic
  • Kapo changed the title to Advanced Filtering - collection sorting with search bar commands

@ Kapo & Mynoduesp: Thanks for your explanations and custom made filter strings

 

To me, a real quality of life improvement of the market place woud be an "reset all filters"-button like the one in the inventory window.  I miss it alot - with your filter key words even more.

Best situated left of the search window in both cases. Therefore in the inventory you may replace the first pull down menue which seems out of function. (In my case no pvp cards found while two decks claimed). And in the market place by making the four pull down menue windows smaller (there is a lot of space around the text strings to be cut of)

Edited by Pulsar
Mynoduesp likes this
Link to comment
Share on other sites

  • 3 weeks later...

Is there some trick to getting custom_filter_extensions.json to work?  Trying to use the default custom filters like missing=1 in place of copies=0 never seems to work, and when I add my own filters they are never recognized.  I see that custom_filter_extensions.json file name seems to be hard coded into some binaries.  But just wanted to check that I don't need to copy it into some directory, rename it, or some step that I missed.  I assume it might have something to do with running under wine so if there is any logging/debug info anywhere I've also missed  I'd be happy to try look into that.

Link to comment
Share on other sites

@dougfir "copies=0" does work, but sonce you're probably using it in your inventory it doesnt show anything. Reason is, the inventory shows only cards you own. However, if you use "copies=0" in the Marketplace you will get results.

The json file needs to be named as described in the tutorial post. It also has to be in the directory mentioned, anything else will not work. 

To use custom filters the json file cannot have any syntax errors. If you have trouble debuging your file, you can post it here. 

To use custom filters, you have to use these stars * to indicate a custom filter name. As an example, I defined in the json:

{"name": "unowned", "text": "copies<1"},

To use this in the Marketplace, I type the following in the search box:

*unowned*

The game recognices the term "unowned" as a custom filter name and Interprets it as the text corresponding to the name. In this case "copies<1".

Edited by Mynoduesp
Kapo and dougfir like this
Link to comment
Share on other sites

  • 1 month later...

Is there a limit in length, or is possible to combine a certain searching option like copies>1 or copies>4 with 100-300 card id's if someone would make himself the work?

 

 Was answered in the discord, 3000 character filters in the config are doable!

Edited by Volin
Metagross31 likes this
Link to comment
Share on other sites

  • 2 months later...
On 11/11/2022 at 11:51 PM, Mynoduesp said:

Reforge (4x duplicates)
(charges=0&copies>7)|(charges=1&copies>6)|(charges=2&copies>5)|(charges=3&copies>4)

better use this, since you can't reforge promo cards.

Reforge (4x duplicates)
(charges=0&copies>7)|(charges=1&copies>6)|(charges=2&copies>5)|(charges=3&copies>4) & promo=0

Edited by Carofex
Metagross31 likes this
Link to comment
Share on other sites

  • 1 month later...
  • 10 months later...

I've been trying to specify exact orbs and I am failing. For example:

colors=(nature,fire,neutral)

I wanted it to show e.g. Twilight Slayers (F,N, neutral), but this doesn't work. Probably can be achieved other way...?

Link to comment
Share on other sites

@Vrizz You want just `color=(nature,fire)`, because it is refering to card color, not token color. Your filter is searching for card with 3 colors which there are none.

There is no filter for specific tokens, because that would require new keywords for half orbs, which would mean quite long filters 😞 and there is limit of only 250 characters, and the visible part is even smaller 😞 

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use