Interface AdditionsPlayerManager
- All Superinterfaces:
YAMLConfig
,YAMLSection
AdditionsPlus player manager.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isScoreboardEnabled
(UUID uuid) Check if a player has their scoreboard enabled.void
setScoreboardEnabled
(UUID uuid, boolean enabled) Set whether a player has their scoreboard enabled.Methods inherited from interface net.gcnt.additionsplus.api.files.YAMLConfig
getId, getName, loadData
Methods 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
-UUID
of player to update.enabled
- Whether the scoreboard is enabled.
-
isScoreboardEnabled
Check if a player has their scoreboard enabled.- Parameters:
uuid
-UUID
of player to check.- Returns:
- True if enabled, false otherwise.
-