public class TicksPerSecondCommand extends Command {
public TicksPerSecondCommand(String name) {
super( name );
this.description = "Gets the current ticks per second for the server";
this.usageMessage = "/tps";
this.setPermission( "bukkit.command.tps" );
}
public boolean execute(CommandSender sender, String currentAlias, String[] args) {
sender.sendMessage(ChatColor.GOLD + "TPS from last 1m, 5m, 15m: " + ChatColor.GREEN + "20, 20, 20");
}
}
