From 06c2b746f7a957424d36f457423cf5cb1c226d56 Mon Sep 17 00:00:00 2001 From: AlexProgrammerDE <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Sun, 29 Dec 2024 14:12:49 +0100 Subject: [PATCH] Allow getting current server config --- proto/src/main/proto/soulfire/server.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proto/src/main/proto/soulfire/server.proto b/proto/src/main/proto/soulfire/server.proto index 106e4a89..a5942265 100644 --- a/proto/src/main/proto/soulfire/server.proto +++ b/proto/src/main/proto/soulfire/server.proto @@ -11,6 +11,13 @@ message ServerConfig { repeated SettingsNamespace settings = 1; } +message ServerInfoRequest { +} + +message ServerInfoResponse { + ServerConfig config = 1; +} + message ServerUpdateConfigRequest { ServerConfig config = 1; } @@ -19,5 +26,6 @@ message ServerUpdateConfigResponse { } service ServerService { + rpc getServerInfo(ServerInfoRequest) returns (ServerInfoResponse); rpc updateServerConfig(ServerUpdateConfigRequest) returns (ServerUpdateConfigResponse); }