Creates a new andexdb_ModifiedChatMessageFormatBeforeEvent instance.
The data for the event.
Optionalstrict: boolean = trueWhether to enable strict mode. In strict mode, the event will throw an error if invalid data is provided. Defaults to true.
The type ID of the dimension that the player is in.
OptionalisPlaceholderPlayer?: booleanOptionalplayer?: PlayerThe personal settings for the player.
OptionalchatNameAndMessageSeparator?: stringThe players default name and message separator.
If specified it will be used instead of the global chat name and message separator.
OptionalchatRankPrefix?: stringThe players default chat rank prefix.
If specified it will be used instead of the global chat rank prefix.
OptionaldefaultMessageFormatting?: stringThe default message formatting for the player.
This will be used if no other message formatting is found.
OptionaldefaultNameFormatting?: stringThe default name formatting for the player.
This will be used if no other message formatting is found.
OptionaldefaultSeparatorFormatting?: stringThe default separator formatting for the player.
This will be used if no other message formatting is found.
OptionalhideChatDisplayTimeStamp?: booleanIf set to true, the player's message time stamp will be hidden.
OptionalnameDisplayPrefix?: stringThe players default name display prefix.
If specified it will be used instead of the global chat name display prefix.
OptionalnameDisplaySuffix?: stringThe players default name display suffix.
If specified it will be used instead of the global chat name display suffix.
OptionalrankDisplayPrefix?: stringThe players default rank display prefix.
If specified it will be used instead of the global chat rank display prefix.
OptionalrankDisplaySeparator?: stringThe players default rank display separator.
If specified it will be used instead of the global chat rank display separator.
OptionalrankDisplaySuffix?: stringThe players default rank display suffix.
If specified it will be used instead of the global chat rank display suffix.
Optionalranks?: string[]The ranks that the player has.
Optionaltags?: string[]The tags that the player has.
Optionaltime?: numberThe time that the message was sent.
This is used for the message time stamp.
The options for the formatting, see TagChatMessageFormat.
Whether the name tag is hidden.
The type of the name tag.
hidden - The name tag is hidden.
sudo - The name tag is from the player's sudo tag.
nameTag - The name tag is the player's name tag.
name - The name tag is the player's name.
Optionalvalue?: stringThe player's evaluated name tag string.
ReadonlyoriginalReadonlysenderOptional Readonlytargets
An event that fires before a modified chat message is formatted.
This is fired before the message is formatted, the formatted message is then passed to the andexdb_ModifiedChatMessageFormatFinalizationBeforeEvent event.
This is triggered by the chat ranks system of the add-on, if the chat ranks system is disabled this event will never fire.