Enable client modding and add heavy optimizations

This commit is contained in:
Alex D. 2021-04-01 16:12:17 +00:00
parent 3b4b2c8199
commit 2c8a462863
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 17 additions and 12 deletions

View File

@ -4,9 +4,9 @@ _svcname=minetest
. ../APKBUILD-config.common . ../APKBUILD-config.common
pkgver=2021.03.29 pkgver=2021.04.01
pkgrel=0 pkgrel=1
source="redxen.conf" source="redxen.conf"
depends="$depends minetest-mineclone2" depends="$depends minetest-mineclone2"
sha512sums="07ab468f6e0650e85680482e2137330c899388971147fea10656107a64d04784372bda4bb1eb385f86224723e486c8d6761810d0cebcdda99184542edb223701 redxen.conf" sha512sums="9194032d8a0fa2895f753a7bdb010030c836ceae70602f6850ad554a7eb54358297707be7ffcff4c09849b3bc3082b438301566c328fb6af22cd4b78992beb90 redxen.conf"

View File

@ -67,7 +67,8 @@ ipv6_server = true
# The maximum total count is calculated dynamically: # The maximum total count is calculated dynamically:
# max_total = ceil((#clients + max_users) * per_client / 4) # max_total = ceil((#clients + max_users) * per_client / 4)
# type: int # type: int
# max_simultaneous_block_sends_per_client = 40 max_simultaneous_block_sends_per_client = 10
max_simultaneous_block_sends_server_total = 50
# To reduce lag, block transfers are slowed down when a player is building something. # To reduce lag, block transfers are slowed down when a player is building something.
# This determines how long they are slowed down after placing or removing a node. # This determines how long they are slowed down after placing or removing a node.
@ -78,7 +79,7 @@ ipv6_server = true
# try reducing it, but don't reduce it to a number below double of targeted # try reducing it, but don't reduce it to a number below double of targeted
# client number. # client number.
# type: int # type: int
# max_packets_per_iteration = 1024 max_packets_per_iteration = 8192
# ZLib compression level to use when sending mapblocks to the client. # ZLib compression level to use when sending mapblocks to the client.
# -1 - Zlib's default compression level # -1 - Zlib's default compression level
@ -211,11 +212,11 @@ kick_msg_crash = This server has experienced an internal error. You will now be
# This is also the minimum range in which active objects (mobs) are maintained. # This is also the minimum range in which active objects (mobs) are maintained.
# This should be configured together with active_object_send_range_blocks. # This should be configured together with active_object_send_range_blocks.
# type: int # type: int
# active_block_range = 4 active_block_range = 2
# From how far blocks are sent to clients, stated in mapblocks (16 nodes). # From how far blocks are sent to clients, stated in mapblocks (16 nodes).
# type: int # type: int
max_block_send_distance = 12 max_block_send_distance = 8
# Maximum number of forceloaded mapblocks. # Maximum number of forceloaded mapblocks.
# type: int # type: int
@ -327,7 +328,7 @@ movement_speed_crouch = 1.35
# Maximum number of statically stored objects in a block. # Maximum number of statically stored objects in a block.
# type: int # type: int
# max_objects_per_block = 64 max_objects_per_block = 4096
# See https://www.sqlite.org/pragma.html#pragma_synchronous # See https://www.sqlite.org/pragma.html#pragma_synchronous
# type: enum values: 0, 1, 2 # type: enum values: 0, 1, 2
@ -344,7 +345,7 @@ movement_speed_crouch = 1.35
# Length of a server tick and the interval at which objects are generally updated over # Length of a server tick and the interval at which objects are generally updated over
# network. # network.
# type: float # type: float
# dedicated_server_step = 0.09 dedicated_server_step = 0.1
# Length of time between active block management cycles # Length of time between active block management cycles
# type: float # type: float
@ -352,12 +353,12 @@ movement_speed_crouch = 1.35
# Length of time between Active Block Modifier (ABM) execution cycles # Length of time between Active Block Modifier (ABM) execution cycles
# type: float # type: float
# abm_interval = 1.0 abm_interval = 0.25
# The time budget allowed for ABMs to execute on each step # The time budget allowed for ABMs to execute on each step
# (as a fraction of the ABM Interval) # (as a fraction of the ABM Interval)
# type: float min: 0.1 max: 0.9 # type: float min: 0.1 max: 0.9
# abm_time_budget = 0.2 abm_time_budget = 0.2
# Length of time between NodeTimer execution cycles # Length of time between NodeTimer execution cycles
# type: float # type: float
@ -391,7 +392,7 @@ movement_speed_crouch = 1.35
# optimization. # optimization.
# Stated in mapblocks (16 nodes). # Stated in mapblocks (16 nodes).
# type: int min: 2 # type: int min: 2
block_send_optimize_distance = 8 block_send_optimize_distance = 4
# If enabled the server will perform map block occlusion culling based on # If enabled the server will perform map block occlusion culling based on
# on the eye position of the player. This can reduce the number of blocks # on the eye position of the player. This can reduce the number of blocks
@ -532,3 +533,7 @@ enable_ipv6 = true
# type: int # type: int
# contentdb_max_concurrent_downloads = 3 # contentdb_max_concurrent_downloads = 3
# Client modding
enable_client_modding = true
csm_restriction_flags = 0
enable_mod_channels = true