This repository contains two Python scripts for retrieving players' advancements in a Minecraft world and displaying or updating them in-game using a scoreboard.
main.py
retrieves players' advancements from JSON files and displays players' names along with the number of advancements achieved.
scoreboard.py
updates players' scores in the game based on their progress in Minecraft advancements.
- Python 3.x
- The
requests
library
Dependencies can be installed by running the following command in the terminal:
pip install -r requirements.txt
python3 main.py "path/to/advancements/*.json" > output.txt
python3 scoreboard.py "input_files.txt" server_screen_name minecraft_score_name
- This project utilizes the
playerdb.co
API to retrieve player information. Ensure you have proper access to this API and follow their usage guidelines.
Contributions are welcome. Please provide clear and concise explanations of your contributions in your Pull Requests.
- The
scoreboard.py
script is currently designed to work only on Linux.