Website-Synced Global Chat

Discussion in 'BungeeCord Plugin Development' started by TheCraftingHero, May 10, 2015.

  1. Hey guys,

    I was wondering if there was a plugin to sync global server chat to my website (Such as a embedded module?)

    Thanks guys!
  2. Hi!

    You need to create a bungee plugin which is listens to chat messages and send the messages to a website. In web side you should use Ajax to send every new messages.
    I think this may help you:
    To send the messages to the web side you can send eg. a HTTP POST request.
    HTTP request example:

    After it works you can create a HTTP server (or a simple TCP server to receive the sent messages from the web).
    You can broadcast the received messages. Check the sender's ip address every time, to avoid the unsolicited messages.
    • Like Like x 1