If this is just on the LAN, why do you need to set it up with a server? could you not use something like https://lanmessenger.github.io/
just install it on all your machines and that's about it.