{"id":92307,"date":"2026-06-05T09:40:00","date_gmt":"2026-06-05T06:40:00","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/"},"modified":"2026-06-05T09:40:00","modified_gmt":"2026-06-05T06:40:00","slug":"leaderboards-datapack","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/","title":{"rendered":"LeaderBoards Datapack"},"content":{"rendered":"<p># LeaderBoards Datapack 1.21.6+<\/p>\n<p>A Datapack to place LeaderBoards Ranking players of your server on a given scoreboard objective<\/p>\n<p>![Fixed Leaderboard example](https:\/\/cdn.modrinth.com\/data\/cached_images\/291cff70d6a66cfb2ff6dd5f85803a5077e65344.png)<\/p>\n<p>## How to use<\/p>\n<p>LeaderBoards Datapack 1.21.6+ uses the Dialog feature to provide an easy to use interface to create and edit Leaderboards<\/p>\n<p>![Add Leaderboard Dialog menu](https:\/\/cdn.modrinth.com\/data\/zyFuJ0rz\/images\/c966a1c5ba74f92b01a0bfa45df237209e1852e3.png)<\/p>\n<p>### Add a LeaderBoard<\/p>\n<p>&#8220;`<br \/>\n\/function leaderboard:_dialog\/add_leaderboard_dialog<br \/>\n&#8220;`<\/p>\n<p>&#8211; **Scoreboard objective name** is the most important parameter, it sets the scoreboard objective to be displayed in the Leaderboard. This **MUST** match the **exact** score name.<br \/>\nExample: if you create a scoreboard with the command:<br \/>\n`\/scoreboard objectives add score_name dummy &#8220;My score&#8221;`, the _Scoreboard objective name_ to use will be `score_name` and **NOT** `My score`<\/p>\n<p>&#8211; **Displayed Title** is the name that will be displayed on top of the leaderboard<\/p>\n<p>&#8211; **time_mode** option displays the score as a time with hours, minutes, seconds and 1\/20th of a second (ticks). It requires the given score to be a time in ticks.<br \/>\nExtended, keeps ms even when value is larger than 1 hour<br \/>\nStopwatch, is more suited for the new `\/stopwatch` command release in 1.21.11. It requires the given socre to be a time in ms. To get such a time you can use the following example:<br \/>\n`\/execute store result score @p score_name run stopwatch query minecraft:foo 1000` Note that the x1000 scaling allows to get a time in ms<\/p>\n<p>&#8211; **reverse_order** option reverses the order of the players in the LeaderBoard. Puts the lowest score first<\/p>\n<p>&#8211; **no_zero** option removes players with either no score or a score that equals 0 from the LeaderBoard. This is especially useful in reverse mode to avoid having new players at the top of the LeaderBoard by default<\/p>\n<p>&#8211; **billboard** option sets the billboard type that the LeaderBoard will use<br \/>\nIt can be set to vertical, horizontal or fixed<br \/>\nWhen using **fixed** billboard type, the direction is set from the head direction of the player executing the command<br \/>\ntips: you can use `\/tp @s ~ ~ ~ x y`, with x and y set to the rotation if you want the leaderboard to be aligned to a specific angle<\/p>\n<p>&#8211; **medal_color** option adds medal like colors the the top 3 ranks<\/p>\n<p>&#8211; **show_heads** option adds the player heads next to it&#8217;s name **_(1.21.9+ only)_**<\/p>\n<p>&#8211; **always_show_closest_player** option highlights the line of the nearest player. If this player&#8217;s rank is not present in the base list (cause of max_players option), it will add an extra line under the default one with the closest player score<\/p>\n<p>&#8211; **bright** option sets the text_displays with constant full brigthness<\/p>\n<p>&#8211; **Custom player list** this is an advanced feature, leave empty to get the default list of player built by the datapack<br \/>\nThis parameter allows to use a different storage list for a specific Leaderboard. This can be used to display scoreboard scores that aren&#8217;t directly related to a player. For example a custom objective tracking teams scores<br \/>\nThe syntax is `<storage_name> <list_name>`<br \/>\nFor example if you create your list this way:<br \/>\n`\/data modify storage my_storage:custom_namelist names set value [&#8220;Team1&#8243;,&#8221;Team2&#8243;,&#8221;Team3&#8221;]`<br \/>\nyou need to use<br \/>\n`my_storage:custom_namelist names` in the Custom player list field<br \/>\nwarning: this might have some unexpected behaviour when used with `always_show_closest_player` and a list that does not contain the nearest player<\/p>\n<p>### Remove a LeaderBoard<\/p>\n<p>This will remove the nearest LeaderBoard<\/p>\n<p>&#8220;`<br \/>\n\/function leaderboard:commands\/remove_leaderboard<br \/>\n&#8220;`<\/p>\n<p>### Edit a LeaderBoard<\/p>\n<p>This will edit the nearest LeaderBoard<\/p>\n<p>&#8220;`<br \/>\n\/function leaderboard:_dialog\/edit_leaderboard_dialog<br \/>\n&#8220;`<\/p>\n<p>### Uninstall<\/p>\n<p>&#8220;`<br \/>\n\/function leaderboard:commands\/uninstall<br \/>\n&#8220;`<\/p>\n<p>(Only keeps the storage leaderboard:namelist in case you want to re-enable it)<\/p>\n<p>## Back compatibility<\/p>\n<p>Versions of the datapack prior to 1.21.6 are still available but won&#8217;t be updated anymore<br \/>\nYou can find tutorials on how to use legacy verisons on the Github link<\/p>\n<p>## Contact<\/p>\n<p>Feel free to join the discord for any question, bug report or feature request<br \/>\nDiscord invite<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Datapack to place LeaderBoards Ranking players of your server on a given scoreboard objective.<\/p>\n","protected":false},"featured_media":92308,"template":"","meta":{"_minecraft_slug":"leaderboards-datapack","_minecraft_project_id":"zyFuJ0rz","_minecraft_author":"djtgeek","_minecraft_license":"MIT","_minecraft_downloads":1499,"_minecraft_follows":21,"_minecraft_client_side":"optional","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"leaderboards-datapack.zip","_minecraft_size_bytes":288162,"_minecraft_version_count":20,"_minecraft_updated_at":"2026-05-16T03:55:04.371362Z","_minecraft_date_created":"2024-06-17T02:25:26.827952Z","_minecraft_date_modified":"2025-12-30T02:09:48.932148Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/leaderboards-datapack","_minecraft_icon_attachment_id":92308,"_minecraft_imported_at":"2026-06-05T06:40:01+00:00","_minecraft_import_hash":"9360daa45e2653f70ad82fbfc5a7fb81","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[84,126,866,867,92],"mod_loader":[86],"minecraft_version":[94,62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-92307","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-datapack","mod_category-management","mod_category-minigame","mod_category-social","mod_category-utility","mod_loader-datapack","minecraft_version-1-20-4","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LeaderBoards Datapack - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LeaderBoards Datapack - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A Datapack to place LeaderBoards Ranking players of your server on a given scoreboard objective.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/\",\"name\":\"LeaderBoards Datapack - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/leaderboards-datapack-icon-bc16dfdee8ff8cf736a89bbaea2806cbd6182f60_96.webp\",\"datePublished\":\"2026-06-05T06:40:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/leaderboards-datapack-icon-bc16dfdee8ff8cf736a89bbaea2806cbd6182f60_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/leaderboards-datapack-icon-bc16dfdee8ff8cf736a89bbaea2806cbd6182f60_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/leaderboards-datapack\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"LeaderBoards Datapack\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LeaderBoards Datapack - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/","og_locale":"en_US","og_type":"article","og_title":"LeaderBoards Datapack - Minecraft","og_description":"A Datapack to place LeaderBoards Ranking players of your server on a given scoreboard objective.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/","name":"LeaderBoards Datapack - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/leaderboards-datapack-icon-bc16dfdee8ff8cf736a89bbaea2806cbd6182f60_96.webp","datePublished":"2026-06-05T06:40:00+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/leaderboards-datapack-icon-bc16dfdee8ff8cf736a89bbaea2806cbd6182f60_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/leaderboards-datapack-icon-bc16dfdee8ff8cf736a89bbaea2806cbd6182f60_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/leaderboards-datapack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"LeaderBoards Datapack"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/92307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/92308"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=92307"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=92307"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=92307"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=92307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}