Chat
constChat:object
Defined in: server/api.d.ts:1554
Configures how server-side chat messages are relayed between connected players.
Type Declaration
Section titled “Type Declaration”isDefaultRelay()
Section titled “isDefaultRelay()”isDefaultRelay():
boolean
Checks whether the built-in chat relay is enabled.
Returns
Section titled “Returns”boolean
True when chat is relayed automatically.
setDefaultRelay()
Section titled “setDefaultRelay()”setDefaultRelay(
enabled):void
Enables or disables the built-in player-to-player chat relay.
Parameters
Section titled “Parameters”enabled
Section titled “enabled”boolean
True to relay chat automatically; false for script-managed chat.
Returns
Section titled “Returns”void
