Package cloud.commandframework.captions
Class CaptionVariable
java.lang.Object
cloud.commandframework.captions.CaptionVariable
Key-value pair used to replace variables in captions
-
Method Summary
-
Method Details
-
of
Create a new caption variable instance- Parameters:
key
- Keyvalue
- Replacement- Returns:
- Created instance
-
getKey
Get the variable key- Returns:
- Key
-
getValue
Get the variable value- Returns:
- Value
-