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

Make adjusted to server code based on the name of the event passed in

Parameters

sessionId: string

Player id

globalConfig: IConfig

globals.json

Name of the event to enable. e.g. Christmas