liamcottle / rustplus.js

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

Adding getInfo request #8

Closed Icezman001 closed 3 years ago

Icezman001 commented 3 years ago

Example output: {"response":{"seq":2,"info":{"name":"SERVER NAME","headerImage":"URL TO PNG FILE","url":"CUSTOM URL OF SERVER","map":"Procedural Map","mapSize":4500,"wipeTime":1607024434,"players":188,"maxPlayers":200,"queuedPlayers":0,"seed":86804,"salt":9000}}}