HomeJavaDatapacksScoreboard ID
Scoreboard ID
Scoreboard ID — screenshot 1

Scoreboard ID

A Minecraft datapack that assigns a unique 9-digit ID to each player, enabling easy player identification and management on multiplayer servers.

Minecraft Version Datapack Format License

Features

Requirements

Installation

  1. Download the datapack file

  2. Place it in your world's datapacks folder:

    <world_folder>/datapacks/Scoreboard ID - 1.21.9+.zip
    
  3. Reload datapacks in-game:

    /reload
    
  4. The datapack will automatically initialize and assign IDs to all online players

Usage

View Your Own ID

/trigger score_id.self_id set 1

Displays your personal 9-digit ID in chat.

View All Players' IDs

/trigger score_id.show_all set 1

Shows the ID of all currently online players.

Find Player by ID

/trigger score_id.show_player set <ID>

Replace <ID> with a 9-digit number to find which player owns that ID.

Example:

/trigger score_id.show_player set 123456789

Access Help Menu

Open the pause menu and navigate to the Server Tools menu to access the help dialog with all available commands.

Technical Details

Scoreboard Objectives

The datapack creates the following scoreboard objectives:

ID Generation

File Structure

Scoreboard ID - 1.21.9+/
├── pack.mcmeta                    # Datapack metadata
├── spyglass.json                  # Spyglass IDE configuration
└── data/
    ├── minecraft/
    │   └── tags/
    │       ├── dialog/            # Dialog tags for server tools integration
    │       └── function/          # Function tags
    └── score_id/
        ├── dialog/                # Dialog definitions
        │   ├── help/              # Help menu dialogs
        │   ├── support/           # Support dialogs
        │   └── main_menu.json     # Main menu configuration
        └── function/              # Function files
            ├── init.mcfunction    # Initialization function
            ├── id.mcfunction      # ID assignment logic
            └── show_id/           # ID display functions
                ├── show_all_id.mcfunction
                ├── show_id_self.mcfunction
                └── show_player_name.mcfunction

Commands Reference

Command Description Type
/trigger score_id.self_id set 1 Display your own ID Trigger
/trigger score_id.show_all set 1 Display all online players' IDs Trigger
/trigger score_id.show_player set <ID> Find player by their ID Trigger

For Developers

Dependencies

This datapack requires the Server Tools framework:

Customization

You can modify the following aspects:

  1. ID Range: Edit data/score_id/function/id.mcfunction to change the ID range
  2. Messages: Modify tellraw messages in the function files
  3. Dialog UI: Customize dialog JSON files in data/score_id/dialog/

Author

FeSo4a

License

This project is open-source. Feel free to use, modify, and distribute according to your needs.

Bug Reports & Support

If you encounter any issues or have suggestions:

  1. Check the help menu in-game: /trigger commands or pause menu
  2. Contact the author through the platforms listed above
  3. Submit an issue on GitHub

Enjoy managing your server with Scoreboard ID!

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more