Uses of Interface
tk.airshipcraft.commonlib.configuration.IPlayerPreference
Packages that use IPlayerPreference
Package
Description
Provides the classes necessary for managing player preferences within a Bukkit plugin.
-
Uses of IPlayerPreference in tk.airshipcraft.commonlib.configuration.impl
Classes in tk.airshipcraft.commonlib.configuration.impl that implement IPlayerPreferenceModifier and TypeClassDescriptionclassProvides a skeletal implementation of the IPlayerPreference interface to facilitate the creation of player preference classes.Methods in tk.airshipcraft.commonlib.configuration.impl that return IPlayerPreferenceModifier and TypeMethodDescriptionPreferencesManager.getPreference(org.bukkit.entity.Player player) Retrieves the preference object associated with a specific player.Methods in tk.airshipcraft.commonlib.configuration.impl that return types with arguments of type IPlayerPreferenceModifier and TypeMethodDescriptionPreferencesManager.getAllPreferences()Retrieves a set of all registered player preferences.Methods in tk.airshipcraft.commonlib.configuration.impl with parameters of type IPlayerPreferenceModifier and TypeMethodDescriptionstatic voidPreferenceProcessor.load(org.bukkit.entity.Player player, IPlayerPreference preference, org.bukkit.configuration.file.FileConfiguration config) Loads player preferences from a configuration file into anIPlayerPreferenceinstance.static voidPreferenceProcessor.loadFromDatabase(org.bukkit.entity.Player player, IPlayerPreference preference, Connection connection) Loads player preferences from a MySQL database into anIPlayerPreferenceinstance.voidPreferencesManager.registerPreference(UUID playerUuid, IPlayerPreference preference) Registers or updates the preference object for a specific player.static voidPreferenceProcessor.save(org.bukkit.entity.Player player, IPlayerPreference preference, org.bukkit.configuration.file.FileConfiguration config) Saves player preferences from anIPlayerPreferenceinstance to a configuration file.static voidPreferenceProcessor.saveToDatabase(org.bukkit.entity.Player player, IPlayerPreference preference, Connection connection) Saves player preferences from anIPlayerPreferenceinstance to a MySQL database.