Interface ICUModule

All Superinterfaces:
ModuleSimple

public interface ICUModule extends ModuleSimple
Applies ICU message formatting, so plural and gender forms come out right in every language.
  • Method Details

    • config

      Integration.Icu config()
      Description copied from interface: ModuleSimple
      The config section this module reads its settings from.
      Specified by:
      config in interface ModuleSimple
      Returns:
      the settings
    • permission

      Description copied from interface: ModuleSimple
      The permission that gates this module.
      Specified by:
      permission in interface ModuleSimple
      Returns:
      the permission
    • process

      String process(FEntity sender, FPlayer receiver, String text)
      Applies ICU formatting so plural and gender forms come out right for the reader.
      Parameters:
      sender - who wrote it
      receiver - who reads it
      text - the text
      Returns:
      the formatted text