Skip to main content
Deno 2 is finally here 🎉️
Learn more
method MailSendService.prototype.sendLocalisedSystemMessageToPlayer
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 with localised text

Parameters

sessionId: string

The session ID to send the message to

messageLocaleId: string

Id of key from locale file to send to player

optional
items: Item[]

Optional items to send to player

optional
profileChangeEvents: IProfileChangeEvent[]

Optional time to collect items before they expire

optional
maxStorageTimeSeconds: number