views:

369

answers:

3

I'm making a game and I am using Python for the server side. It would be fairly trivial to implement chat myself using Python - that's not my question. I was just wondering if there were any premade chat servers or some kind of service that I would be able to implement inside of my game instead of rolling my own? Maybe like a different process I could run next to my game server process?

+8  A: 

I recommend using XMPP/Jabber. There are a lot of libraries for clients and servers in different languages. It's free/open source.

http://en.wikipedia.org/wiki/XMPP

Lennart
+1 for XMPP, but don't just grab any Python XMPP library. Use ejabberd + palaver [http://code.stanziq.com/stanziq] ... in other words mimic www.chesspark.com
Van Gale
+1  A: 

Maybe you could use IRC as a chat service, I know of irclib for python, its more of a client but in theory you could use it to proxy an other IRC server from the game server.

Its a little hackish, just thought I'd mention it

C-o-r-E
+1  A: 

Honestly, I think it'd be best for you to roll your own and get it tightly integrated with your program. I know there's no sense in reinventing the wheel, but there are several advantages to doing so in your case: integration, learning, security, and simplicity.

Andrew Szeto