BetterHeadsAPI - AlonsoAliaga/BetterHeads GitHub Wiki
BetterHeadsAPI can be used to make some checks easily.
- Returns list of available categories.
- Returns head with the id associated. Returns null if not valid head id.
- Opens categories GUI for player. Returns whether success or not.
- Opens heads gui for player with the selected category and page. Return whether success or not.
- Returns a random head.
- Returns random head in category. Returns null if category is not valid.
- Returns list of heads ids.
- Returns list of heads ids in category. Returns null if category is not valid.
- Returns list of heads ids that includes search term in name.
- When player purchases/get a head from heads GUI.