Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
Scoreboard ID
A Minecraft datapack that assigns a unique 9-digit ID to each player, enabling easy player identification and management on multiplayer servers.
Features
- Automatic ID Assignment: Each player receives a unique 9-digit ID (100000000-999999999) automatically upon joining
- Conflict Resolution: Built-in detection and resolution system ensures no two players share the same ID
- Player Lookup: Find players by their ID or view all player IDs
- Interactive Dialog System: User-friendly interface with help menus and support options
- Easy-to-Use Commands: Simple trigger-based commands for quick access to ID information
Requirements
- Minecraft Java Edition 1.21.9 or higher
- Datapack format version 88-107
- Server Tools dependency (automatically loaded)
Installation
-
Download the datapack file
-
Place it in your world's
datapacksfolder:<world_folder>/datapacks/Scoreboard ID - 1.21.9+.zip -
Reload datapacks in-game:
/reload -
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:
score_id(dummy): Stores each player's unique 9-digit IDscore_id.self_id(trigger): Trigger for viewing your own IDscore_id.show_all(trigger): Trigger for viewing all players' IDsscore_id.show_player(trigger): Trigger for looking up players by ID
ID Generation
- IDs are randomly generated within the range:
100000000to999999999 - Automatic conflict detection ensures uniqueness
- If a conflict is detected, a new random ID is assigned
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:
- Automatically loads via
#server_tools_initfunction tag - Integrates with the server tools menu system
Customization
You can modify the following aspects:
- ID Range: Edit
data/score_id/function/id.mcfunctionto change the ID range - Messages: Modify tellraw messages in the function files
- 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:
- Check the help menu in-game:
/triggercommands or pause menu - Contact the author through the platforms listed above
- Submit an issue on GitHub
Enjoy managing your server with Scoreboard ID!


