An open API service indexing awesome lists of open source software.

https://github.com/svioletg/python-mcscores

Python script that parses the contents of a Minecraft scoreboard.dat file into dictionaries and other more usable formats.
https://github.com/svioletg/python-mcscores

json minecraft nbt python python-3

Last synced: 4 months ago
JSON representation

Python script that parses the contents of a Minecraft scoreboard.dat file into dictionaries and other more usable formats.

Awesome Lists containing this project

README

          

# python-mcscoreboard

A Python script for processing Minecraft's `scoreboard.dat` files into more useful formats for Python usage.

## Usage

You can install `mc_score_utils` as a package by using the git link: `pip install git+https://github.com/svioletg/python-mcscores.git`

It can then be used either as a command-line tool, via `py -m mc_score_utils`, or imported into a project with
`from mc_score_utils.mc_score_utils import Scoreboard`.

Alternatively, the package only contains a single script, so you could instead directly download `mc_score_utils.py` from
`src/mc_score_utils`, install its requirements (see `requirements.txt`), and use it that way.