static Task<FindResult> FindAsync (string query, int take, int skip, CancellationToken token)

Parameters

NameTypeDescription
query string
take = 200 int
skip = 0 int
token = null CancellationToken

Returns

TypeDescription
Task<FindResult>
TheDimin
Member
JoinedJul 2022 Posts16 Score3,385
Any query examples ?
chesiren
Member
JoinedJul 2021 Posts5 Score3,221
 In the query string you can put several filters, separated by spaces:
  • sort:option ordering the results (favourite, used, rankday, rankweek, rankmonth, trending, newest, updated, popular, spawns)
  • org:ident search the packages of an org by its ident
  • type:game type of the package (collection, model, material, map, game, sound, library, clothing, vsnd, shader, prefab)
  • +tag filtering by tags
  • +wip work in progress games (it's just a tag)
  • local:true search only local packages
  • Categories, there are too many to list them all here but you can see them on the workshop search page https://sbox.game/ugc/game/?genre=action&style=2d
    (note: the displayed name on the workshop isnt always the same as the backend name, check in the url once selected to grab what you need to use in the query. ex: Wacky Physics genre is genre:physics)
    • for games: genre:action, style:2d
    • for maps: category:arena, style:cartoon, time:dawn, size:huge
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.