From fba581d4bd531e6616158cb2231d4c7b69f443a0 Mon Sep 17 00:00:00 2001 From: timvisee Date: Mon, 13 Dec 2021 17:00:43 +0100 Subject: [PATCH] Update default Minecraft version to 1.18.1 --- docs/join-method-lobby.md | 11 +++++++---- docs/protocol-version.md | 4 ++-- res/lazymc.toml | 6 +++--- src/proto/mod.rs | 4 ++-- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/docs/join-method-lobby.md b/docs/join-method-lobby.md index e261d62..e647527 100644 --- a/docs/join-method-lobby.md +++ b/docs/join-method-lobby.md @@ -62,15 +62,18 @@ Then configure the lobby to your likings: # The client will be teleported to the real server once it is ready. # This may keep the client occupied forever if no timeout is set. # Consumes client, not allowing other join methods afterwards. +# See: https://git.io/JMIi4 # !!! WARNING !!! -# This is highly experimental and unstable. +# This is highly experimental, incomplete and unstable. # This may break the game and crash clients. # Don't enable this unless you know what you're doing. # -# - Only works with offline mode -# - Only works with vanilla Minecraft clients, does not work with modded -# - Only tested with Minecraft 1.17.1 +# - Server must be in offline mode +# - Server must use Minecraft version 1.16.3 to 1.17.1 (tested with 1.17.1) +# - Server must use vanilla Minecraft +# - May work with Forge, enable in config, depends on used mods, test before use +# - Does not work with other mods, such as FTB # Maximum time in seconds in the lobby while the server starts. timeout = 600 diff --git a/docs/protocol-version.md b/docs/protocol-version.md index a0631ec..524b88e 100644 --- a/docs/protocol-version.md +++ b/docs/protocol-version.md @@ -21,8 +21,8 @@ In lazymc you may configure what protocol version to use: # Server version & protocol hint. # Sent to clients until actual server version is known. # See: https://git.io/J1Fvx -version = "1.17.1" -protocol = 756 +version = "1.18.1" +protocol = 757 # -- snip -- ``` diff --git a/res/lazymc.toml b/res/lazymc.toml index da25b35..38fe8e2 100644 --- a/res/lazymc.toml +++ b/res/lazymc.toml @@ -18,8 +18,8 @@ # Server version & protocol hint. # Sent to clients until actual server version is known. # See: https://git.io/J1Fvx -#version = "1.17.1" -#protocol = 756 +#version = "1.18.1" +#protocol = 757 [server] # Server address. Internal IP and port of server started by lazymc to proxy to. @@ -183,4 +183,4 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui" [config] # lazymc version this configuration is for. # Don't change unless you know what you're doing. -version = "0.2.6" +version = "0.2.7" diff --git a/src/proto/mod.rs b/src/proto/mod.rs index f712819..e917060 100644 --- a/src/proto/mod.rs +++ b/src/proto/mod.rs @@ -9,7 +9,7 @@ pub mod packets; /// in the configuration. /// /// Should be kept up-to-date with latest supported Minecraft version by lazymc. -pub const PROTO_DEFAULT_VERSION: &str = "1.17.1"; +pub const PROTO_DEFAULT_VERSION: &str = "1.18.1"; /// Default minecraft protocol version. /// @@ -17,7 +17,7 @@ pub const PROTO_DEFAULT_VERSION: &str = "1.17.1"; /// in the configuration. /// /// Should be kept up-to-date with latest supported Minecraft version by lazymc. -pub const PROTO_DEFAULT_PROTOCOL: u32 = 756; +pub const PROTO_DEFAULT_PROTOCOL: u32 = 757; /// Compression threshold to use. // TODO: read this from server.properties instead