liamcottle / rustplus.js

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

Should make player id a bit more obvious #39

Open KristofKekesi opened 2 years ago

KristofKekesi commented 2 years ago

There are a lot of types of Steam IDs, first I tried the one called Steam Id (looks like STEAM_0:0:000000000) but the one needed is called Steam64 id.

ChrisF94 commented 2 years ago

Steam ID should be converted to a string for it to show the steam64ID. Like this: let steamID = playerInfo.steamId.toString();