Creates a new andexdb_ModifiedChatMessageFormatBeforeEvent instance.
The data for the event.
Optional
strict: 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.
Optional
isPlaceholderPlayer?: booleanOptional
player?: PlayerThe personal settings for the player.
Optional
chatNameAndMessageSeparator?: stringThe players default name and message separator.
If specified it will be used instead of the global chat name and message separator.
Optional
chatRankPrefix?: stringThe players default chat rank prefix.
If specified it will be used instead of the global chat rank prefix.
Optional
defaultMessageFormatting?: stringThe default message formatting for the player.
This will be used if no other message formatting is found.
Optional
defaultNameFormatting?: stringThe default name formatting for the player.
This will be used if no other message formatting is found.
Optional
defaultSeparatorFormatting?: stringThe default separator formatting for the player.
This will be used if no other message formatting is found.
Optional
hideChatDisplayTimeStamp?: booleanIf set to true, the player's message time stamp will be hidden.
Optional
nameDisplayPrefix?: stringThe players default name display prefix.
If specified it will be used instead of the global chat name display prefix.
Optional
nameDisplaySuffix?: stringThe players default name display suffix.
If specified it will be used instead of the global chat name display suffix.
Optional
rankDisplayPrefix?: stringThe players default rank display prefix.
If specified it will be used instead of the global chat rank display prefix.
Optional
rankDisplaySeparator?: stringThe players default rank display separator.
If specified it will be used instead of the global chat rank display separator.
Optional
rankDisplaySuffix?: stringThe players default rank display suffix.
If specified it will be used instead of the global chat rank display suffix.
Optional
ranks?: string[]The ranks that the player has.
Optional
tags?: string[]The tags that the player has.
Optional
time?: 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.
Optional
value?: stringThe player's evaluated name tag string.
Readonly
originalReadonly
senderOptional
Readonly
targets
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.