Class StaticCaption
java.lang.Object
com.plotsquared.core.configuration.caption.StaticCaption
- All Implemented Interfaces:
Caption
-
Method Summary
Modifier and TypeMethodDescription@NonNull StringgetComponent(@NonNull LocaleHolder localeHolder)Get the message that should be sent to the recipientstatic @NonNull StaticCaptionCreate 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:CaptionGet the message that should be sent to the recipient- Specified by:
getComponentin interfaceCaption- Parameters:
localeHolder- Locale holder- Returns:
- Message
-