getplayerinfo: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
; getplayerinfo (<player ID>)
; getplayerinfo (<object ID>)
; getcharname (<player ID>)
; getcharname (<object ID>)


: <player ID>
: <object ID>
:: - a player's account ID (can be retrieved by the pl command).  
:: - object ID (can be retrieved by [[pl]] or [[nl]] commands).  


: Ask the server for the name of the object with the specified ID.  
: Ask the server for the name of the object with the specified ID. The object can be a player or an NPC.


: '''''Note:'''''
: '''''Note:'''''
:: You will not see the info unless you have debug level 2.
:: - you will not see the info unless you have debug level 2
:: - the "getcharname" command only works on old servers


[[Category:Console Command]]
[[Category:Console Command]]

Latest revision as of 21:51, 31 July 2021

getplayerinfo (<object ID>)
getcharname (<object ID>)
<object ID>
- object ID (can be retrieved by pl or nl commands).
Ask the server for the name of the object with the specified ID. The object can be a player or an NPC.
Note:
- you will not see the info unless you have debug level 2
- the "getcharname" command only works on old servers