Interface FixationModule
- All Superinterfaces:
ModuleSimple
Cleans up messages before they are shown, trimming repeats and stray characters.
-
Method Summary
Modifier and TypeMethodDescriptionconfig()The config section this module reads its settings from.format(MessageContext messageContext) Cleans up the message text.The permission that gates this module.Methods inherited from interface ModuleSimple
children, isDisable, name, onDisable, onEnable, permissions
-
Method Details
-
config
Message.Format.Fixation 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.Fixation permission()Description copied from interface:ModuleSimpleThe permission that gates this module.- Specified by:
permissionin interfaceModuleSimple- Returns:
- the permission
-
format
Cleans up the message text.- Parameters:
messageContext- the message being formatted- Returns:
- the formatted context
-