PlayerIDCounter

PlayerIDCounter

A lightweight plugin that automatically assigns each player a unique persistent ID and provides easy placeholder and API access to it.

74 downloads 1 followers

This was originally a plugin I made for personal use. Suggestions for additional features or improvements are welcome.

Main Features

Automatic ID Assignment When a player joins the server for the first time, the plugin automatically assigns them a unique, incrementing ID. The process is fully automatic and does not require any administrator intervention.

Welcome Message When a player joins the server, the plugin sends them a welcome message displaying their assigned ID. The content of this message can be customized in the configuration file.

Persistent Storage All player IDs are saved to a file. Even after a server restart, players will retain their assigned IDs.

PlaceholderAPI Variables

  • %playerid_id% — Displays the player's own ID (can be used in scoreboards, tab lists, holograms, etc.)
  • %playerid_{id}% — {id} refers to the player's ID and returns the corresponding player name

External API Usage

int playerId = PlayerIDCounter.getPlayerId(player.getUniqueId());

No gallery available for this project.

Version Minecraft Loader Download

0.0.3

1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11
folia, paper
Download