How to accomplish?

Discussion in 'Plugin Development' started by leet4044, Sep 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    leet4044

    Is there any way to send data between a large number of servers? What I mean is, I'm making about 50 game servers, and they all need to communicate with 1 server. The lobby. Any idea how I can do this? I've checked out various game libraries, and PluginMessaging is not an option because it requires players to be online.
     
  2. Offline

    SmooshCakez

    I assume since you have a lobby and many servers, you have some sort of proxy, you could always send the data to the proxy and have the the lobby retrieve that data.
     
  3. Offline

    Garris0n

    Redis.
     
  4. Offline

    leet4044

    Yes, the proxy is bungee. But bungee doesn't support what I need. I need to send data back and forth between game servers and the lobby. The only way I know how to do this with bungee, is with plugin messaging. Unless I'm mistaken?

    I suppose, I could use something like MySQL and when a game server is available, it will set it's column in the database, to the corresponding data needed to make that game server available. Then the lobby can constantly check for game servers to be available.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
  5. Offline

    Nateb1121

    I mean, this is a horrid solution and most likely won't work but you could make up your own protocol and implement it in Java and just have your code open up 2 sockets. Really, don't do this because I'm cringing as I write this because it sounds rather inefficient and troublesome.
     
Thread Status:
Not open for further replies.

Share This Page