mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-19 16:15:19 +01:00
Manually configurable minimum protocol version (#14054)
Partially address #13483. Server operators can set a minimum protocol version to match the game requirements (or any other restriction they may want), and it's applied as an additional constraint on top of the baseline compatibility range, optional strict_protocol_version_checking, and any kick-on-join used by the game/mods.
This commit is contained in:
@@ -810,6 +810,14 @@ bind_address (Bind address) string
|
||||
# to new servers, but they may not support all new features that you are expecting.
|
||||
strict_protocol_version_checking (Strict protocol checking) bool false
|
||||
|
||||
# Define the oldest clients allowed to connect.
|
||||
# Older clients are compatible in the sense that they will not crash when connecting
|
||||
# to new servers, but they may not support all new features that you are expecting.
|
||||
# This allows for more fine-grained control than strict_protocol_version_checking.
|
||||
# Minetest still enforces its own internal minimum, and enabling
|
||||
# strict_protocol_version_checking will effectively override this.
|
||||
protocol_version_min (Protocol version minimum) int 1 1 65535
|
||||
|
||||
# Specifies URL from which client fetches media instead of using UDP.
|
||||
# $filename should be accessible from $remote_media$filename via cURL
|
||||
# (obviously, remote_media should end with a slash).
|
||||
|
||||
Reference in New Issue
Block a user