Solved Forcing a player to chat?

Discussion in 'Spigot Plugin Development' started by IPyromaniac, Jun 8, 2017.

  1. Hello, I know this is a basic concept I have it working using Player#chat but for some reason when it happens I get this and the other guy gets this what could possibly be causing the issue?
     
  2. What are you using to try to make this happen?
     
  3. Why do you need it to come from the Player object? Bukkit.broadcastMessage("[Owner] varrix: Welcome to the server!");

    Also if you could post your code on gist/hastebin/pastebin that'd help us.
     
    • Agree Agree x 1
  4. Send in delayed task, after a few ticks
     
    • Winner Winner x 1
  5. This is because the other player is not fully logged in yet. Delay the message with a ticket (if it's in the onJoint event).
     
    • Winner Winner x 1
  6. Thank you everyone for your responses the delay worked, my apologies about the nooby question >.<