FreeCS is a free chat server. The layout is fully customizable, a permission system is available, and authentication is modular.