With the current bundle of scripts not surviving the PHP upgrade, work has started on a long desired project of mine: A proper, isolated, Web API for Discovery.
The purpose of this web api is to have a central, unified component to store and output collected server data, such as online players, kills, events with their status, or whatever else we can get our hands on later on. The second objective behind this project is to get rid of the current bloated PHP mess we have (not to mention all caches being stored as plaintext files) regularly bogging down the entire web services whenever someone dares to request updated faction data.
The project is public and can be found here: https://github.com/zibbizor/DiscoveryApi (stars welcomed )
Progress will however be slow as I do not have as much time as earlier anymore.
Milestones
0. Data collection
- API key system - Retrieve data from the game server - Store hourly player counts - Cache manager - Error Manager Deleted in favor of experimentation with other systems
1. Player List
- Implementation
- Add to cache manager
- Website view
Few weeks back I've mused possibility of gathering complex data (player, position, ship, items, timestamp) from server for analytics, with goal of measuring how playerbase reacts to changes in mod or rules thus enabling community to cut "my opinion vs your opinion" for sake of real data, like how we do with people using our webapps at work.
Do you think your API could eventually be used for that?
...alternativelly just feeding it to graphana for some fancy vanity dashboard.
I will take the bullet for the IT dumb person here and ask - how to start and use it please? I downloaded the zip but my IT knowledge ends there because there seems to be no file or app which can be started.