Package dev.itsharshxd.zentrix.api.events.cosmetics


package dev.itsharshxd.zentrix.api.events.cosmetics
  • Class
    Description
    Called before a player's own choice of cosmetic is saved, in any type, built-in or an addon's: equipping one, or unequipping to go back to the type's default.
    Called after a change to what a player owns or chose was stored: a grant or revocation by an administrator or addon, a choice in the cosmetics menu or through the API, a timed cosmetic running out, or ownership imported from MatrixGliders.
    What made the change.
    Called before a cosmetic preview starts for a player, in the cosmetics menu or through CosmeticsService#startPreview, in any type.
    Called before a player's own choice of cosmetic in the cosmetics menu is saved, and, since 1.11.0, one an addon makes for them through CosmeticsService#equip or #unequip.
    Called before a player's cosmetic of an addon's type is triggered at a moment of a match, before its handler hears of it.
    Called before cosmetics are unlocked for a player through the API: granted by an addon with CosmeticsService#grant or #grantTimed, or bought with CosmeticsService#purchase or in the cosmetics menu.
    How the cosmetics are unlocked.