It stays offline while the server is online,
Service name changed in installSVC
Code:{ name:'discord-rustserverstatus3',
Host your own discord bot that showing online players
Discussion in 'Rust Discussion' started by kenna, Jun 1, 2018.
-
and your config.json file? its all correct parameters?
If the bot says offline, that means either, something is wrong with the url provided / wrong apiSite or server is offline -
Could it be that it is because it has no current players online? Since im releasing it at midnight, The api and token is correct.
-
i think its some cache issue on last seen. i have updated repo now, and it should update on start too
-
Very nice he helped me very good in pms!
-
Just use Rustcord Does alot more as well as show players online.
-
The script provided by kenna is not even a plugin. I've used it for a few weeks now. Found it searching on github actually, thanks @kenna it works great. -
bot is online but not showing server player count api url is correct server is online and everything
Screenshot - 50706727b8b5acb680c1da08a93146cc - Gyazo -
in config.json apiUrl, can you copy paste that into your browser, do you see alot of information about your server ? -
https://api.rust-servers.info/status/1483
yes its displaying the information for me
{"name":"SynergyRust.co.uk","status":"Online","last_seen":"1534193401","players":"1","players_max":"100","fps":"244","uptime":"0 days, 3 hrs"} -
Thanks for reporting, can you please update app.js and test again: kennethrisa/discord-rustserverstatus
-
it's working again now thanks Kenna
-
-
This works perfectly, thank you! For anyone on Linux you can use "forever" to keep it running after installing.
$ npm install forever -g
$ forever start /path/to/app.js -
config good - but does not start
kennethrisa/discord-rustserverstatus-python -
To get this to work, it requires version 3.4 or 3.6 else you will get errors and the bot wont start.
Can you post your version of python?
[DOUBLEPOST=1534505524][/DOUBLEPOST]