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

Large function to send messages to players from a variety of sources (SYSTEM/NPC/USER) Helper functions in this class are available to simplify common actions

Parameters

messageDetails: ISendMessageDetails

Details needed to send a message to the player