Class BaseMessageService
java.lang.Object
com.zetaplugins.zetacore.services.messages.BaseMessageService
- Direct Known Subclasses:
AdventureMessenger,LegacyMessenger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LocalizationServicegetRawMessage(String path, String fallback, boolean addPrefix) getRawMessageList(String path) protected voidreplaceInBuilder(StringBuilder builder, String placeholder, String replacement) @NotNull StringreplacePlaceholders(String msg, Replaceable<?>... replaceables) @NotNull StringreplacePlaceholdersWithAccentColors(String msg, Replaceable<?>... replaceables)
-
Field Details
-
localizationService
-
colorMap
-
-
Constructor Details
-
BaseMessageService
-
-
Method Details
-
getLocalizationService
-
getAccentColor
-
replacePlaceholders
-
replacePlaceholdersWithAccentColors
@NotNull public @NotNull String replacePlaceholdersWithAccentColors(String msg, Replaceable<?>... replaceables) -
replaceInBuilder
-
getRawMessageList
-
getRawMessage
-