This action is used when it is necessary to get the UUID of the player by its nickname and vice versa - the nickname of the player by its UUID.
PLAYER_ID [player] [online] [varid] [varname]
Element | Possible Values | Description |
---|---|---|
player | player:<Player> | Nickname of the player or his UUID. The name of the player (owner of the personal variable). If the parameter [player] is omitted, a global variable will be used. |
online | online:<true/false> | Obtaining player information from the Mojang database (online: true ) or from the local server (online: false ). Default: online:false |
varid | varid:<VariableUUID> The variable UUID. | |
varname | varname:<VariableName> | The variable player name. |
Placeholder | Description |
---|---|
%playerid% | Will get UUID . |
%playername% | Will get Nickname. |
EXEC:
uuid:
actions:
- PLAYER_ID=player:MaxDikiy online:false
- 'LOG=&6UUID: &r%playerid%'
- 'LOG=&6Player: &r%playername%'
EXEC:
uuid:
actions:
- PLAYER_ID=player:4a3fa4bf-456a-4a45-b25e-0719d53a7395 online:true
- 'LOG=&6UUID: &r%playerid%'
- 'LOG=&6Player: &r%playername%'