public class TextConfig extends Config<java.lang.String>
Modifier and Type | Method and Description |
---|---|
protected net.kyori.text.Component |
apply(net.kyori.text.TranslatableComponent placeholder) |
protected void |
checkValue(java.lang.String value) |
static TextConfig |
commandPrefix()
Output command prefix -- all commands will be output with this prefix before their name.
|
static net.kyori.text.Component |
commandPrefixValue() |
protected Config<java.lang.String> |
copyForDefault() |
TextConfig |
value(java.lang.String value) |
public static TextConfig commandPrefix()
public static net.kyori.text.Component commandPrefixValue()
protected Config<java.lang.String> copyForDefault()
copyForDefault
in class Config<java.lang.String>
public TextConfig value(@Nullable java.lang.String value)
protected void checkValue(@Nullable java.lang.String value)
checkValue
in class Config<java.lang.String>