Skip to main content
Deno 2 is finally here 🎉️
Learn more
method SeasonalEventService.prototype.updateGlobalEvents
import { SeasonalEventService } from "https://deno.land/x/sptaki@1.2.0/services/mod.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