mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 15:33:12 +09:00
Make showing the connect address a config option
This commit is contained in:
4 files changed
+19
-7
No files matched your search
@@ -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: [
|
||||
|
||||
Reference in new issue
Block a user