Get the player id from a player name
the id of the player
Optional
onMissing: "throw"Pass "throw" or omit to throw an error if the player is not found
the player id, or throws if no such player exists
Get the player id from a player name (if it exists)
the id of the player
Pass "throw" to throw an error if the player is not found, or "return-null" to return null *
the player id, or null if no such player exists
Get the player id from a player name (if it exists)
Param: id
the id of the player
Param: onMissing
Pass "throw" to throw an error if the player is not found, or "return-null" to return null
Returns
the player id if the player exists, or handles according to onMissing