Writing a game chat server in Kotlin

June 2, 2023 Tutorial, Kotlin, Channels, Flows, Websockets

A while ago, I needed a chat server for my game. I only had rudimentary requirements. After a short research, I decided to use XMPP as the protocol and MongooseIM as the backing server. Over time, I came to the conclusion, that this is far from ideal. The rest API isn’t easy to use, and the server configuration is error-prone. I don’t need the whole XMPP protocol. I only need some non-persistent chat rooms so people of the same party can communicate with each other. ...

steam itch.io indiedb.com gamedev.net discord.gg