SpaceNinjaServer/src/controllers/custom/tunablesController.ts

15 lines
564 B
TypeScript
Raw Normal View History

import type { RequestHandler } from "express";
import type { ITunables } from "../../types/bootstrapperTypes.ts";
2024-10-12 00:26:19 +02:00
// This endpoint is specific to the OpenWF Bootstrapper: https://openwf.io/bootstrapper-manual
export const tunablesController: RequestHandler = (_req, res) => {
const tunables: ITunables = {};
//tunables.prohibit_skip_mission_start_timer = true;
//tunables.prohibit_fov_override = true;
//tunables.prohibit_freecam = true;
//tunables.prohibit_teleport = true;
//tunables.prohibit_scripts = true;
res.json(tunables);
2024-10-12 00:26:19 +02:00
};