mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 08:23:12 +09:00
Removed unused settings
This commit is contained in:
1 parent
e4bdf996f7
commit
5db9cad7e5
1 file changed
+1
-22
@@ -11,34 +11,13 @@ MasterConfigGroup.define({
|
|||||||
title: "Autosave Interval",
|
title: "Autosave Interval",
|
||||||
description: "Interval the player data is autosaved at in seconds.",
|
description: "Interval the player data is autosaved at in seconds.",
|
||||||
type: "number",
|
type: "number",
|
||||||
initial_value: 60,
|
initial_value: 600, // 10 minutes
|
||||||
});
|
|
||||||
MasterConfigGroup.define({
|
|
||||||
name: "spectator_until_ready",
|
|
||||||
title: "Spectator mode until ready",
|
|
||||||
description: "Set the player into spectator mode until the inventory is fully synchronized.",
|
|
||||||
type: "boolean",
|
|
||||||
initial_value: true,
|
|
||||||
});
|
|
||||||
MasterConfigGroup.define({
|
|
||||||
name: "clear_old_inventory",
|
|
||||||
title: "Clear old inventory on join",
|
|
||||||
description: "Clear old inventory on join to prevent duplication of items. Can cause greater disruption on failed or slow sync.",
|
|
||||||
type: "boolean",
|
|
||||||
initial_value: true,
|
|
||||||
});
|
});
|
||||||
MasterConfigGroup.finalize();
|
MasterConfigGroup.finalize();
|
||||||
|
|
||||||
class InstanceConfigGroup extends libConfig.PluginConfigGroup { }
|
class InstanceConfigGroup extends libConfig.PluginConfigGroup { }
|
||||||
InstanceConfigGroup.defaultAccess = ["master", "slave", "control"];
|
InstanceConfigGroup.defaultAccess = ["master", "slave", "control"];
|
||||||
InstanceConfigGroup.groupName = "inventory_sync";
|
InstanceConfigGroup.groupName = "inventory_sync";
|
||||||
InstanceConfigGroup.define({
|
|
||||||
name: "enable_inventory_sync",
|
|
||||||
title: "Syncronize inventories",
|
|
||||||
description: "Syncronize inventories. Disable if this instance is running incompatible mods or otherwise shouldn't sync.",
|
|
||||||
type: "boolean",
|
|
||||||
initial_value: true,
|
|
||||||
});
|
|
||||||
InstanceConfigGroup.define({
|
InstanceConfigGroup.define({
|
||||||
name: "rcon_chunk_size",
|
name: "rcon_chunk_size",
|
||||||
title: "Rcon inventory chunk size",
|
title: "Rcon inventory chunk size",
|
||||||
|
|||||||
Reference in new issue
Block a user