BungeeCord chat question

Discussion in 'BungeeCord Plugin Development' started by devcexx, May 19, 2015.

  1. Well, what I'm trying to do is a BungeeCord plugin. In this plugin, the player will call to a command and then, the server will retrieve information from a database asynchronously an then it will be sent to the player in chat.

    After retrieving that information, I have to send many different chat packets to the client and if I do this asynchronously, the player could recive the whole information with another strange things inside (for example, Bukkit chat or another plugin message). So, my questions are:

    Is thread-safe to send chat packets with BungeeCord?. And:
    Is there anyway to schedule a synchronous task in the BungeeCord's main thread?
  2. jflory7

    jflory7 Retired Moderator
    Retired Benefactor

    Thread moved => BungeeCord Plugin Development