This scene shows you:
- How to build a WebSockets server to communicate with a scene
- How to connect a Decentraland scene to a WebSockets server
- How to link the server to the Discord API, where the Decentraland community has its discussions
- How to display text in a scene
Install the CLI
Download and install the Decentraland CLI by running the following command:
npm i -g decentraland
Launch the server
Navigate to the /server
directory and run
npm run start
The server will be launched locally and will start listening for requests.
Previewing the scene
On a separate command line window, avigate to the /scene
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 site.
If something doesn’t work, please file an issue.
This scene is protected with a standard Apache 2 licence. See the terms and conditions in the LICENSE file.