You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
For some information, like online players and whatnot, it's better to get the information from the server than to rely on a database.
I think using NanoHTTPd would be the best option for implementing this, it'll provide a web server in which we can easily extend with modules much like the system we've got here.
JSON would be the best way to output the data, making appropriate use of arrays and whatnot to display the information in the best way possible.
The ability to extend on this feature externally like the module system here would be good, but it's not a requirement. The same goes for SSL.
For information that only authenticated people should access, I'm thinking about utilising an API key system for this, but I'll let @Kent55 decide on the most secure and optimal way of working with this since he's the most knowledgeable.
For some information, like online players and whatnot, it's better to get the information from the server than to rely on a database.
I think using NanoHTTPd would be the best option for implementing this, it'll provide a web server in which we can easily extend with modules much like the system we've got here.
JSON would be the best way to output the data, making appropriate use of arrays and whatnot to display the information in the best way possible.
The ability to extend on this feature externally like the module system here would be good, but it's not a requirement. The same goes for SSL.
For information that only authenticated people should access, I'm thinking about utilising an API key system for this, but I'll let @Kent55 decide on the most secure and optimal way of working with this since he's the most knowledgeable.