Class AccountServices

java.lang.Object
lol.trq.alts.account.AccountServices

public final class AccountServices extends Object
The whole post-login account surface, built over one live Minecraft access token. Hands out the focused services — profile, entitlements, name, skin, cape, player attributes, chat-signing certificates, the privacy blocklist — each of which a host can hold on its own.

Reached through AltsRuntime#accountServices, one per account, over its access token; there is no public factory, so every instance runs on its runtime's endpoints. Nothing here installs a session or touches the account store; these operate directly on the account the token belongs to.

Since:
0.11.0
  • Method Details

    • profile

      public ProfileService profile()
      Returns the profile service — the full read, and creation for an account that has none.
      Returns:
      the profile service
      Since:
      0.11.0
    • entitlements

      public EntitlementService entitlements()
      Returns the entitlement (ownership) service.
      Returns:
      the entitlement service
      Since:
      0.11.0
    • name

      public NameService name()
      Returns the name service — availability, eligibility, change, and scheduled claim.
      Returns:
      the name service
      Since:
      0.11.0
    • skin

      public SkinService skin()
      Returns the skin service.
      Returns:
      the skin service
      Since:
      0.11.0
    • cape

      public CapeService cape()
      Returns the cape service.
      Returns:
      the cape service
      Since:
      0.11.0
    • attributes

      public PlayerAttributesService attributes()
      Returns the player-attributes service — privileges, preferences, and ban status.
      Returns:
      the player-attributes service
      Since:
      0.12.0
    • certificates

      public CertificateService certificates()
      Returns the certificate service, which issues the account's chat-signing key pair.
      Returns:
      the certificate service
      Since:
      0.12.0
    • blocklist

      public BlocklistService blocklist()
      Returns the privacy-blocklist service.
      Returns:
      the blocklist service
      Since:
      0.12.0