How do you get the in-game time for a plugin?

Discussion in 'Plugin Development' started by Flenix, Apr 25, 2012.

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

    Flenix

    I'm currently trying to make a relatively simple plugin which can tell you the time. I've got everything else done for it, except the actual getting of the time...

    Can anyone point me in the right direction to display time? It'd be in HH:MM format (Assuming 1000 ticks = 1 hour)
     
  2. Offline

    Dreeass

    Bukkit.getWorld().getTime();
    Then split it each 2 chars.
     
Thread Status:
Not open for further replies.

Share This Page