Make showing the connect address a config option

This commit is contained in:
Cooldude2606 committed 2026-07-11 23:04:42 +01:00
1 parent fdfd77df9a
commit eab1a42e07
4 files changed
+19 -7

No files matched your search

+7
View File
@@ -8,6 +8,7 @@ declare module "@clusterio/lib" {
export interface ControllerConfigFields {
"player_auth.code_length": number;
"player_auth.code_timeout": number;
"player_auth.show_connect_address": boolean;
}
}
@@ -31,6 +32,12 @@ export const plugin: lib.PluginDeclaration = {
type: "number",
initialValue: 120,
},
"player_auth.show_connect_address": {
title: "Show Connect Address",
description: "Show server connect addresses to unauthenticated users.",
type: "boolean",
initialValue: false,
},
},
features: [