SpaceNinjaServer/src/controllers/custom/tunablesController.ts

24 lines
725 B
TypeScript
Raw Normal View History

2024-10-12 00:26:19 +02:00
import { RequestHandler } from "express";
2025-02-04 22:57:12 +01:00
// This endpoint is specific to the OpenWF Bootstrapper: https://openwf.io/bootstrapper-manual
2024-10-12 00:26:19 +02:00
interface ITunables {
2025-02-04 22:57:12 +01:00
prohibit_skip_mission_start_timer?: boolean;
prohibit_fov_override?: boolean;
prohibit_freecam?: boolean;
prohibit_teleport?: boolean;
prohibit_scripts?: boolean;
2024-10-12 00:26:19 +02:00
}
const tunablesController: RequestHandler = (_req, res) => {
2025-02-04 22:57:12 +01:00
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
};
export { tunablesController };