Sending serialized data to other servers

Discussion in 'Plugin Development' started by WesJD, Dec 2, 2014.

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

    WesJD

    Ok, so, I'm currently thinking about how to send serialized data to another server. Would it be best to do it with sockets? This is what would happen:

    Game server: I'm open, make it so players can join me!
    Hub: Ok, thanks for the info, letting players join you now!
     
  2. Offline

    mythbusterma

    WesJD

    Yes, it would.
     
    WesJD likes this.
  3. Offline

    jeussa

    I've got a personal API for this, if you want I could send it to you. However I do need to tell you it's still a beta version.
     
  4. Offline

    PreFiXAUT

    WesJD The way I did one thing is using BungeeCord -> There's a Forward Command, which will forward everything to your Plugin on the other Server.

    [Your Plugin] -> Bukkit Plugin-Message ["Forward,<yourPluginName>,<command/data>] -> [BungeeCord on Server 1] -> [BungeeCord on Server 2] -> Bukkit Plugin-Message -> [Your Plugin]

    I used this and it works totaly fine. It's actually also preety simple so
     
  5. Offline

    Skionz

    PreFiXAUT He should probably just use sockets. They aren't that hard to use.
     
  6. PreFiXAUT This isn't the place to recommend unofficial builds :)
     
    mythbusterma likes this.
Thread Status:
Not open for further replies.

Share This Page