import { LauncherController } from "https://deno.land/x/sptaki@1.2.0/controllers/mod.ts";
Constructors
new
LauncherController(logger: ILogger,
hashUtil: HashUtil,
timeUtil: TimeUtil,
randomUtil: RandomUtil,
saveServer: SaveServer,
httpServerHelper: HttpServerHelper,
profileHelper: ProfileHelper,
databaseServer: DatabaseServer,
localisationService: LocalisationService,
preAkiModLoader: PreAkiModLoader,
configServer: ConfigServer,
Properties
protected
configServer: ConfigServerprotected
coreConfig: ICoreConfigprotected
databaseServer: DatabaseServerprotected
hashUtil: HashUtilprotected
httpServerHelper: HttpServerHelperprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
preAkiModLoader: PreAkiModLoaderprotected
profileHelper: ProfileHelperprotected
randomUtil: RandomUtilprotected
saveServer: SaveServerprotected
timeUtil: TimeUtilMethods
protected
createAccount(info: IRegisterData): stringprotected
formatID(timeStamp: number, counter: number): stringprotected
generateProfileId(): stringprotected
getProfileDescriptions(): Record<string, string>Get descriptive text for each of the profile edtions a player can choose, keyed by profile.json profile type e.g. "Edge Of Darkness"
changePassword(info: IChangeRequestData): string
changeUsername(info: IChangeRequestData): string
getCompatibleTarkovVersion(): string
getLoadedServerMods(): Record<string, IPackageJsonData>
Get the mods the server has currently loaded
getServerModsProfileUsed(sessionId: string): ModDetails[]
Get the mods a profile has ever loaded into game with
login(info: ILoginRequestData): string
register(info: IRegisterData): string
wipe(info: IRegisterData): string
Handle launcher requesting profile be wiped