Class GameProfile.Property

java.lang.Object
com.velocitypowered.api.util.GameProfile.Property
Enclosing class:
GameProfile

public static final class GameProfile.Property extends Object
Represents a Mojang profile property. Just like GameProfile, this class is immutable.
  • Constructor Details

    • Property

      public Property(String name, String value, String signature)
      Creates a profile property entry.
      Parameters:
      name - the name of the property
      value - the value of the property
      signature - the Mojang signature for the property
  • Method Details

    • getName

      public String getName()
      Returns the name of this property.
      Returns:
      the property name
    • getValue

      public String getValue()
      Returns the value of this property.
      Returns:
      the property value
    • getSignature

      public String getSignature()
      Returns the Mojang-provided signature for this property.
      Returns:
      the property signature
    • toString

      public String toString()
      Overrides:
      toString in class Object