I am currently making a plugin for bukkit, and I was wondering if there is a way to make a timer that has an output as a variable. I want to make it a 5 minute timer and have it so that when a player runs a command, I says the time before the timer resets my current code is:

```
package com.agrocupcake.llamaenvoys.commands;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
int time = getServer().getScheduler() 300L;
var timer = time
public class EnvoyMain
implements CommandExecutor {
    public boolean onCommand(CommandSender sender, Command command, String                    label, String[] args) {
    if (label.equalsIgnoreCase("envoy")) {
        if (!(sender instanceof Player)) {
            sender.sendMessage("You must be a Player to preform this command");
            return false;
        }
        Player player = (Player)sender;
        sender.sendMessage((Object)ChatColor.GREEN + "Envoys Will drop in "+ timer + "seconds");
        }
        return false;
    }
}

```