Solved how to get ticks since server opened

Discussion in 'Spigot Plugin Help' started by SHsuperCM, Jun 25, 2016.

  1. how do i get the current ticks after last server boot?
  2. clip


    Just store the current time when your plugin is enabled.
  3. what do you mean by that?
    i mean how?
  4. clip


    Code (Java):
    long time;

    public void onEnable() {
        time = System.currentTimeMillis();
    • Winner Winner x 1
  5. thank you