Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 439 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 439 Bytes

Gather mod example: basic player listener

basic example of subscribing to player movement in a space

check out the websocket API docs for more!

setup

prereq: have NodeJS and npm installed

run npm install

put your API key in a file named api-key.js like so:

exports.API_KEY = "your-api-key-here";

running

node index.js