The Sabres are keeping their “unsung hero” in the first move of what could be an eventful week.

Buffalo defenseman Mike Weber, who was set to become a restricted free agent next Friday, agreed to a three-year, $5 million contract Thursday night. He’ll make $1.5 million during the next two seasons and $2 million in 2015-16.

He averaged $950,000 per season during his expiring two-year deal.

“Mike is very happy,” said Weber’s agent, Howard Gourwitz, who began negotiating Monday with Sabres General Manager Darcy Regier and his assistant, Mark Jakubowski. “They have been saying Mike was in the future plans and they count on Mike as one of their top defensemen and they count on Mike for leadership and everything. I said, ‘Then you have to make a commitment. A commitment is real money, long-term contract.’ Finally, they did.”

Gourwitz also represents forward Steve Ott, who has one year remaining on his contract, and the agent “hopes and expects” to begin extension talks next month.

Weber’s teammates voted him as Buffalo’s “Unsung Hero” at their season-ending awards ceremony. The 25-year-old defenseman was a healthy scratch to start the season but became one of the more dependable defenders by the end. He played 42 games, recording one goal, seven points and a plus-3 rating with 70 penalty minutes. His 92 blocked shots ranked 24th in the NHL, and he was second on the Sabres in hits (122).

The 6-foot-2, 211-pounder has spent parts of five seasons in Buffalo.

It could be an interesting weekend for transactions. The festivities started Thursday morning when Tampa Bay announced a compliance buyout on captain Vincent Lecavalier. Sabres General Manager Darcy Regier doesn’t anticipate buying out a player, but Ryan Miller and Thomas Vanek are on the trade market as they enter the final season of their contracts.

Miller texted Thursday night he had “no comment right now” on his mind-set heading toward the weekend.

“I really don’t have any updates from my end,” Vanek’s agent, Steve Bartlett, said in an email. “I am available to meet with Sabres at any time and hope to see them at draft.”

Regier and Buffalo’s scouting staff, featuring Kevin Devine, the director of amateur scouting, are in New York preparing for Sunday’s NHL selection process.

“We’ve got some holes to fill on both sides,” Devine said.

The Sabres have an opportunity to stock their system. They hold 10 picks, tied with Nashville, Winnipeg and Los Angeles for the most. Buffalo is set to select four times in the opening two rounds, including eighth and 16th overall.