Class StaticCaption
java.lang.Object
com.plotsquared.core.configuration.caption.StaticCaption
- All Implemented Interfaces:
Caption
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
getComponent(@NonNull LocaleHolder localeHolder)
Get the message that should be sent to the recipientstatic @NonNull StaticCaption
Create a new static caption from the given text
-
Method Details
-
of
Create a new static caption from the given text- Parameters:
text
- Text- Returns:
- Created caption
-
getComponent
Description copied from interface:Caption
Get the message that should be sent to the recipient- Specified by:
getComponent
in interfaceCaption
- Parameters:
localeHolder
- Locale holder- Returns:
- Message
-