Interface FadingModule
- All Superinterfaces:
ModuleLocalization, ModuleSimple
Fades a message between two colors.
-
Method Summary
Modifier and TypeMethodDescriptionaddTag(StringMessageContext messageContext) Registers the tag that fades text between two colors.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
-
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
-
config
Message.Format.Fading 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.Fading permission()Description copied from interface:ModuleSimpleThe permission that gates this module.- Specified by:
permissionin interfaceModuleSimple- Returns:
- the permission
-
addTag
Registers the tag that fades text between two colors.- Parameters:
messageContext- the message being formatted- Returns:
- the context with the tag added
-