Module: chat.history
Overview
Module
This module does:
-
Stores chat messages as history.
-
Delivers them to players when they join the server.
Color Boxes
Tip
◉ This module works with Styled Chat
mod.
You can use this module to provide the chat history
for it.
Configurations
The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.
Config
- File Name:
config.json
- File Content:
Click to see the default
content...
config/fuji/modules/chat/history/config.json
{
/* Max stored `chat message` in history. */
"buffer_size": 50
/* Only accept and save messages with these `message types`. */,
"message_type_acceptors": [
"minecraft:chat",
"minecraft:say_command",
"minecraft:emote_command",
"fuji:chat_server",
"fuji:chat_client",
"styled_chat:generic_hack"
]
/* Should reject and never save messages that meet the `rejector`. */,
"message_rejectors": {
"content_rejector": {
"matches": []
},
"parameter_rejector": {
"matches": [
".*literal\\{PM\\}.*"
]
}
}
}