Skip to main content
The Deno 2 Release Candidate is here
Learn more
method MailSendService.prototype.sendSystemMessageToPlayer
Re-export
import { MailSendService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Send a message from SYSTEM to the player with or without items

Parameters

sessionId: string

The session ID to send the message to

message: string

The text to send to player

optional
items: Item[]

Optional items to send to player

optional
maxStorageTimeSeconds: number

Optional time to collect items before they expire

optional
profileChangeEvents: IProfileChangeEvent[]