This commit is contained in:
Dmitry 2024-01-15 13:34:39 +07:00
parent 68f090841a
commit 152efa73b4
3 changed files with 50 additions and 0 deletions

10
config/chunksending.json Normal file
View file

@ -0,0 +1,10 @@
{
"maxChunksPerTick": {
"desc:": "Maximum amount of chunks sent per tick to a player, increases dynamically with size of the backlog",
"maxChunksPerTick": 5
},
"debugLogging": {
"desc:": "Enable debug logging to show the amount of chunks sent/queued",
"debugLogging": false
}
}

30
config/connectivity.json Normal file
View file

@ -0,0 +1,30 @@
{
"disableLoginLimits": {
"desc:": "Should login packet size limits be disabled? Error:(IOException(\"Payload may not be larger than 1048576 bytes\")) default:true",
"disableLoginLimits": true
},
"disablePacketLimits": {
"desc:": "Should play packet size limits be disabled? Error:(Badly compressed packet) default:true",
"disablePacketLimits": true
},
"debugPrintMessages": {
"desc:": "Enable addition debug logging for networking errors. default:false",
"debugPrintMessages": false
},
"logintimeout": {
"desc:": "Set the max login timeout in ticks. 20 ticks = 1 sec, default = 2400 ticks",
"logintimeout": 2400
},
"disconnectTimeout": {
"desc:": "Set the ingame disconnect timeout for disconnecting players. Default = 60sec",
"disconnectTimeout": 60
},
"packetHistoryMinutes": {
"desc:": "Set the amount of minutes for which network packet history data is saved. Default = 5 minutes",
"packetHistoryMinutes": 5
},
"showFullResourceLocationException": {
"desc:": "Enable to see the full log output for all resource location exceptions. Default = false",
"showFullResourceLocationException": false
}
}

View file

@ -0,0 +1,10 @@
[general]
#Merge all dynamic resource packs from all mods that use this library into a single pack
merge_dynamic_packs = true
#Prevents map texture from being upladed to GPU when only map markers have changed.Could increase performance
lazy_map_upload = true
#Renders map textures using mipmap. Vastly improves look from afar as well when inside a Map Atlas from Map Atlases or similar. Set to 0 to have no mipmap like vanilla
#Range: 0 ~ 4
maps_mipmap = 3