Creates a new andexdb_ModifiedChatMessageSendBeforeEvent 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.
ReadonlyformatReadonlyallowEval: booleanReadonlydimension: The type ID of the dimension that the player was in.
Optional ReadonlyisPlaceholderPlayer?: booleanOptional Readonlyplayer?: PlayerReadonlyplayerPersonalSettings: {The personal settings for the player that were used.
Optional ReadonlychatNameAndMessageSeparator?: stringThe players default name and message separator that was used.
If it was specified it was used instead of the global chat name and message separator.
Optional ReadonlychatRankPrefix?: stringThe players default chat rank prefix that was used.
If it was specified it was used instead of the global chat rank prefix.
Optional ReadonlydefaultMessageFormatting?: stringThe default message formatting for the player that was used.
This was be used if no other message formatting was found.
Optional ReadonlydefaultNameFormatting?: stringThe default name formatting for the player that was used.
This was be used if no other message formatting was found.
Optional ReadonlydefaultSeparatorFormatting?: stringThe default separator formatting for the player that was used.
This was be used if no other message formatting was found.
Optional ReadonlyhideChatDisplayTimeStamp?: booleanIf it was set to true, the player's message time stamp was hidden.
Optional ReadonlynameDisplayPrefix?: stringThe players default name display prefix that was used.
If it was specified it was used instead of the global chat name display prefix.
Optional ReadonlynameDisplaySuffix?: stringThe players default name display suffix that was used.
If it was specified it was used instead of the global chat name display suffix.
Optional ReadonlyrankDisplayPrefix?: stringThe players default rank display prefix that was used.
If it was specified it was used instead of the global chat rank display prefix.
Optional ReadonlyrankDisplaySeparator?: stringThe players default rank display separator that was used.
If it was specified it was used instead of the global chat rank display separator.
Optional ReadonlyrankDisplaySuffix?: stringThe players default rank display suffix that was used.
If it was specified it was used instead of the global chat rank display suffix.
Optional Readonlyranks?: string[]The ranks that the player had.
Optional Readonlytags?: string[]The tags that the player had.
Optional Readonlytime?: numberThe time that the message was sent.
This was used for the message time stamp.
The options that were used to format the message, see TagChatMessageFormat.
ReadonlynameReadonlyhidden: booleanWhether the name tag was hidden.
ReadonlysourceType: "name" | "hidden" | "sudo" | "nameTag"The type of the name tag that was used.
hidden - The name tag was hidden.
sudo - The name tag was from the player's sudo tag.
nameTag - The name tag was the player's name tag.
name - The name tag was the player's name.
Optional Readonlyvalue?: stringThe player's evaluated name tag string that was used.
ReadonlyoriginalReadonlysenderOptional ReadonlytargetsReadonlytoken
An event that fires before a modified chat message is sent.
This is triggered by the chat ranks system of the add-on, if the chat ranks system is disabled this event will never fire.