canonical_name
an API to get the proper capitalization of a name.
minetest only allows a single capitalization of a name, but mods generally have no way to figure out whether a string corresponds to a player's name, if it were capitalized properly.
public API
canonical_name.get(name)
gets the name's proper capitalization. if the name doesn't correspond to an actual user, returns nil
.