gathertown / mod-basic-player-listener

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:JavaScript 100.0%