mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
Allow pluggins to get custom config field
This commit is contained in:
1 parent
0b3550b472
commit
29eccb27ed
1 file changed
+3
@@ -157,6 +157,7 @@ export class ControllerConfig extends classes.Config {
|
||||
get(name: "controller.proxy_stream_timeout"): number;
|
||||
get(name: "controller.default_mod_pack_id"): number | null;
|
||||
get(name: "controller.default_role_id"): number | null;
|
||||
get(name: string): unknown;
|
||||
get(name: string) {
|
||||
return super.get(name);
|
||||
}
|
||||
@@ -262,6 +263,7 @@ export class HostConfig extends classes.Config {
|
||||
get(name: "host.tls_ca"): string | null;
|
||||
get(name: "host.public_address"): string;
|
||||
get(name: "host.max_reconnect_delay"): number;
|
||||
get(name: string): unknown;
|
||||
get(name: string) {
|
||||
return super.get(name);
|
||||
}
|
||||
@@ -450,6 +452,7 @@ export class InstanceConfig extends classes.Config {
|
||||
get(name: "factorio.sync_whitelist"): boolean;
|
||||
get(name: "factorio.sync_banlist"): boolean;
|
||||
get(name: "factorio.max_concurrent_commands"): number;
|
||||
get(name: string): unknown;
|
||||
get(name: string) {
|
||||
return super.get(name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user