mejoras de UI

This commit is contained in:
2025-08-28 03:00:56 -06:00
parent 318a7847b8
commit 16d8e64fcd
3 changed files with 141 additions and 29 deletions

View File

@@ -550,10 +550,14 @@ adminRouter.get("/admin/uuids-with-names", async (req: Request, res: Response) =
const uuidsWithInfo = uuids.map(uuid => {
const name = nameManager.getPlayerName(uuid);
const color = nameManager.getPlayerColor(uuid);
const shameTokens = nameManager.getShameTokens(uuid);
return {
uuid,
name: name || null,
hasName: !!name
hasName: !!name,
color: color || null,
shameTokens: shameTokens || 0
};
});