Is it even possible currently to create a global chat across multiple servers, I'm assuming you would need multiple chat channels (Server No# + 1) where the extra one is the global chat. Or would it be too hard for a plugin to manage?
It's "doable" but you would likely need an external tool running somewhere to handle the traffic of multiple servers.
Would it be viable or completely stupid to : Suppress all chat send all chat text to a mysql table, with each chat using a new index number poll chat from table every 0.x seconds? cause I have no idea how to capture packets with a third party program currently without researching...
Completely stupid imo, as thats a shitton of mysql queries. Shitton of bandwidth, etc etc. Its an interesting proprosal, if you dont mind running an external server/application somewhere to manage all the servers. I might get a plugin out this weekend that will achieve this, using a redis server. I recently worked with a certain someone on a system eerily similar to this for minecraft. How it works: 1) You launch a redis server, which simply is a framework for sending stuff over networks. Feel free to research this. 2) A plugin would intercept chat packets and whatnot, send them to the redis server( #1 ). 3) The redis server( #1) would distribute the message to all listening servers(2#...) .
You could probably use an IRC bridge to relay messages between servers as well, although it's not a very stable way of doing it.
Hmm, will look into this then - My server itself should be able to handle the extra application with 3 terraria servers - currently all linked by one mysql table for SSI coverage between the 3 worlds.