From 5ea196eaf16ce7f1f8779d45a7bb3634a5a09506 Mon Sep 17 00:00:00 2001 From: georgey <126475948+MrGeorgey@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:52:55 +1100 Subject: [PATCH] expand upon GetPlayerIdentifiers explanation --- docs/en/scripting/server/latest-server-reference.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en/scripting/server/latest-server-reference.md b/docs/en/scripting/server/latest-server-reference.md index 607e3325..8ea98593 100644 --- a/docs/en/scripting/server/latest-server-reference.md +++ b/docs/en/scripting/server/latest-server-reference.md @@ -571,7 +571,9 @@ Returns the memory usage of all lua states combined, in bytes. #### `MP.GetPlayerIdentifiers(player_id: number) -> table` -Returns a table with information about the player, such as beammp forum ID and IP address. +Returns a table with information about the player, such as BeamMP forum ID, IP address and Discord account ID. Discord ID will only be returned if the user has it linked to their forum account. + +You can find a users forum ID by navigating to `https://forum.beammp.com/u/USERNAME.json` and looking for `"user": {"id": 123456}`. A BeamMP ID is unique to the player and cannot be changed unlike the username. Example: