diff options
author | Lars <larsh@apache.org> | 2020-12-09 14:30:37 -0800 |
---|---|---|
committer | lhofhansl <larsh@apache.org> | 2020-12-15 10:15:25 -0800 |
commit | e6380565236d6d963acf75538f1f8fec807190cc (patch) | |
tree | d5af32aff7273e13baafbe03a1dec08482d6abaa /builtin | |
parent | d0a38f694d483fbd9c0554c8d7175a94097fd67e (diff) | |
download | minetest-e6380565236d6d963acf75538f1f8fec807190cc.tar.gz minetest-e6380565236d6d963acf75538f1f8fec807190cc.tar.bz2 minetest-e6380565236d6d963acf75538f1f8fec807190cc.zip |
Allow configuring block disk and net compression. Change default disk level.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index c9f16578c..251b6d868 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1048,6 +1048,13 @@ full_block_send_enable_min_time_from_building (Delay in sending blocks after bui # client number. max_packets_per_iteration (Max. packets per iteration) int 1024 +# ZLib compression level to use when sending mapblocks to the client. +# -1 - Zlib's default compression level +# 0 - no compresson, fastest +# 9 - best compression, slowest +# (levels 1-3 use Zlib's "fast" method, 4-9 use the normal method) +map_compression_level_net (Map Compression Level for Network Transfer) int -1 -1 9 + [*Game] # Default game when creating a new world. @@ -1240,6 +1247,13 @@ max_objects_per_block (Maximum objects per block) int 64 # See https://www.sqlite.org/pragma.html#pragma_synchronous sqlite_synchronous (Synchronous SQLite) enum 2 0,1,2 +# ZLib compression level to use when saving mapblocks to disk. +# -1 - Zlib's default compression level +# 0 - no compresson, fastest +# 9 - best compression, slowest +# (levels 1-3 use Zlib's "fast" method, 4-9 use the normal method) +map_compression_level_disk (Map Compression Level for Disk Storage) int 3 -1 9 + # Length of a server tick and the interval at which objects are generally updated over # network. dedicated_server_step (Dedicated server step) float 0.09 |