Download (478 KB)
For Luanti 5.7 and above

How do I install this?

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.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By