Auto Text Hot Key
Allows you to set a key or key combination that will send a command or chat message when pressed.
Integration
How to toggle the mod
public void toggleAutoTextHotKeyExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModAutoTextHotkey.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
NOTIFY_ON_BLOCKED_INPUT- Displays a notification when an input is blocked by the server
- Config Key:
notify-on-blocked-input - Values
- Type:
Boolean - Default:
true
- Type: