Class CyberUtils
java.lang.Object
com.github.cyberryan1.cybercore.spigot.utils.CyberUtils
General utilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isValidUsername
(String username) Checks if a username is allowed by Minecraft.
-
Constructor Details
-
CyberUtils
public CyberUtils()
-
-
Method Details
-
isValidUsername
Checks if a username is allowed by Minecraft. Useful so that time isn't wasted looking up a weird name. (Allows periods for bedrock support)- Parameters:
username
- The username to check- Returns:
- True if the username is allowed, false otherwise
-