Skip to main content

Parse and analyze Minecraft server log files

Project description

mclog-parser

Analyze Minecraft server logs instantly — turn raw log files into structured data.

mclog-parser 🎮

Analyze Minecraft server logs instantly — turn raw log files into structured data.

pip install mclog-parser

Why?

Every Minecraft server generates thousands of log lines. Finding crashes, tracking players, or spotting lag spikes means scrolling through walls of text manually.

mclog-parser does it in one line.


Quickstart

from mclog_parser import LogParser

log = LogParser("latest.log")

log.summary()        # full overview
log.crashes()        # all errors & crashes
log.lag_spikes()     # lag warnings
log.player_stats()   # per-player stats
log.export_json()    # save report as JSON

Example Output

{
  "unique_players": 3,
  "total_sessions": 5,
  "crash_count": 1,
  "lag_spike_count": 2,
  "top_players": [
    { "player": "Ahmed99", "sessions": 2, "deaths": 1 }
  ]
}

CLI

No Python needed — run directly from your terminal:

mclog latest.log                        # summary
mclog latest.log --crashes              # errors only
mclog latest.log --players              # player stats table
mclog latest.log --player Ahmed99       # one player's sessions
mclog latest.log --export report.json   # export to JSON

Supported Servers

Server Status
Paper
Spigot
Vanilla
Fabric
Forge 🔜

Install

pip install mclog-parser

Requires Python 3.10+


Roadmap

  • Core parser (crashes, lag, sessions)
  • Player stats
  • JSON export
  • CLI
  • Web dashboard
  • Discord bot integration
  • Real-time log watching

License

MIT — free to use, modify, and distribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mclog_parser-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mclog_parser-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file mclog_parser-0.1.0.tar.gz.

File metadata

  • Download URL: mclog_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mclog_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 03c6dd035a2787ef1808453c7fb2636acb0202bf5cdeb9de85136b72a3eed022
MD5 659573f45d71cf9e8b01e98cc81e6ca2
BLAKE2b-256 df7a409ee25ebfd7267daccc1879e7db9c79f07df755c311b9f4b37eff2a00a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mclog_parser-0.1.0.tar.gz:

Publisher: publish.yml on IVANOLIO/mclog-parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mclog_parser-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mclog_parser-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mclog_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e709e885f3dc0b482dae1f57d8dbea82563251380b7308811fc54a01caf1b0f5
MD5 c96e14e7829aaef840e4708b3b68e9f8
BLAKE2b-256 f7f40ea7a5e15eb44db51763ad42b81bac3dd02155c9525d3902a16a6780ef10

See more details on using hashes here.

Provenance

The following attestation bundles were made for mclog_parser-0.1.0-py3-none-any.whl:

Publisher: publish.yml on IVANOLIO/mclog-parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page