Key Strokes
Displays when your movement, mouse or space bar is pressed.
Integration
How to toggle the mod
public void toggleKeyStrokesExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModKeystrokes.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SCALE
- Config Key:
scale
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.5F
- Maximum:
1.5F
- Type:
- Config Key:
-
KEY_STROKES_CLICKS
- Config Key:
key-strokes-clicks
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
LEFT_CPS
- Config Key:
left-c-p-s
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
RIGHT_CPS
- Config Key:
right-c-p-s
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
KEY_STROKES_MOVEMENT
- Config Key:
key-strokes-movement
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
KEY_STROKES_SPACEBAR
- Config Key:
key-strokes-spacebar
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
USE_ARROWS
- Config Key:
use-arrows
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
TEXT_SHADOW
- Config Key:
text-shadow
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
BORDER
- Config Key:
border
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
INNER_BORDER
- Config Key:
inner-border
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
BORDER_THICKNESS
- Config Key:
border-thickness
- Values
- Type:
Float
- Default:
0.5F
- Minimum:
0.5F
- Maximum:
3.0F
- Type:
- Config Key:
-
BOX_SIZE
- Config Key:
box-size
- Values
- Type:
Float
- Default:
18.0F
- Minimum:
10.0F
- Maximum:
32.0F
- Type:
- Config Key:
-
BORDER_COLOR
- Config Key:
border-color
- Values
- Type:
String
- Default:
#FFFFFFFF
- Type:
- Config Key:
-
TEXT_COLOR
- Config Key:
text-color
- Values
- Type:
String
- Default:
#FFFFFFFF
- Type:
- Config Key:
-
TEXT_PRESSED_COLOR
- Config Key:
text-pressed-color
- Values
- Type:
String
- Default:
#FF000000
- Type:
- Config Key:
-
BACKGROUND_COLOR
- Config Key:
background-color
- Values
- Type:
String
- Default:
#6F000000
- Type:
- Config Key:
-
BACKGROUND_PRESSED_COLOR
- Config Key:
background-pressed-color
- Values
- Type:
String
- Default:
#6FFFFFFF
- Type:
- Config Key:
-
KEY_FADE_DELAY
- Config Key:
key-fade-delay
- Values
- Type:
Long
- Default:
75L
- Minimum:
0L
- Maximum:
500L
- Type:
- Config Key: