Count Down Help

Discussion in 'Spigot Plugin Development' started by dyenxunit, May 24, 2015.

  1. I was wondering how i would add all online and offline players to a count down
    #1 dyenxunit, May 24, 2015
    Last edited: May 24, 2015
  2. Hi dyenxunit,

    Thanks for visiting the forums. Your post is extremely vague and I'm not sure particularly sure what you are trying to achieve.

    Could you please give more details?
  3. What im trying to do is add all online players & offline players too a Count down that will display in chat like 10 9 8 ect. I already have the count down class created.
  4. How can you send a message to an offline player?
  5. i is confuzzled
  6. No i just want it so the offline players when they join still can see the count down
  7. Every time you call the method, just send a message to everyone in Bukkit.getOnlinePlayers();
  8. ok but how do i add everyone that is online to the count down ?
  9. Just do a for loop, and add them.
  10. So add them to an array list ? because how i have it set up is it gets the players name then adds them to the count down
  11. How would we bring up your post if you giving so less information, and we can not help your problem if you don't provide us your code. (Where is the mistake etc)