Index

A C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

applySkin(P) - Method in interface net.skinsrestorer.api.property.SkinApplier
Applies a skin to a player that would be set on join.
applySkin(P, SkinIdentifier) - Method in interface net.skinsrestorer.api.property.SkinApplier
Applies a skin to a player from a skin identifier.
applySkin(P, SkinProperty) - Method in interface net.skinsrestorer.api.property.SkinApplier
Applies a raw skin property to a player.

C

CacheStorage - Interface in net.skinsrestorer.api.storage
Caches Name -> UUID to avoid spamming data providers and speed up skin fetching.
canEqual(Object) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
canEqual(Object) - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
canEqual(Object) - Method in class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
canEqual(Object) - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
canEqual(Object) - Method in class net.skinsrestorer.api.property.SkinIdentifier
 
canEqual(Object) - Method in class net.skinsrestorer.api.property.SkinProperty
 
canEqual(Object) - Method in class net.skinsrestorer.api.semver.SemanticVersion
 
CLASSIC - Enum constant in enum class net.skinsrestorer.api.property.SkinVariant
 
CUSTOM - Enum constant in enum class net.skinsrestorer.api.property.SkinType
Skin linked to a custom value and signature

D

DataRequestException - Exception in net.skinsrestorer.api.exception
 
DataRequestException(String) - Constructor for exception net.skinsrestorer.api.exception.DataRequestException
 
DataRequestException(Throwable) - Constructor for exception net.skinsrestorer.api.exception.DataRequestException
 

E

equals(Object) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
equals(Object) - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
equals(Object) - Method in class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
equals(Object) - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
equals(Object) - Method in class net.skinsrestorer.api.property.SkinIdentifier
 
equals(Object) - Method in class net.skinsrestorer.api.property.SkinProperty
 
equals(Object) - Method in class net.skinsrestorer.api.semver.SemanticVersion
 
EventBus - Interface in net.skinsrestorer.api.event
Event bus for SkinsRestorer.

F

findOrCreateSkinData(String) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Searches a skin in the database by name/url.
findSkinData(String) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Searches a skin in the database by name/url.
fromString(String) - Static method in class net.skinsrestorer.api.semver.SemanticVersion
 

G

genSkin(String, SkinVariant) - Method in interface net.skinsrestorer.api.connections.MineSkinAPI
Generates a skin using the MineSkin API [WARNING] MineSkin api key might be REQUIRED in the future.
get() - Static method in class net.skinsrestorer.api.SkinsRestorerProvider
Gets the SkinsRestorer API instance.
getCacheStorage() - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getCAPE() - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
getCommit() - Method in interface net.skinsrestorer.api.SkinsRestorer
Return the commit of SkinsRestorer installed on the server.
getCommit() - Static method in class net.skinsrestorer.api.VersionProvider
Returns the 40 letter git commit of SkinsRestorer installed on the server.
getCommitShort() - Method in interface net.skinsrestorer.api.SkinsRestorer
Return the short commit of SkinsRestorer installed on the server.
getEventBus() - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getGeneratedVariant() - Method in class net.skinsrestorer.api.connections.model.MineSkinResponse
 
getIdentifier() - Method in class net.skinsrestorer.api.property.InputDataResult
 
getIdentifier() - Method in class net.skinsrestorer.api.property.SkinIdentifier
 
getMetadata() - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
getMineSkinAPI() - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getMineSkinId() - Method in class net.skinsrestorer.api.connections.model.MineSkinResponse
 
getModel() - Method in class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
getMojangAPI() - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getPlayer(Class<P>) - Method in interface net.skinsrestorer.api.event.SkinApplyEvent
 
getPlayerSkin(String, boolean) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Gets the skin data of a Mojang player by name using the UUID cache.
getPlayerStorage() - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getProfile(UUID) - Method in interface net.skinsrestorer.api.connections.MojangAPI
 
getProfileId() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
getProfileName() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
getProperty() - Method in class net.skinsrestorer.api.connections.model.MineSkinResponse
 
getProperty() - Method in interface net.skinsrestorer.api.event.SkinApplyEvent
 
getProperty() - Method in class net.skinsrestorer.api.property.InputDataResult
 
getRequestedVariant() - Method in class net.skinsrestorer.api.connections.model.MineSkinResponse
 
getSemanticVersion() - Static method in class net.skinsrestorer.api.VersionProvider
Returns the semantic version of SkinsRestorer installed on the server for a third-party plugin to use for detecting the version of SkinsRestorer installed on the server to find the right API implementation to use.
getSignature() - Method in class net.skinsrestorer.api.property.SkinProperty
 
getSkin(String) - Method in interface net.skinsrestorer.api.connections.MojangAPI
Get skin property by player name, this method will return empty if the player is not premium.
getSkin(String, boolean) - Method in interface net.skinsrestorer.api.storage.CacheStorage
Deprecated.
Use SkinStorage.getPlayerSkin(String, boolean) instead. This method will now just redirect you to SkinStorage.getPlayerSkin(String, boolean). TODO: Remove in 16.0.0
getSKIN() - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
getSkinApplier(Class<P>) - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getSkinDataByIdentifier(SkinIdentifier) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Searches a skin in the database by its skin identifier.
getSkinForPlayer(UUID, String) - Method in interface net.skinsrestorer.api.storage.PlayerStorage
 
getSkinForPlayer(UUID, String, boolean) - Method in interface net.skinsrestorer.api.storage.PlayerStorage
This method seeks out the skin that would be set on join and returns the property containing all the skin data (Value and Signature).
getSkinIdOfPlayer(UUID) - Method in interface net.skinsrestorer.api.storage.PlayerStorage
Get the linked skin identifier of a player.
getSkinOfPlayer(UUID) - Method in interface net.skinsrestorer.api.storage.PlayerStorage
Calls PlayerStorage.getSkinIdOfPlayer(UUID) and fetches the stored skin property from the skin identifier.
getSkinProfileData(SkinProperty) - Static method in class net.skinsrestorer.api.PropertyUtils
Returns the decoded profile data from the profile property.
getSkinProperty() - Method in class net.skinsrestorer.api.property.MojangSkinDataResult
 
getSkinStorage() - Method in interface net.skinsrestorer.api.SkinsRestorer
 
getSkinTextureUrl(SkinProperty) - Static method in class net.skinsrestorer.api.PropertyUtils
Returns a Texture Url based on skin This is useful for skull plugins like Dynmap or DiscordSRV for example https://mc-heads.net/avatar/%texture_id%/%size%.png
getSkinTextureUrlStripped(SkinProperty) - Static method in class net.skinsrestorer.api.PropertyUtils
Only returns the id at the end of the url.
getSkinType() - Method in class net.skinsrestorer.api.property.SkinIdentifier
 
getSkinVariant() - Method in class net.skinsrestorer.api.property.SkinIdentifier
Only used for SkinType.URL, otherwise null.
getSkinVariant(SkinProperty) - Static method in class net.skinsrestorer.api.PropertyUtils
 
getStrippedUrl() - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
getTextures() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
getTimestamp() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
getUniqueId() - Method in class net.skinsrestorer.api.property.MojangSkinDataResult
 
getUrl() - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
getUUID(String) - Method in interface net.skinsrestorer.api.connections.MojangAPI
 
getUUID(String, boolean) - Method in interface net.skinsrestorer.api.storage.CacheStorage
Gets the UUID of a Mojang player from the cache.
getValue() - Method in class net.skinsrestorer.api.property.SkinProperty
 
getVersion() - Method in class net.skinsrestorer.api.semver.SemanticVersion
 
getVersion() - Method in interface net.skinsrestorer.api.SkinsRestorer
Return the version of SkinsRestorer installed on the server.
getVersion() - Static method in class net.skinsrestorer.api.VersionProvider
Returns the version of SkinsRestorer installed on the server.
getVersionInfo() - Static method in class net.skinsrestorer.api.VersionProvider
Returns the version of SkinsRestorer installed on the server for a third-party plugin to use for a message.

H

hashCode() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
hashCode() - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
hashCode() - Method in class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
hashCode() - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
hashCode() - Method in class net.skinsrestorer.api.property.SkinIdentifier
 
hashCode() - Method in class net.skinsrestorer.api.property.SkinProperty
 
hashCode() - Method in class net.skinsrestorer.api.semver.SemanticVersion
 

I

InputDataResult - Class in net.skinsrestorer.api.property
 
isCancelled() - Method in interface net.skinsrestorer.api.event.SkinApplyEvent
 
isCompatibleWith(String) - Static method in class net.skinsrestorer.api.VersionProvider
Checks whether the given API version is compatible with the version of SkinsRestorer installed on the server.
isNewerThan(SemanticVersion) - Method in class net.skinsrestorer.api.semver.SemanticVersion
 
isSignatureRequired() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 

L

LEGACY - Enum constant in enum class net.skinsrestorer.api.property.SkinType
Skin linked to an old value and signature from pre-v15 versions DO NOT USE THIS TYPE, IT IS ONLY FOR COMPATIBILITY

M

MineSkinAPI - Interface in net.skinsrestorer.api.connections
Generate Value and Signature for a skin image url using the MineSkin API
MineSkinException - Exception in net.skinsrestorer.api.exception
 
MineSkinException(String) - Constructor for exception net.skinsrestorer.api.exception.MineSkinException
 
MineSkinException(Throwable) - Constructor for exception net.skinsrestorer.api.exception.MineSkinException
 
MineSkinResponse - Class in net.skinsrestorer.api.connections.model
 
MojangAPI - Interface in net.skinsrestorer.api.connections
Fetch Minecraft data from Mojang's API.
MojangProfileResponse - Class in net.skinsrestorer.api.model
 
MojangProfileResponse() - Constructor for class net.skinsrestorer.api.model.MojangProfileResponse
 
MojangProfileTexture - Class in net.skinsrestorer.api.model
 
MojangProfileTexture() - Constructor for class net.skinsrestorer.api.model.MojangProfileTexture
 
MojangProfileTextureMeta - Class in net.skinsrestorer.api.model
 
MojangProfileTextureMeta() - Constructor for class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
MojangProfileTextures - Class in net.skinsrestorer.api.model
 
MojangProfileTextures() - Constructor for class net.skinsrestorer.api.model.MojangProfileTextures
 
MojangSkinDataResult - Class in net.skinsrestorer.api.property
 

N

net.skinsrestorer.api - package net.skinsrestorer.api
SkinsRestorer API.
net.skinsrestorer.api.connections - package net.skinsrestorer.api.connections
Contains all the connection classes.
net.skinsrestorer.api.connections.model - package net.skinsrestorer.api.connections.model
 
net.skinsrestorer.api.event - package net.skinsrestorer.api.event
Contains all the events that are fired by the API.
net.skinsrestorer.api.exception - package net.skinsrestorer.api.exception
 
net.skinsrestorer.api.model - package net.skinsrestorer.api.model
 
net.skinsrestorer.api.property - package net.skinsrestorer.api.property
Contains classes related to skin properties and also the SkinApplier class to apply a property to a player.
net.skinsrestorer.api.semver - package net.skinsrestorer.api.semver
 
net.skinsrestorer.api.storage - package net.skinsrestorer.api.storage
Contains all the storage-related classes.

O

of(String, String) - Static method in class net.skinsrestorer.api.property.SkinProperty
 
of(String, SkinVariant, SkinType) - Static method in class net.skinsrestorer.api.property.SkinIdentifier
Not recommended to use, use the other methods instead.
of(UUID, SkinProperty) - Static method in class net.skinsrestorer.api.property.MojangSkinDataResult
 
of(SkinIdentifier, SkinProperty) - Static method in class net.skinsrestorer.api.property.InputDataResult
 
of(SkinProperty, String, SkinVariant, SkinVariant) - Static method in class net.skinsrestorer.api.connections.model.MineSkinResponse
 
ofCustom(String) - Static method in class net.skinsrestorer.api.property.SkinIdentifier
Create a new SkinIdentifier for a custom skin.
ofPlayer(UUID) - Static method in class net.skinsrestorer.api.property.SkinIdentifier
Create a new SkinIdentifier for a player skin in the storage.
ofURL(String, SkinVariant) - Static method in class net.skinsrestorer.api.property.SkinIdentifier
Create a new SkinIdentifier for a web URL.

P

PLAYER - Enum constant in enum class net.skinsrestorer.api.property.SkinType
Skin linked to a player by uuid
PlayerStorage - Interface in net.skinsrestorer.api.storage
This interface is used to store and retrieve skin data for players.
PropertyUtils - Class in net.skinsrestorer.api
Utility class for retrieving information from profile properties related to skins.
PropertyUtils() - Constructor for class net.skinsrestorer.api.PropertyUtils
 

R

removeSkinData(SkinIdentifier) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Removes a skin from the database by its skin identifier.
removeSkinIdOfPlayer(UUID) - Method in interface net.skinsrestorer.api.storage.PlayerStorage
Removes the link between the player and a skin identifier.

S

SemanticVersion - Class in net.skinsrestorer.api.semver
 
SemanticVersion(int[]) - Constructor for class net.skinsrestorer.api.semver.SemanticVersion
 
SemanticVersion(int, int, int) - Constructor for class net.skinsrestorer.api.semver.SemanticVersion
 
setApi(SkinsRestorer) - Static method in class net.skinsrestorer.api.SkinsRestorerProvider
 
setCancelled(boolean) - Method in interface net.skinsrestorer.api.event.SkinApplyEvent
 
setCAPE(MojangProfileTexture) - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
setCustomSkinData(String, SkinProperty) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Saves a custom skin to the database.
setMetadata(MojangProfileTextureMeta) - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
setModel(String) - Method in class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
setPlayerSkinData(UUID, String, SkinProperty, long) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Saves a player skin to the database.
setProfileId(String) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
setProfileName(String) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
setProperty(SkinProperty) - Method in interface net.skinsrestorer.api.event.SkinApplyEvent
 
setSignatureRequired(boolean) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
setSKIN(MojangProfileTexture) - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
setSkinIdOfPlayer(UUID, SkinIdentifier) - Method in interface net.skinsrestorer.api.storage.PlayerStorage
Links a player to a skin identifier.
setTextures(MojangProfileTextures) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
setTimestamp(long) - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
setUrl(String) - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
setURLSkinByResponse(String, MineSkinResponse) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Saves an url to the database using a MineSkinResponse object.
setURLSkinData(String, String, SkinProperty, SkinVariant) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Saves an url skin to the database.
setURLSkinIndex(String, SkinVariant) - Method in interface net.skinsrestorer.api.storage.SkinStorage
Saves an url index to the database.
SkinApplier<P> - Interface in net.skinsrestorer.api.property
Applies skins to players.
SkinApplyEvent - Interface in net.skinsrestorer.api.event
SkinApplyEvent interface represents an event that is fired when a skin is being applied to a player.
SkinIdentifier - Class in net.skinsrestorer.api.property
A skin identifier represents a reference skin that can be applied to a player.
SkinProperty - Class in net.skinsrestorer.api.property
Easy way of interacting with properties across multiple platforms.
SkinsRestorer - Interface in net.skinsrestorer.api
SkinsRestorer API
Check out our API example plugin
For more info please refer first to the SkinsRestorer API Docs
Advanced help or getting problems? join our discord before submitting issues!!
SkinsRestorerEvent - Interface in net.skinsrestorer.api.event
The SkinsRestorerEvent interface represents an event that can be triggered by the SkinsRestorer plugin.
SkinsRestorerProvider - Class in net.skinsrestorer.api
Provides the SkinsRestorer API instance to other plugins.
SkinsRestorerProvider() - Constructor for class net.skinsrestorer.api.SkinsRestorerProvider
 
SkinStorage - Interface in net.skinsrestorer.api.storage
There are three types of skins: - Player skins - URL skins - Custom skins
URL skins additionally store an "index"; an index is the skin variant that was generated by MineSkin.
SkinType - Enum Class in net.skinsrestorer.api.property
 
SkinVariant - Enum Class in net.skinsrestorer.api.property
 
SLIM - Enum constant in enum class net.skinsrestorer.api.property.SkinVariant
 
subscribe(Object, Class<E>, Consumer<E>) - Method in interface net.skinsrestorer.api.event.EventBus
 

T

TEXTURES_NAME - Static variable in class net.skinsrestorer.api.property.SkinProperty
 
toString() - Method in class net.skinsrestorer.api.model.MojangProfileResponse
 
toString() - Method in class net.skinsrestorer.api.model.MojangProfileTexture
 
toString() - Method in class net.skinsrestorer.api.model.MojangProfileTextureMeta
 
toString() - Method in class net.skinsrestorer.api.model.MojangProfileTextures
 
toString() - Method in class net.skinsrestorer.api.property.SkinIdentifier
 
toString() - Method in class net.skinsrestorer.api.property.SkinProperty
 
toString() - Method in class net.skinsrestorer.api.semver.SemanticVersion
 

U

updatePlayerSkinData(UUID) - Method in interface net.skinsrestorer.api.storage.SkinStorage
This method returns the updated skin property associated to the player skin by UUID.
URL - Enum constant in enum class net.skinsrestorer.api.property.SkinType
Skin linked to an url, can not update
URL_STRIP_PATTERN - Static variable in class net.skinsrestorer.api.model.MojangProfileTexture
 

V

valueOf(String) - Static method in enum class net.skinsrestorer.api.property.SkinType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.skinsrestorer.api.property.SkinVariant
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.skinsrestorer.api.property.SkinType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.skinsrestorer.api.property.SkinVariant
Returns an array containing the constants of this enum class, in the order they are declared.
VersionProvider - Class in net.skinsrestorer.api
This class is a helper class for third-party plugins to check whether their used API version is compatible with the version of SkinsRestorer installed on the server.
VersionProvider() - Constructor for class net.skinsrestorer.api.VersionProvider
 
A C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form