Add CharacterID field to playerinfo command response

21 votes

Currently, the playerinfo command returns the following info:
Name (ign)
AGID
Dinosaur (species)
Role
Marks
Growth
Location
Unfortunately, there is no way to figure out from this info (or from any other rcon command) exactly what character a player is on.

"Can't you just check the most recent PlayerRespawn webhook to get the CharacterID?"
Not always! For example, if a player hardlogs and re-enters world on a character before it despawns, then a PlayerLeave webhook is sent but NO PlayerRespawn (since the character didn't technically respawn). This creates an edge case where a player may have multiple characters spawned into the world at the same time, and there is no way to know which they most recently entered world on.

Adding a CharacterID field to the playerinfo response solves this specific issue, and in general provides bots with an easier way to access CharacterID without digging through webhook logs.

Under consideration Game Mechanic Server Hosting Suggested by: sujii Upvoted: 25 Jan Comments: 0

Comments: 0