Interface FColorModule
- All Superinterfaces:
ModuleSimple
Applies the personal colors a player chose with /chatcolor.
-
Method Summary
Modifier and TypeMethodDescriptionconfig()The config section this module reads its settings from.format(MessageContext messageContext) Applies the sender's personal colors to the message.The formatting permissions this module checks before applying a color.The permission that gates this module.Methods inherited from interface ModuleSimple
children, isDisable, name, onDisable, onEnable, permissions
-
Method Details
-
config
Message.Format.FColor 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.FColor permission()Description copied from interface:ModuleSimpleThe permission that gates this module.- Specified by:
permissionin interfaceModuleSimple- Returns:
- the permission
-
formatPermission
Permission.Message.Format formatPermission()The formatting permissions this module checks before applying a color.- Returns:
- the permissions
-
format
Applies the sender's personal colors to the message.- Parameters:
messageContext- the message being formatted- Returns:
- the formatted context
-