Re LPChatPrefix - Configuration
All of the configuration files for Re LPChatPrefix are located in the <game_directory>/config/ directory.
Configuration files:
relpchatprefix-server.toml- Server side configuration options for Re LPChatPrefix.
Server Configuration Options
Section titled “Server Configuration Options”#Re-LPChatPrefix Configuration[main] textParser = "ADVENTURE" enablePrefix = true enableSuffix = true messageFormat = "{prefix}{player}{suffix} <gray><bold>»<reset>" messageColor = "WHITE"
#Chat Overrides Configuration [main.chatOverrides] joinMessage = "<yellow>{prefix}{player}{suffix} joined the game<reset>" leaveMessage = "<yellow>{prefix}{player}{suffix} left the game<reset>"
#First Join Configuration [main.firstJoin] enable = false message = "<yellow>Welcome {player} to the server!<reset>"textParser
Section titled “textParser”The text parser to use for formatting messages.
- Default:
ADVENTURE
Allowed Values:
VANILLA- Use the vanilla Minecraft text parser.EMBERS- Use the Embers Text API text parser. (Requires Embers Text API to be installed)ADVENTURE- Use the Adventure MiniMessage text parser.
enablePrefix
Section titled “enablePrefix”Whether to enable the use of prefixes in chat messages.
- Type: Boolean
- Default:
true
enableSuffix
Section titled “enableSuffix”Whether to enable the use of suffixes in chat messages.
- Type: Boolean
- Default:
true
messageFormat
Section titled “messageFormat”The format of chat messages. Use {prefix}, {player}, and {suffix} as placeholders.
- Type: String
- Default:
"{prefix}{player}{suffix} <gray><bold>»<reset>"
messageColor
Section titled “messageColor”The color of the chat message text.
- Default:
WHITE
Allowed Values:
BLACKDARK_BLUEDARK_GREENDARK_AQUADARK_REDDARK_PURPLEGOLDGRAYDARK_GRAYBLUEGREENAQUAREDLIGHT_PURPLEYELLOWWHITE
chatOverrides
Section titled “chatOverrides”Chat overrides configuration for join and leave messages.
joinMessage
Section titled “joinMessage”The message format for player join messages. Use {prefix}, {player}, and {suffix} as placeholders.
- Type: String
- Default:
"<yellow>{prefix}{player}{suffix} joined the game<reset>"
leaveMessage
Section titled “leaveMessage”The message format for player leave messages. Use {prefix}, {player}, and {suffix} as placeholders.
- Type: String
- Default:
"<yellow>{prefix}{player}{suffix} left the game<reset>"
firstJoin
Section titled “firstJoin”First join configuration for welcome messages.
enable
Section titled “enable”Whether to enable the first join welcome message.
- Type: Boolean
- Default:
false
message
Section titled “message”The welcome message format for players joining for the first time. Use {player} as a placeholder.
- Type: String
- Default:
"<yellow>Welcome {player} to the server!<reset>"