Chat
Customize your chat options to your liking.
Integration
How to toggle the mod
public void toggleChatExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModChat.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
UNLIMITED_CHAT
- Choose whether or not you want to increase the message history in chat
- Config Key:
unlimited-chat
- Values
- Type:
Boolean
- Default:
true
- Type:
-
STACK_MESSAGES
- Choose whether or not you want to stack multiple of the same messages in chat
- Config Key:
stack-messages
- Values
- Type:
Boolean
- Default:
false
- Type:
-
CHAT_HEIGHT
- Moves the chat up 12 pixels so it doesn't block health bar
- Config Key:
chat-height
- Values
- Type:
Boolean
- Default:
false
- Type:
-
CHAT_SHADOW
- Show text shadow on chat lines
- Config Key:
chat-shadow
- Values
- Type:
Boolean
- Default:
true
- Type:
-
DISABLE_CHAT
- Config Key:
disable-chat
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
NO_CLOSE_MY_CHAT
- Config Key:
no-close-my-chat
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
CHAT_PING_SOUND
- Config Key:
chat-ping-sound
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
CHAT_PING_EXACT_MATCH
- Requires the ping message to exactly contain your name. For example, if your name is Notch, this will ping on Notch but not Notch123.
- Config Key:
chat-ping-exact-match
- Values
- Type:
Boolean
- Default:
false
- Type:
-
COPY_CHAT
- Copies the hovered chat message when holding the keybind and clicking.
- Config Key:
copy-chat
- Values
- Type:
Boolean
- Default:
false
- Type:
-
HOVER_IMAGE_PREVIEW
- Displays a preview of an image when hovering over it.
- Config Key:
hover-image-preview
- Values
- Type:
Boolean
- Default:
false
- Type:
-
MIN_IMAGE_SIZE
- The minimum size for an image to be displayed, as a percentage of your screen.
- Config Key:
min-image-size
- Values
- Type:
Double
- Default:
0.0D
- Minimum:
0.0D
- Maximum:
100.0D
- Type:
-
MAX_IMAGE_SIZE
- The maximum size for an image to be displayed, as a percentage of your screen.
- Config Key:
max-image-size
- Values
- Type:
Double
- Default:
100.0D
- Minimum:
0.0D
- Maximum:
100.0D
- Type:
-
SMOOTH_CHAT
- Config Key:
smooth-chat
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
SMOOTH_CHAT_SPEED
- Config Key:
smooth-chat-speed
- Values
- Type:
Integer
- Default:
3
- Minimum:
1
- Maximum:
10
- Type:
- Config Key:
-
CHAT_BACKGROUND_OPACITY
- Config Key:
chat-background-opacity
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.0F
- Maximum:
1.0F
- Type:
- Config Key:
-
INPUT_FIELD_OPACITY
- Config Key:
input-field-opacity
- Values
- Type:
Float
- Default:
5.0F
- Minimum:
0.0F
- Maximum:
10.0F
- Type:
- Config Key:
-
STOP_PROFANE_MESSAGES
- §aENABLED: §fCompletely hides filtered messages §4DISABLED: §fReplaces filtered words with asterisks
- Config Key:
stop-profane-messages
- Values
- Type:
Boolean
- Default:
false
- Type:
-
CHAT_TIMESTAMPS
- Config Key:
chat-timestamps
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
TIMESTAMP_ITALICS
- Makes the timestamp italics
- Config Key:
timestamp-italics
- Values
- Type:
Boolean
- Default:
true
- Type:
-
TIMESTAMP_BOLD
- Makes the timestamp bold
- Config Key:
timestamp-bold
- Values
- Type:
Boolean
- Default:
false
- Type:
-
TWELVE_HOUR_CLOCK
- Use a 12-hour clock, or a 24-hour clock if disabled
- Config Key:
twelve-hour-clock
- Values
- Type:
Boolean
- Default:
true
- Type:
-
SHOW_AM_PM
- Config Key:
show-am-pm
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SHOW_SECONDS
- Config Key:
show-seconds
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SHOW_BRACKETS
- Adds square brackets around the timestamp
- Config Key:
show-brackets
- Values
- Type:
Boolean
- Default:
true
- Type: