Creates a new andexdb_ModifiedChatMessageSendBeforeEvent 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.
Readonly
formatReadonly
allowEval: booleanReadonly
dimension: The type ID of the dimension that the player was in.
Optional
Readonly
isPlaceholderPlayer?: booleanOptional
Readonly
player?: PlayerReadonly
playerPersonalSettings: {The personal settings for the player that were used.
Optional
Readonly
chatNameAndMessageSeparator?: 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
Readonly
chatRankPrefix?: stringThe players default chat rank prefix that was used.
If it was specified it was used instead of the global chat rank prefix.
Optional
Readonly
defaultMessageFormatting?: stringThe default message formatting for the player that was used.
This was be used if no other message formatting was found.
Optional
Readonly
defaultNameFormatting?: stringThe default name formatting for the player that was used.
This was be used if no other message formatting was found.
Optional
Readonly
defaultSeparatorFormatting?: stringThe default separator formatting for the player that was used.
This was be used if no other message formatting was found.
Optional
Readonly
hideChatDisplayTimeStamp?: booleanIf it was set to true, the player's message time stamp was hidden.
Optional
Readonly
nameDisplayPrefix?: 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
Readonly
nameDisplaySuffix?: 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
Readonly
rankDisplayPrefix?: 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
Readonly
rankDisplaySeparator?: 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
Readonly
rankDisplaySuffix?: 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
Readonly
ranks?: string[]The ranks that the player had.
Optional
Readonly
tags?: string[]The tags that the player had.
Optional
Readonly
time?: 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.
Readonly
nameReadonly
hidden: booleanWhether the name tag was hidden.
Readonly
sourceType: "nameTag" | "name" | "hidden" | "sudo"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
Readonly
value?: stringThe player's evaluated name tag string that was used.
Readonly
originalReadonly
senderOptional
Readonly
targetsReadonly
token
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.