Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Options

Implements

Index

Constructors

Properties

cloudProxy: undefined | { cookies?: { domain?: string; expires?: number; httpOnly?: boolean; name: string; path?: string; sameSite?: "Strict" | "Lax"; secure?: boolean; url?: string; value: string }[]; headers?: Record<string, any>; maxTimeout?: number; session?: string }

CloudProxy options for requests NameMC often uses CloudFlare to protect against DDoS attacks If you want the library to work at such times, you need to deploy your own Cloud Proxy instance

defaultSkinsModel: undefined | CLASSIC | SLIM | "classic" | "slim"

Model for skins by default, if an error occurred while trying to parse it

endpoint: "namemc.com" = 'namemc.com'
proxy: undefined | string = ''

Proxy url for requests Support CloudProxy

rendersIgnoreProxy: undefined | boolean

Ignore proxy url for renders

Methods

Generated using TypeDoc