Java Saved data
save_timeplayers_on
players_max
ping
players_sample
version_protocol
version_name
motd
favicon
Bedrock Saved data
save_timeplayers_on
players_max
ping
version_protocol
version_name
version_brand
motd
gamemode
map
- mcstatus (pip install mcstatus)
- Python with a version of sqlite that supports serialized mode
- (See DbManager.py or just launch the program for more info)
The DB saves save_time
as unix time from your timezone
(eg. mine is in UTC+1, Central European Standard Time)
- The script grabs every info about the server & saves it to db.
- Next time the save runs, it only saves fields different from the previous saved values.
Other unchanged fields are just filled with NULLs.
docker container containing everything below below
actual website/UI to view data
-> to avoid SQL injection, do smth like "if input not in trusted_servers" server side
other sources (from the internet etc) to view old data
Few servers (see servers_DOWN.txt) are having issues
See if I can PR or fix the thing or smth
to save even more space, when server is down set playercount to "DOWN"
and when the data doesn't change, don't actually save any lines