Solved Increase variable every minute

Discussion in 'Spigot Plugin Development' started by Puyodead1, Aug 18, 2018.

Thread Status:
Not open for further replies.
  1. I am making a minigame and i need to change a value in the config (stat) every minute that player is in the game, how do i do the timer?
     
  2. Try using BukkitRunnable.
     
    • Like Like x 1
  3. I know, i just don't know how
     
  4. Try a YouTube tutorial about this or read the java documentation.
     
    • Like Like x 1
  5. could i do this: When a player joins the game, it starts a timer that increases the stat by 1 after a minute, then it checks if player is still in game and starts timer again if they are
     
  6. Okay, thanks
     
    • Like Like x 1
Thread Status:
Not open for further replies.