{"id":13836315,"url":"https://github.com/decentraland-scenes/wearables-scanner","last_synced_at":"2026-04-04T23:39:15.377Z","repository":{"id":43006433,"uuid":"274720531","full_name":"decentraland-scenes/wearables-scanner","owner":"decentraland-scenes","description":"A simple scene that shows how to fetch player wearable data to match against a criteria. In this case, only players wearing eyewear are allowed in.","archived":false,"fork":false,"pushed_at":"2022-03-23T18:53:14.000Z","size":9362,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-20T22:52:41.824Z","etag":null,"topics":["decentraland"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decentraland-scenes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-24T16:46:16.000Z","updated_at":"2022-08-24T07:30:54.000Z","dependencies_parsed_at":"2022-09-13T19:00:25.372Z","dependency_job_id":null,"html_url":"https://github.com/decentraland-scenes/wearables-scanner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/decentraland-scenes/wearables-scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentraland-scenes%2Fwearables-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentraland-scenes%2Fwearables-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentraland-scenes%2Fwearables-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentraland-scenes%2Fwearables-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decentraland-scenes","download_url":"https://codeload.github.com/decentraland-scenes/wearables-scanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentraland-scenes%2Fwearables-scanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585372,"owners_count":23632646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decentraland"],"created_at":"2024-08-04T15:00:41.362Z","updated_at":"2026-04-04T23:39:15.328Z","avatar_url":"https://github.com/decentraland-scenes.png","language":"TypeScript","funding_links":[],"categories":["Examples"],"sub_categories":["Monetization and Blockchain"],"readme":"# wearables-scanner\n\nA simple scene that shows how to fetch player wearable data to match against a criteria. In this case, only players wearing eyewear are allowed in.\n\n![](screenshot/scanner.gif)\n\nThis scene shows you:\n\n- How to fetch the wearables currently worn by a player\n- How to handle async functions\n- How to delay an action with the utils library\n- How to define the elements of a scene as game objects, with state and functions\n\nHere we're querying the player's wearable items that are being equipped, and also fetching the full list of Decentraland wearables. We then match both these lists up to obtain more information about each of the wearables that the player has equipped, and check if any of these belongs to the 'eyewear' category.\n\nFeel free to reuse the models and code from this scene!\n\n## Try it out\n\n**Install the CLI**\n\nDownload and install the Decentraland CLI by running the following command:\n\n```bash\nnpm i -g decentraland\n```\n\n**Previewing the scene**\n\nDownload this example and navigate to its directory, then run:\n\n```\n$:  dcl start\n```\n\nAny dependencies are installed and then the CLI opens the scene in a new browser tab.\n\n```\n\u0026ENABLE_WEB3\n```\n\nFor example, if the URL is `http://127.0.0.1:8000?position=0%2C0\u0026SCENE_DEBUG_PANEL`, make it `http://127.0.0.1:8000?position=0%2C0\u0026SCENE_DEBUG_PANEL\u0026ENABLE_WEB3`\n\nLearn more about how to build your own scenes in our [documentation](https://docs.decentraland.org/) site.\n\nIf something doesn’t work, please [file an issue](https://github.com/decentraland-scenes/Awesome-Repository/issues/new).\n\n## Copyright info\n\nThis scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentraland-scenes%2Fwearables-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentraland-scenes%2Fwearables-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentraland-scenes%2Fwearables-scanner/lists"}