From 34c75e77ccb9041c0782e022878a786d36c9b20b Mon Sep 17 00:00:00 2001 From: we sell insurance <72574589+neeleshpoli@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:21:10 -0600 Subject: [PATCH] Add navigation bar (#228) Document new config options for query --- docs/.vitepress/config.mts | 7 +++++++ docs/config/advanced.md | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 0b91f8b3a..157495260 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -12,6 +12,12 @@ export default defineConfig({ search: { provider: "local", }, + nav: [ + { + text: "Documentation", + link: '/about/introduction' + } + ], sidebar: [ { text: "About", @@ -47,6 +53,7 @@ export default defineConfig({ ], }, ], + socialLinks: [ { icon: "github", link: "https://github.com/Snowiiii/Pumpkin" }, diff --git a/docs/config/advanced.md b/docs/config/advanced.md index 3848bc9d0..432219d25 100644 --- a/docs/config/advanced.md +++ b/docs/config/advanced.md @@ -429,3 +429,22 @@ Should the timestamp be printed in the message ```toml timestamp=true ``` + +## Query + +### Enabled + +Should clients be able to query the server for info, using the query protocol? + +```toml +enabled=true +``` + +### Port (optional) + +If enabled, what port should the server listen to for query requests? + +```toml +# By default query will listen on the same port the server is running on +port=25565 +```