07-04-2018/09:21 PM
So we use this MyBB plugin:
https://community.mybb.com/mods.php?action=view&pid=117
We aren't using the latest version as it has issues.
Even the version we have has issues, it queries the servers once every X minutes and caches the result (so if the query fails, it'll show as offline for X minutes).
Yeah I agree its pretty crappy.
If people don't mind something that doesn't look too pretty I can make something basic up that caches values over 1 minute.
It'll be pretty accurate but it will basically be a page telling you server name, map, players and that is about it.
Might use gametracker API if they have one.
Also the Discord cog parses that page so when the forum one is broken, Discord one also breaks.
Thoughts?
https://community.mybb.com/mods.php?action=view&pid=117
We aren't using the latest version as it has issues.
Even the version we have has issues, it queries the servers once every X minutes and caches the result (so if the query fails, it'll show as offline for X minutes).
Yeah I agree its pretty crappy.
If people don't mind something that doesn't look too pretty I can make something basic up that caches values over 1 minute.
It'll be pretty accurate but it will basically be a page telling you server name, map, players and that is about it.
Might use gametracker API if they have one.
Also the Discord cog parses that page so when the forum one is broken, Discord one also breaks.
Thoughts?