Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentraland-scenes/dcl-access-library
A simple example that shows how you can use DCL Access library to restrict access to players to a part of your scene
https://github.com/decentraland-scenes/dcl-access-library
Last synced: 3 months ago
JSON representation
A simple example that shows how you can use DCL Access library to restrict access to players to a part of your scene
- Host: GitHub
- URL: https://github.com/decentraland-scenes/dcl-access-library
- Owner: decentraland-scenes
- License: apache-2.0
- Created: 2022-06-24T20:52:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T18:06:31.000Z (over 1 year ago)
- Last Synced: 2024-05-02T17:52:50.025Z (10 months ago)
- Language: TypeScript
- Size: 3.88 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Repository - DCL Access - access.png" width="200"> | Check for token or wearable ownership to easily control access to a scene area | (Examples / Monetization and Blockchain)
README
# Simple Example with dcl-access library
A simple example that shows how you can use DCL Access library to restrict access to players to a part of your scene

This scene shows you:
- How to block players who don't own a certain token from entering an area
- How to block players who don't own a certain token from entering an area
- How to block players who don't aren't currently wearing a certain wearable from entering an area## Try it out
**Install the CLI**
Download and install the Decentraland CLI by running the following command:
```bash
npm i -g decentraland
```**Previewing the scene**
Download this example and navigate to its directory, then run:
```
$: dcl start
```Any dependencies are installed and then the CLI opens the scene in a new browser tab.
Learn more about how to build your own scenes in our [documentation](https://docs.decentraland.org/) site.If something doesn’t work, please [file an issue](https://github.com/decentraland-scenes/Awesome-Repository/issues/new).
## Copyright info
This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file.