Class PlayerUtils

java.lang.Object
com.maximde.hologramlib.utils.PlayerUtils

public class PlayerUtils extends Object
  • Field Details

    • PLACEHOLDER_PROFILE

      public static String PLACEHOLDER_PROFILE
  • Constructor Details

    • PlayerUtils

      public PlayerUtils()
  • Method Details

    • loadPlaceholders

      public static void loadPlaceholders()
    • getPlayerHeadAsync

      public static CompletableFuture<String> getPlayerHeadAsync(UUID uuid)
    • getPlayerProfile

      public static org.bukkit.profile.PlayerProfile getPlayerProfile(UUID uuid)
    • getUUID

      public static Optional<UUID> getUUID(String playerName)
    • getPlayerHead

      public static String getPlayerHead(UUID uuid)
      Get a combination of unicodes which represent pixels and offsets to display a player head
      Returns:
    • getPlayerSkinUrl

      @Nullable public static @Nullable String getPlayerSkinUrl(UUID uuid)