Class LinkedPlayer

java.lang.Object
org.geysermc.floodgate.util.LinkedPlayer
All Implemented Interfaces:
Cloneable

public final class LinkedPlayer extends Object implements Cloneable
  • Method Details

    • of

      public static LinkedPlayer of(String javaUsername, UUID javaUniqueId, UUID bedrockId)
    • fromString

      public static LinkedPlayer fromString(String data)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • getJavaUsername

      public String getJavaUsername()
      The Java username of the linked player
    • getJavaUniqueId

      public UUID getJavaUniqueId()
      The Java UUID of the linked player
    • getBedrockId

      public UUID getBedrockId()
      The UUID of the Bedrock player
    • isFromDifferentPlatform

      public boolean isFromDifferentPlatform()
      If the LinkedPlayer is sent from a different platform. For example the LinkedPlayer is from Bungee but the data has been sent to the Bukkit server.