Class BaseMessageService

java.lang.Object
com.zetaplugins.zetacore.services.messages.BaseMessageService
Direct Known Subclasses:
AdventureMessenger, LegacyMessenger

public abstract class BaseMessageService extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getLocalizationService

      protected LocalizationService getLocalizationService()
    • getAccentColor

      public String getAccentColor()
    • replacePlaceholders

      @NotNull public @NotNull String replacePlaceholders(String msg, Replaceable<?>... replaceables)
    • replacePlaceholdersWithAccentColors

      @NotNull public @NotNull String replacePlaceholdersWithAccentColors(String msg, Replaceable<?>... replaceables)
    • replaceInBuilder

      protected void replaceInBuilder(StringBuilder builder, String placeholder, String replacement)
    • getRawMessageList

      public List<String> getRawMessageList(String path)
    • getRawMessage

      public String getRawMessage(String path, String fallback, boolean addPrefix)