{"id":22520988,"url":"https://github.com/defnot001/mc_scoreboards","last_synced_at":"2025-09-14T16:44:09.307Z","repository":{"id":215088446,"uuid":"619305519","full_name":"defnot001/mc_scoreboards","owner":"defnot001","description":"Small program to make datapacks for minecraft servers to generate and update minecraft scoreboards.","archived":false,"fork":false,"pushed_at":"2024-01-02T12:39:58.000Z","size":345,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T19:50:47.313Z","etag":null,"topics":["cli","datapacks","minecraft","rust","scoreboards","stats"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defnot001.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-26T21:04:22.000Z","updated_at":"2023-04-06T18:11:22.000Z","dependencies_parsed_at":"2024-01-02T13:20:32.539Z","dependency_job_id":"83595571-28e1-489f-82a6-c9a30e496e56","html_url":"https://github.com/defnot001/mc_scoreboards","commit_stats":null,"previous_names":["defnot001/mc_scoreboards"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/defnot001/mc_scoreboards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnot001%2Fmc_scoreboards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnot001%2Fmc_scoreboards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnot001%2Fmc_scoreboards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnot001%2Fmc_scoreboards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defnot001","download_url":"https://codeload.github.com/defnot001/mc_scoreboards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defnot001%2Fmc_scoreboards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275135805,"owners_count":25411706,"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-09-14T02:00:10.474Z","response_time":75,"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":["cli","datapacks","minecraft","rust","scoreboards","stats"],"created_at":"2024-12-07T05:09:13.731Z","updated_at":"2025-09-14T16:44:09.282Z","avatar_url":"https://github.com/defnot001.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/defnot001/mc_scoreboards/actions/workflows/build.yml/badge.svg)\n\n# MC Scoreboards\n\nA tool to generate scoreboards for all statistics that Minecraft tracks. This CLI program generates a datapack with mcfunctions that can be loaded and executed on a server.\n\nIn the [releases tab](https://github.com/defnot001/mc_scoreboards/releases), you can find premade datapacks for all the supported versions.\n\nCurrently supported versions:\n\n- 1.16.5\n- 1.17.1\n- 1.18.2\n- 1.19.2\n- 1.19.3\n- 1.19.4\n- 1.20.4\n\nIf you need a datapack an unsupported version, don't hesitate to open an issue or join my [Discord server](https://discord.gg/wmJ3WBYcZF).\n\n## Using the program\n\nIf you want to build and execute this program yourself, you can do so by following these steps. Make sure you have [Rust](https://www.rust-lang.org/tools/install) installed.\n\n### Building the program\n\nClone this repository:\n\n```shell\ngit clone https://github.com/defnot001/mc_scoreboards.git\n```\n\nGo into into the project directory:\n\n```shell\ncd mc_scoreboards\n```\n\nBuild the program:\n\n```shell\ncargo build --release\n```\n\nYou should now have a binary in `target/release/mc_scoreboards`.\n\n### Creating the datapack\n\nThis CLI program accepts multiple arguments and flags that can be used to customize the output. You can see all the options by running mc_scoreboards --help.\n\nThe most basic usage on Linux and Mac will look like this:\n\n```shell\n./target/release/mc-scoreboards 1.20.4\n```\n\nOn Windows, you will need to use the `.exe` file:\n\n```shell\n./target/release/mc-scoreboards.exe 1.20.4\n```\n\nThis will create a datapack in the current directory with the name `scoreboards_1.19.3.zip`. You can then load this datapack on your server and execute the functions in it.\n\n```shell\n/reload\n/function mc-scoreboards:create\n```\n\nIf you want to remove the scoreboard, you can run the following command:\n\n```shell\n/function mc-scoreboards:remove\n```\n\nThe flags that are additionally available are:\n\n#### `--outdir` (`-o`):\n\nYou can use this flag to specify an output directory for the datapack. If this flag is not specified, the datapack will be created in the current directory.\n\n#### `--stats` (`-s`):\n\nWhenever you create a new scoreboard in minecraft, it will initialize all scores to 0.\n\nIf you want to update the scores to the current value of the statistic you need to specify this flag and point it to the stats folder of your world.\n\nYou can find the `stats` folder in the `world` folder of your server.\n\nIf you specify this flag, the program will read the stats files and create a third mcfunction file called `update.mcfunction` that will update the scoreboard to the current value of the statistic.\n\n```shell\n./target/release/mc-scoreboards 1.19.3 -s /path/to/stats/folder\n```\n\n#### `--whitelist` (`-w`):\n\nCurrently, this flag is required if you want to use the `--stats` flag and it also only works if you also specify the `--stats` flag.\n\n```shell\n./target/release/mc-scoreboards 1.19.3 -s /path/to/stats/folder -w /path/to/whitelist.json\n```\n\n### Naming Convention\n\nThis program follows the naming convention introduced by [every-scroreboard](https://github.com/samipourquoi/every-scoreboard).\n\nThe scoreboards are named accordingly:\n\n- `m-\u003cblock\u003e` Blocks mined\n- `u-\u003citem\u003e` Items used\n- `c-\u003citem\u003e` Items crafted\n- `b-\u003citem\u003e` Tools broken\n- `p-\u003citem\u003e` Items picked up\n- `d-\u003citem\u003e` Items dropped\n- `k-\u003cmob\u003e` Mobs killed\n- `kb-\u003cmob\u003e` Killed by mob\n- `z-\u003cstat\u003e` Custom stats (find all possible `stats` [here](https://minecraft.fandom.com/wiki/Statistics#List_of_custom_statistic_names))\n\nIf you are looking for translation files, check out [scoreboard-translations](https://github.com/defnot001/scoreboard-translations) to get pretty printed json files for translation purposes.\n\n#### Acknowledgements\n\nThis program is heavily inspired by [every-scroreboard](https://github.com/samipourquoi/every-scoreboard). I would like to thank [samipourquoi](https://github.com/samipourquoi) for creating this project and making it open source aswell as [Syntro42](https://github.com/Syntro42) for maintaining it.\n\nThank you for reading this far! If you have any questions, feel free to join my [Discord server](https://discord.gg/wmJ3WBYcZF). If you find any bugs, please open an [issue](https://github.com/defnot001/mc_scoreboards/issues) on GitHub. If you liked this project, please consider starring it on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefnot001%2Fmc_scoreboards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefnot001%2Fmc_scoreboards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefnot001%2Fmc_scoreboards/lists"}