This PR adds form validation to the username field of the Lua script. If a user attempts to create or join a room with a non-alphanumeric character in their username, they receive an error in the Lua console informing them that the username must be made up of only letters or numbers.
This script change has been tested with the creation of a room, joining a room, and used for a live multiworld to ensure that nothing else was broken by this modification.
This PR adds form validation to the username field of the Lua script. If a user attempts to create or join a room with a non-alphanumeric character in their username, they receive an error in the Lua console informing them that the username must be made up of only letters or numbers.
This script change has been tested with the creation of a room, joining a room, and used for a live multiworld to ensure that nothing else was broken by this modification.