YAML:block-network-ids-are-hashes=false # If true, the server will send hashed block network ID's instead of id's that start from 0 and go up. These id's are stable and won't change regardless of other block changes. # --- # 区块网络 ID 是哈希值=false # 如果为true,服务器将发送哈希块网络 ID,而不是从 0 开始向上的 ID。 这些 id 是稳定的,不会随着其他块的变化而改变。 disable-persona=false # --- # 禁用角色=false disable-custom-skins=false # Client avatar personalization options # --- # 禁用自定义皮肤=false # 客户端头像个性化选项 server-build-radius-ratio=Disabled # Allowed values: "Disabled" or any value in range [0.0, 1.0] # If "Disabled" the server will dynamically calculate how much of the player's view it will generate, assigning the rest to the client to build. # Otherwise from the overridden ratio tell the server how much of the player's view to generate, disregarding client hardware capability. # --- # 服务器构建半径比=Disabled # 允许值:“Disabled”或范围 [0.0, 1.0] 中的任何值 # 如果“Disabled”,服务器将动态计算它将生成多少玩家视图,将其余部分分配给客户端构建。 # 否则从重写比率告诉服务器生成多少玩家视图,忽略客户端硬件能力。
YAML:force-gamemode=false server-authoritative-movement=server-auth player-movement-action-direction-threshold=0.85 player-movement-duration-threshold-in-ms=500
YAML:服务器配置文件新增:客户端块生成已启用、启用局域网可见性 enable-lan-visibility=true # Listen and respond to clients that are looking for servers on the LAN. This will cause the server # to bind to the default ports (19132, 19133) even when `server-port` and `server-portv6` # have non-default values. Consider turning this off if LAN discovery is not desirable, or when # running multiple servers on the same host may lead to port conflicts. # Allowed values: "true" or "false" # --- #倾听并响应在LAN上查找服务器的客户端。这将导致服务器绑定到默认端口(19132、19133),即使“服务器端口”和“服务器端口v6”` #具有非默认值。如果不需要LAN发现,或者在同一主机上运行多个服务器可能会导致端口冲突,请考虑关闭此选项。 #允许的值:“true”或“false” client-side-chunk-generation-enabled=true # If true, the server will inform clients that they have the ability to generate visual level chunks outside of player interaction distances. # --- # 客户端块生成已启用=true # 如果为true,服务器将通知客户端他们有能力在玩家交互距离之外生成视觉级别的块。
YAML:服务端配置文件新增:压缩算法 compression-algorithm=zlib # Determines the compression algorithm to use for networking # Allowed values: "zlib", "snappy" #--- # 确定用于网络的压缩算法 # 允许的值:“zlib”、“snappy”