{"id":29857186,"url":"https://github.com/urpagin/mcwatcher","last_synced_at":"2025-07-30T00:38:57.888Z","repository":{"id":304033509,"uuid":"1017034764","full_name":"Urpagin/MCWatcher","owner":"Urpagin","description":"A Rust-based tool that periodically probes Minecraft servers, logging detailed data for performance monitoring, analytics, and visualization.","archived":false,"fork":false,"pushed_at":"2025-07-10T21:01:58.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-11T00:55:43.504Z","etag":null,"topics":["analytics","data-collection","game-server","logging","mc","minecraft","minecraft-analytics","minecraft-server","monitoring","probe","rust","surveillance","telemetry","visualization","watcher"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Urpagin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-09T23:34:22.000Z","updated_at":"2025-07-10T21:04:05.000Z","dependencies_parsed_at":"2025-07-11T01:08:36.894Z","dependency_job_id":null,"html_url":"https://github.com/Urpagin/MCWatcher","commit_stats":null,"previous_names":["urpagin/mcwatcher"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Urpagin/MCWatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FMCWatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FMCWatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FMCWatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FMCWatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Urpagin","download_url":"https://codeload.github.com/Urpagin/MCWatcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FMCWatcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267786016,"owners_count":24144125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","data-collection","game-server","logging","mc","minecraft","minecraft-analytics","minecraft-server","monitoring","probe","rust","surveillance","telemetry","visualization","watcher"],"created_at":"2025-07-30T00:38:55.023Z","updated_at":"2025-07-30T00:38:57.877Z","avatar_url":"https://github.com/Urpagin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCWatcher\n\nProbes a Minecraft server at regular intervals to collect comprehensive data for later analysis and visualization.\n\n## Quickstart\n\n1. Set the `MC_ADDR` environment variable in a `.env` file at the root of the project as follows:\n\n\u003e [!TIP]\n\u003e Copy-paste the `.env.example` file into a `.env` file and modify the content of the latter.\n\n```bash\nMC_ADDR=mc.hypixel.net\n```\n\n2. Compile and run the program with:\n\n```bash\ncargo run\n```\n\nAllow the program to probe the server. Once sufficient data has been collected, stop the program and interpret the results in the generated `data.csv` file.\n\n## Docker Compose\n\n1. Populate the `.env` file just as described in the [Quickstart](#quickstart) heading\n\n\n2. Launch the program\n```bash\ndocker compose up -d\n```\n\n3. All done. A `./data/` directory will be made with the `data.csv` inside. To interactively inspect the logs of the container, do:\n```bash\ndocker compose logs -f\n```\n\n## Data format\n\nThe `data.csv` file is appended every 30 seconds and structured as follows:\n\n| MC Address | Timestamp Probed | Latency | Version | Max Players | Online Players | Sample Players |\n| ---------- | ---------------- | ------- | ------- | ----------- | -------------- | -------------- |\n\nThe `Sample Players` column is formatted by separating the player's name and UUID with an `@` symbol, and individual players with a `!` symbol, like so:\n\n```\n\u003cplayer_name\u003e@\u003cplayer_uuid\u003e!\u003cplayer_name\u003e@\u003cplayer_uuid\u003e!\n```\n\n**Example:**\n\n```\nTechnoblade@b876ec32-e396-476b-a115-8438d83c67d4!popbob@0f75a81d-70e5-43c5-b892-f33c524284f2!Notch@069a79f4-44e9-4726-a5be-fca90e38aaf5\n```\n\n## TODO / Ideas\n\n* Support for probing multiple servers.\n* API endpoint for dynamically adding servers.\n* Simple frontend for managing servers, downloading data, and generating graphs.\n* Use Parquet or an SQL database for data storage.\n* Configurable probe interval via `.env` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furpagin%2Fmcwatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furpagin%2Fmcwatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furpagin%2Fmcwatcher/lists"}