java.lang.Object
com.github.cyberryan1.cybercore.spigot.utils.CyberUtils

public final class CyberUtils extends Object
General utilities
  • Constructor Details

    • CyberUtils

      public CyberUtils()
  • Method Details

    • isValidUsername

      public static boolean isValidUsername(String username)
      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