Class FormattedMessage

java.lang.Object
ch.njol.skript.localization.Message
ch.njol.skript.localization.FormattedMessage

public final class FormattedMessage extends Message
  • Constructor Details

    • FormattedMessage

      public FormattedMessage(String key, Object... args)
      Parameters:
      key -
      args - An array of Objects to replace into the format message, e.g. AtomicReferences.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Message
      Returns:
      The value of this message in the current language