resolvePlayerIdForMention

fun resolvePlayerIdForMention(mention: String, excludePlayerId: UUID? = null): UUID?(source)

Resolves a free-form player mention to a unique known player ID.

Returns null when no known player matches or when the mention is ambiguous.