I think all okay eclipse don't show errors. But i find this
{
if (activeChar._voteRestart == false)
{
e.increaseVoteCount("restart");
activeChar._voteRestart = true;
activeChar.sendMessage("You succesfully voted for the server restart. Votes For The Moment: " + e.getVoteCount[color=red]("tvt")[/color] + ".");
Announcements.getInstance().announceToAll("Player: "+activeChar.getName()+" has voted for server restart. If you whant to support him type .vote_restart !");
}
And change to restart then in game voted count +1 but anyway server no restart.