Class GlobalTextProcessor

java.lang.Object
ovh.mythmc.social.api.text.GlobalTextProcessor

public final class GlobalTextProcessor extends Object
The global entry-point for parsing and sending messages through the social plugin.

Parsers are divided into three ordered groups:

  1. EARLY_PARSERS run before the main parser list
  2. The main parser list registered via registerContextualParser(ovh.mythmc.social.api.text.parser.SocialContextualParser...)
  3. LATE_PARSERS run after the main parser list

Access the singleton via Social.getTextProcessor().