Added factorio.enable_script_commands

This commit is contained in:
Cooldude2606 authored and Daniel committed 2024-11-21 08:46:22 -08:00
1 parent feb09a6fe0
commit 762212747e
7 files changed
+46

No files matched your search

+10
View File
@@ -319,6 +319,7 @@ export interface InstanceConfigFields {
"factorio.player_online_autosave_slots": number;
"factorio.mod_pack_id": number | null;
"factorio.enable_save_patching": boolean;
"factorio.enable_script_commands": boolean;
"factorio.enable_whitelist": boolean;
"factorio.enable_authserver_bans": boolean;
"factorio.settings": Record<string, unknown>;
@@ -427,6 +428,15 @@ export class InstanceConfig extends classes.Config<InstanceConfigFields> {
type: "boolean",
initialValue: true,
},
"factorio.enable_script_commands": {
description:
"Allows achievement breaking commands to be executed over rcon. " +
"Required for Clusterio integrations and most plugins. " +
"This does not prevent players using script commands.",
restartRequired: true,
type: "boolean",
initialValue: true,
},
"factorio.enable_whitelist": {
description: "Turn on whitelist for joining the server.",
type: "boolean",