Interface PaddingModule
- All Superinterfaces:
ModuleLocalization, ModuleSimple
Pads a message with a filler so it lines up left, right or centred.
-
Method Summary
Modifier and TypeMethodDescriptionaddTag(MessageContext messageContext) Registers the tag that pads a message to a fixed width.config()The config section this module reads its settings from.localization(FPlayer fPlayer) The localization section for a player, picked from their chosen language.The permission that gates this module.Methods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, permissions, sound, soundOrThrow
-
Method Details
-
config
Message.Format.Padding config()Description copied from interface:ModuleSimpleThe config section this module reads its settings from.- Specified by:
configin interfaceModuleSimple- Returns:
- the settings
-
permission
Permission.Message.Format.Padding 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
-
addTag
Registers the tag that pads a message to a fixed width.- Parameters:
messageContext- the message being formatted- Returns:
- the context with the tag added
-