liamcottle / rustplus.js

Unofficial NodeJS library for controlling Smart Switches in the PC game Rust
224 stars 46 forks source link

Suggestion of fcm #28

Closed mqnowa closed 3 years ago

mqnowa commented 3 years ago
npx @liamcottle/rustplus.js fcm-listen
npx @liamcottle/rustplus.js fcm-register

These two commands will no longer be available when trustplus.js is takedown. How can we get player tokens, etc.?

liamcottle commented 3 years ago

You can just git clone the repo to have your own copy, then it doesn’t matter if this repo goes away.

Also, npm registry doesn’t allow you to delete public repos after 72 hours of publishing. I can delete the GitHub repo, but you can still use the versions published to npm.

Instead of using npx to run the public library version, you can invoke the cli tool from your local version.

node cli/index.js fcm-register