Get the player id from a player name
the name 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 name of the player
Pass "throw" to throw an error if the player is not found, or "return-null" to return null
the player id if the player exists, or handles according to onMissing
Get the player id from a player name (if it exists)
Param: name
the name 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