Package org.spongepowered.api.profile
Interface GameProfileManager
- All Superinterfaces:
GameProfileProvider
Manages
GameProfile creation and data population.
The manager may cache the data of a request for faster lookups. Note that the cached data may not always be up to date.
-
Method Summary
Modifier and TypeMethodDescriptioncache()Gets theGameProfileCacheof this provider which will be used to cache game profiles.uncached()Gets aGameProfileProviderwhich bypasses theGameProfileCache.Methods inherited from interface org.spongepowered.api.profile.GameProfileProvider
basicProfile, basicProfile, basicProfile, basicProfiles, basicProfiles, profile, profile, profile, profile, profile, profile
-
Method Details
-
cache
GameProfileCache cache()Gets theGameProfileCacheof this provider which will be used to cache game profiles.In vanilla, properties do not persist between restarts and profiles will expire after a month.
- Returns:
- The cache
-
uncached
GameProfileProvider uncached()Gets aGameProfileProviderwhich bypasses theGameProfileCache.- Returns:
- The uncached game profile provider
-