Auto Text Hotkey Module
Overview
The auto text hotkey module allows you to control the auto text hotkey mod inside Lunar Client.
- Ability to prevent specific commands & chat messages from being used as hotkeys.
- Ability to prevent all chat messages from being used as hotkeys.
Sample Code
Explore each integration by cycling through each tab, to find the best fit for your requirements and needs.
Set Blocked Text Inputs
public void setBlockedTextInputs(List<String> blockedTextInputs) {
Options options = this.autoTextHotkeyModule.getOptions();
options.set(AutoTextHotkeyModule.BLOCK_TEXT_INPUTS, true);
options.set(AutoTextHotkeyModule.BLOCKED_TEXT_INPUTS, blockedTextInputs);
}
Block Chat Message Text Inputs
public void setBlockChatMesssageTextInputs(boolean value) {
this.autoTextHotkeyModule.getOptions().set(AutoTextHotkeyModule.BLOCK_CHAT_MESSAGE_TEXT_INPUTS, value);
}
Available options
-
BLOCK_TEXT_INPUTS
- Whether to use blocked text inputs in the
BLOCKED_TEXT_INPUTS
option. - Values
- Type:
Boolean
- Default:
false
- Type:
- Whether to use blocked text inputs in the
-
BLOCKED_TEXT_INPUTS
- A list of text inputs that are blocked and cannot be used by the user.
- Values
- Type:
List<String>
- Default:
["/sellall", "/msg", "/pay"]
- Type:
-
BLOCK_CHAT_MESSAGE_TEXT_INPUTS
- Whether to block all chat messages from being used as hotkeys.
- Values
- Type:
Boolean
- Default:
false
- Type: