public interface IBaritoneChatControl
|Modifier and Type||Field and Description|
In certain cases chat components need to execute commands for you.
static final java.lang.String FORCE_COMMAND_PREFIX
If the prefix is changed in the meantime, then the command will go to chat. That's no good. So here's a permanent prefix that forces a command to run, regardless of the current prefix, chat/prefix control being enabled, etc.
If used right (by both developers and users), it should be impossible to expose a command accidentally to the
server. As a rule of thumb, if you have a clickable chat component, always use this prefix. If you're suggesting
a command (a component that puts text into your text box, or something else), use