Interface ScoreboardModule
- All Superinterfaces:
ModuleLocalization, ModuleSimple
Draws the scoreboard shown at the side of the screen.
-
Method Summary
Modifier and TypeMethodDescriptionconfig()The config section this module reads its settings from.voidcreateOrUpdate(@NonNull FPlayer fPlayer) Shows the scoreboard to a player, or refreshes the one they already have.localization(FPlayer fPlayer) The localization section for a player, picked from their chosen language.The permission that gates this module.voidTakes the scoreboard away from a player.Methods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, permissions, sound, soundOrThrow
-
Method Details
-
config
Message.Scoreboard config()Description copied from interface:ModuleSimpleThe config section this module reads its settings from.- Specified by:
configin interfaceModuleSimple- Returns:
- the settings
-
permission
Permission.Message.Scoreboard permission()Description copied from interface:ModuleSimpleThe permission that gates this module.- Specified by:
permissionin interfaceModuleSimple- Returns:
- the permission
-
localization
Description copied from interface:ModuleLocalizationThe localization section for a player, picked from their chosen language.- Specified by:
localizationin interfaceModuleLocalization- Parameters:
fPlayer- the player the text is for- Returns:
- the localization settings
-
createOrUpdate
Shows the scoreboard to a player, or refreshes the one they already have.- Parameters:
fPlayer- the player
-
remove
Takes the scoreboard away from a player.- Parameters:
fPlayer- the player
-