Update default Minecraft version to 1.18.1

This commit is contained in:
timvisee 2021-12-13 17:00:43 +01:00
parent d7b601d6e3
commit fba581d4bd
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
4 changed files with 14 additions and 11 deletions

View File

@ -62,15 +62,18 @@ Then configure the lobby to your likings:
# The client will be teleported to the real server once it is ready. # 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. # This may keep the client occupied forever if no timeout is set.
# Consumes client, not allowing other join methods afterwards. # Consumes client, not allowing other join methods afterwards.
# See: https://git.io/JMIi4
# !!! WARNING !!! # !!! WARNING !!!
# This is highly experimental and unstable. # This is highly experimental, incomplete and unstable.
# This may break the game and crash clients. # This may break the game and crash clients.
# Don't enable this unless you know what you're doing. # Don't enable this unless you know what you're doing.
# #
# - Only works with offline mode # - Server must be in offline mode
# - Only works with vanilla Minecraft clients, does not work with modded # - Server must use Minecraft version 1.16.3 to 1.17.1 (tested with 1.17.1)
# - Only tested with Minecraft 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. # Maximum time in seconds in the lobby while the server starts.
timeout = 600 timeout = 600

View File

@ -21,8 +21,8 @@ In lazymc you may configure what protocol version to use:
# Server version & protocol hint. # Server version & protocol hint.
# Sent to clients until actual server version is known. # Sent to clients until actual server version is known.
# See: https://git.io/J1Fvx # See: https://git.io/J1Fvx
version = "1.17.1" version = "1.18.1"
protocol = 756 protocol = 757
# -- snip -- # -- snip --
``` ```

View File

@ -18,8 +18,8 @@
# Server version & protocol hint. # Server version & protocol hint.
# Sent to clients until actual server version is known. # Sent to clients until actual server version is known.
# See: https://git.io/J1Fvx # See: https://git.io/J1Fvx
#version = "1.17.1" #version = "1.18.1"
#protocol = 756 #protocol = 757
[server] [server]
# Server address. Internal IP and port of server started by lazymc to proxy to. # 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] [config]
# lazymc version this configuration is for. # lazymc version this configuration is for.
# Don't change unless you know what you're doing. # Don't change unless you know what you're doing.
version = "0.2.6" version = "0.2.7"

View File

@ -9,7 +9,7 @@ pub mod packets;
/// in the configuration. /// in the configuration.
/// ///
/// Should be kept up-to-date with latest supported Minecraft version by lazymc. /// 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. /// Default minecraft protocol version.
/// ///
@ -17,7 +17,7 @@ pub const PROTO_DEFAULT_VERSION: &str = "1.17.1";
/// in the configuration. /// in the configuration.
/// ///
/// Should be kept up-to-date with latest supported Minecraft version by lazymc. /// 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. /// Compression threshold to use.
// TODO: read this from server.properties instead // TODO: read this from server.properties instead