Interface AdditionsPlayerManager
- All Superinterfaces:
YAMLConfig,YAMLSection
AdditionsPlus player manager.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisScoreboardEnabled(UUID uuid) Check if a player has their scoreboard enabled.voidsetScoreboardEnabled(UUID uuid, boolean enabled) Set whether a player has their scoreboard enabled.Methods inherited from interface net.gcnt.additionsplus.api.files.YAMLConfig
getId, getName, loadDataMethods inherited from interface net.gcnt.additionsplus.api.files.YAMLSection
contains, get, get, getBoolean, getBoolean, getDouble, getDouble, getEnchantments, getInt, getInt, getItem, getItemFlags, getItemOptions, getKeys, getLong, getLong, getMessage, getMessage, getMessage, getSection, getString, getString, getStringList, getStringMap, isSet, save, set
-
Method Details
-
setScoreboardEnabled
Set whether a player has their scoreboard enabled.- Parameters:
uuid-UUIDof player to update.enabled- Whether the scoreboard is enabled.
-
isScoreboardEnabled
Check if a player has their scoreboard enabled.- Parameters:
uuid-UUIDof player to check.- Returns:
- True if enabled, false otherwise.
-