Mods use configuration files to know which options are enabled and how their blocks are stored in the world save. Any mismatch here between client and server can result in mods simply not working, mods crashing the server, or placed blocks turning into completely different blocks.